Page 2 of 2

Re: [SOLVED] Minimize Exaile to tray during Autostart

Posted: 4. Nov 2011, 17:46
by gapan

Code: Select all

exaile --help
;)

Re: [SOLVED] Minimize Exaile to tray during Autostart

Posted: 4. Nov 2011, 18:25
by Dennola4
Gotcha. Ok, well problem solved. Thanks guys.

:lol:

Re: [SOLVED] Minimize Exaile to tray during Autostart

Posted: 6. Nov 2011, 01:08
by Atip
Dennola4 wrote:You're right.

I tried [man exaile] but it doesn't exist. Then I Googled for Exaile commands, then tried "Exaile command-line", "Exaile minimize command", etc.... but nothing came up. So..... how did you know to type this command? Where did you find it?

exaile --help :D :D :D

Re: [SOLVED] Minimize Exaile to tray during Autostart

Posted: 6. Nov 2011, 12:14
by Shador
Dennola4 wrote:- in addition to a less attractive window theme
You can change the appearance e.g. with lxappearance.
Dennola4 wrote:the mouse-wheel wouldn't scroll properly from one desktop to the next but instead skipped around qite a bit
Maybe some conflict between xfce and ob? No idea, cause it works fine here with pure ob.
Dennola4 wrote:the transition from desktop to desktop when moving a window beyond the screen edge was pretty poor. I've gotten used to the smooth, seamless behavior of Xfce4.
Yes, that's definitely improvable. I just tweaked those settings in obconf, because it was bugging me too (resitance: 30px, delay: 300ms).
Dennola4 wrote:Another issue was autostart....which was my reason for needing this. The autostart file is in /etc/xdg/openbox.....so I copied it to ~/.config/openbox (and made it executable) as suggested in a how-to. I entered [exaile &] as the start-up command. When I restarted it didn't open; only the Xfce autostart file executed. So I logged out and logged back in choosing "Openbox" for the session. THEN it read the autostart.sh file....but now it lacked all of the things provided by Xfce, such as tray, wallpaper, desktop icons, etc. So before figuring out the command that would make exaile start in the tray or on a separate desktop, I would first have to figure out how to get Openbox to read its own autostart.sh file while being used as wm during an xfce session.
If you're running openbox from within an xfce session you don't need to care about the openbox autostart file. Autostarting is always handled by the session manager which is xfce opposed to the window manager openbox. So you would use the xfce way of adding an autostart application.
Usually you also wouldn't copy the global autostart file to your homdirectory, instead you could just put this line at the beginning of your local autostart to invoke the global one:

Code: Select all

. $GLOBALAUTOSTART

Anyway, I see you've found your solution. Still maybe this is useful to somebody else.

Re: [SOLVED] Minimize Exaile to tray during Autostart

Posted: 6. Nov 2011, 15:16
by Dennola4
If you're running openbox from within an xfce session you don't need to care about the openbox autostart file. Autostarting is always handled by the session manager which is xfce opposed to the window manager openbox. So you would use the xfce way of adding an autostart application.
Usually you also wouldn't copy the global autostart file to your homdirectory, instead you could just put this line at the beginning of your local autostart to invoke the global one:
I see. I wondered about this, since obviously the window management had changed but all of my xfce autostart programs were still starting-up on reboot. Obviously I discovered that Exaile has a command allowing the user to start the program in minimized mode, but what if I were trying to start (let's say) TeamViewer in minimized mode and it doesn't come with such a command? If the reason that I installed OpenBox is that it is more configurable, then does this mean I could issue a new, more flexible command within the file /home/dennis/.config/autostart/TeamViewer and have it run as though it were opened with OpenBox and being read from the autostart.sh file?

Do you understand what I'm asking? :oops:

Re: [SOLVED] Minimize Exaile to tray during Autostart

Posted: 6. Nov 2011, 22:32
by Shador
You can specify per application rules in the .config/openbox/rc.xml file like this e.g.:

Code: Select all

    <application name="ario" type="normal">
      <desktop>4</desktop>
      <layer>above</layer>
      <position>
        <x>center</x>
        <y>center</y>
        <monitor>1</monitor>
      </position>
      <iconic>no</iconic>
      <maximized>true</maximized>
    </application>