You are not logged in.
Hello Arch-People.
I am having an irritating problem getting xbmc behave as i want it in my openbox eviroment.
In my setup (autostart.sh & rc.xml), I have 4 desktops:
#1 for emesene+convo-windows,
#2 for firefox,
#3 for the terminal
And then the fourth (#4) in which i want XBMC to start.
I have got it to be windowed and maximized (thus making my CTRL+Arrowkey switching between desks work)
What does not work for me though is having it autostart and come up on desktop 4,
- It always starts up on #1 for some reason, making a mess of my emesene-space
Here is some parts of rc.xml i think are most relevant, otherwise i'll just post the whole "shebang";
<desktops>
<!-- this stuff is only used at startup, pagers allow you to change them
during a session
these are default values to use when other ones are not already set
by other applications, or saved in your session
use obconf if you want to change these without having to log out
and back in -->
<number>4</number>
<firstdesk>1</firstdesk>
<names>
<!-- set names up here if you want to, like this:
<name>-MSN-</name>
<name>-NET-</name>
<name>-SYS-</name>
<name>-APP-</name>
-->
</names>
<popupTime>300</popupTime>
<!-- The number of milliseconds to show the popup for when switching
desktops. Set this to 0 to disable the popup. -->
</desktops>
-->
<!-- xbmc -->
<application name="xbmc">
<focus>no</focus>
<desktop>4</desktop>
<decor>no</decor>
<maximized>no</maximized>
</application>
<!-- konsole -->
<application name="konsole">
<focus>no</focus>
<desktop>3</desktop>
<decor>no</decor>
<maximized>yes</maximized>
</application>
<!-- firefox -->
<application name="firefox">
<focus>yes</focus>
<desktop>2</desktop>
<decor>no</decor>
<maximized>yes</maximized>
</application>
<!-- emesene -->
<application name="emesene">
<focus>no</focus>
<desktop>1</desktop>
<decor>yes</decor>
<maximized>no</maximized>
</application>
</applications>
</openbox_config>
I cannot figure out what to do, since for what i can tell i have set xbmc-startup here the same
way as everything else that actually comes up where i want it.
If anyone has any suggestions or input that would be greatly appreciated
Thanks on beforehand (Note: that does not rid you of a possible thanks afterwards aswell )
*clueless lizard scratches his head*
Last edited by PReP (2011-02-24 16:10:07)
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
xprop returns:
WM_CLASS(STRING) = "xbmc.bin", "xbmc.bin"
Hence:
<application name="xbmc.bin">
<focus>no</focus>
<desktop>4</desktop>
<decor>no</decor>
<maximized>no</maximized>
</application>
PS: from /etc/xdg/openbox/rc.xml:
<application name="first element of window's WM_CLASS property (see xprop)"
class="second element of window's WM_CLASS property (see xprop)"
role="the window's WM_WINDOW_ROLE property (see xprop)">
type="the window's _NET_WM_WINDOW_TYPE (if unspecified, then it is dialog for child windows)">
Last edited by DonVla (2010-06-14 06:20:29)
Offline
Thank you DonVla!
I did not "catch" xbmc, or properly mentioned it's executable then (due to the .bin part)?
And this also gives me something to read up on (xprop).
*lizard goes happily away to remedy his problem and learn more*
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
Thank you DonVla!
I did not "catch" xbmc, or properly mentioned it's executable then (due to the .bin part)?
And this also gives me something to read up on (xprop).
You don't need the name of the executable, but the "window name". Openbox looks for opened windows and pins them to the wanted desktop.
That's why the xprop (X properties) output is needed.
PS: "I am the lizard king, I can do anything!" http://www.youtube.com/watch?v=R6EnwYKNAiA
Last edited by DonVla (2010-06-14 09:54:02)
Offline
Haha
That was a fun coincidence with the doors there .
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
BTW, I totally forgot. There is obapps: http://aur.archlinux.org/packages.php?ID=37166
It even sets the class/name/etc automatically for your application settings.
Offline
Grand. thanks for the link, will check that script out
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
I just figured that i would put an (solved) on this thread in the usual fashion - but perhaps users cannot do so?
It was fixed by getting the correct WM_CLASS/PROGRAM by using xprop, thanks to DonVla.
---
A nice feature though, would be if it is possible to "hack in" for fluxbb would be a "solved" checkbox for the thread-starter,
that adds (solved) to the title smoothly.
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
You just edit the first post and that lets you change the subject
Last edited by jdarnold (2011-02-24 14:13:17)
Offline
Ah, thanks a bunch
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline