Project

General

Profile

Bring Audacious to front when adding new files

Added by Andreas Conrad about 8 years ago

Hello,

I would like the Audacious window come to front everytime I add new files. I was told that this would be possible using the -m command line option. Usually one adds files by double-clicking on the corresponding MP3/FLAC/OGG/whatever-file in your operating systems file manager, right? Ok, then how exactly do I tell Audacious to come to front in such a case? Right now it stays in the back/in the taskbar/in the tray.

I'm using Linux Mint 17.3 Cinnamon w/ Audacious 3.4.4 (Ubuntu package).

Thank you
Andreas


Replies (4)

RE: Bring Audacious to front when adding new files - Added by John Lindgren about 8 years ago

Copy /usr/share/applications/audacious.desktop to $HOME/.local/share/applications, then open up the new file in a text editor. Replace Exec=audacious %U with Exec=audacious -m %U. You might need to log out and back in for the change to take effect.

RE: Bring Audacious to front when adding new files - Added by Andreas Conrad about 8 years ago

Thank you. But Audacious still stays in tray when I previously closed it in minimized mode (I use the Status Icon plugin). Once Audacious runs the -m options becomes effective.

RE: Bring Audacious to front when adding new files - Added by John Lindgren about 8 years ago

Yes, unfortunately that is a bug (#617) that was fixed only very recently. I should have mentioned that, but it slipped my mind. Up to and including version 3.7.1, there needs to be a running instance of Audacious already for the "-m" option to work. In Audacious 3.7.2 (not yet released), "-m" will work correctly the first time the program is run.

RE: Bring Audacious to front when adding new files - Added by Andreas Conrad about 8 years ago

OK. Thank you for this informative post.

    (1-4/4)