[SOLVED] Minimize Exaile to tray during Autostart

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

[SOLVED] Minimize Exaile to tray during Autostart

Post by Dennola4 »

Hi,

I have exaile set to autostart, but it opens full-screen. I would rather it opened and ran minimized -- in the tray. Possible? In Exaile, under Edit > Preferences > Appearances there is a tick-box for "minimize to tray", but I think this just controls the behavior of the main window upon closing. I would like it if there were such a command as: [exaile --tray] or some such, but there isn't.

Any tricky workarounds?

This would also be great for TeamViewer, which I also autostart, but since it uses Wine I'm afraid to even mess with it.

:?: :?:
Last edited by Dennola4 on 4. Nov 2011, 06:37, edited 1 time in total.
There are no stupid questions.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Minimize Exaile to tray during Autostart

Post by Shador »

With the openbox wm you can define rules for certain windows. I have seen some tools which are de independent and at least provide some of the functionality.
Image
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: Minimize Exaile to tray during Autostart

Post by gapan »

kdocker should probably help you.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Minimize Exaile to tray during Autostart

Post by thenktor »

Dennola4 wrote:I would like it if there were such a command as: [exaile --tray] or some such, but there isn't.
So do a feature request at http://exaile.org/ ;)
Like Shador has mentioned I'm using OpenBox for such stuff: my music players are automatically opened on another desktop, no need to open them minimized then.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: Minimize Exaile to tray during Autostart

Post by Dennola4 »

Openbox, kdocker. Got it. Will investigate and report back when solved. Thanks as always.
There are no stupid questions.
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: Minimize Exaile to tray during Autostart

Post by Dennola4 »

Ok,

so I tried kdocker first. I found that when I applied it to Exaile, it created a double icon. Then when I tried it with various other programs, I could not set the icon -- there was just a blank space in the dock. I seem to have the worst luck with anything in the repo beginning with the letter "k" (as in kde).

Checking out Openbox now. This link is helpful: http://openbox.org/wiki/Help:XFCE/Openbox though I don't quite understand what I'm doing. It seems like I am using OB as my wm but in conjunction with other programs, such as xfce-panel. Is this correct? If so, how do I change the font size (for instance)? Suddenly fonts are small.

EDIT: Nevermind the font question. Just realized that I only downloaded openbox but not obconf.

EDIT: Gonna mark this SOLVED since I technically got it to work, but it really isn't an ideal solution for me.

As I said earlier, kdocker seemed like a simple solution and I was sad when it didn't function properly. I downloaded Openbox and Obconf and ran the command:

Code: Select all

killall xfwm4 ; openbox & exit
so that xfce would use Openbox for window management but still deploy its other functions such as tray, desktop icons, wallpaper, etc. Two turn-offs were that -- in addition to a less attractive window theme (presumably the exchange for its light weight, snappy functionality and flexible configurability) -- (1) the mouse-wheel wouldn't scroll properly from one desktop to the next but instead skipped around qite a bit, and (2) 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.

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.

Lotta work. Easier to just launch exaile manually for now. Still, if I'm missing something and you have suggestions please let me know.

By the way, Exaile + Icecast + Streamripper = :-)

-Dennis
There are no stupid questions.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: [SOLVED] Minimize Exaile to tray during Autostart

Post by thenktor »

What about exaile --start-minimized? :roll:
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: [SOLVED] Minimize Exaile to tray during Autostart

Post by Dennola4 »

Are you kidding me??????

HAHHAHAHAHA!!!!

Yes, Thenktor, THAT is what I was asking for. Thanks!

:oops: :D :oops: :D :oops: :D :oops:
There are no stupid questions.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: [SOLVED] Minimize Exaile to tray during Autostart

Post by thenktor »

My impression was that you already have checked the available options...
[exaile --tray] or some such, but there isn't.
But apparently you didn't do it the right way :mrgreen:
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: [SOLVED] Minimize Exaile to tray during Autostart

Post by Dennola4 »

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?
There are no stupid questions.
Post Reply