INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: imugli on October 05, 2013, 12:27:22 am

Title: Add Icon to Launcher
Post by: imugli on October 05, 2013, 12:27:22 am
So I decided I couldn't do without an icon in my launcher so I made my own and decided to share it.

Extract the zip file to your /usr/bin/ folder.

From a terminal, run

Code: [Select]
sudo chmod +x /usr/bin/mediacenter.desktop
Click and drag the icon to your launcher.

From terminal, type

Code: [Select]
sudo updatedb
It still doesn't show up in ALT + Tab, but you get that...
Title: Re: Add Icon to Launcher
Post by: Wander_Homer on October 05, 2013, 06:58:27 am
The appropriate place for desktop-files is /usr/share/applications for applications that are systemwide installed and ~/.local/share/applications for user-specific applications.

And since this file doesn't need to be executed you don't need to change its mode bits.

Edit: The reason why mediacenter isn't showing up in the task switcher (Alt+Tab) or panel is probably due to some compatibility issues with Unity/Compiz. Other window managers seem to recognize MC's window.
Title: Re: Add Icon to Launcher
Post by: imugli on October 05, 2013, 07:27:33 am
The appropriate place for desktop-files is /usr/share/applications for applications that are systemwide installed and ~/.local/share/applications for user-specific applications.

And since this file doesn't need to be executed you don't need to change its mode bits.

Edit: The reason why mediacenter isn't showing up in the task switcher (Alt+Tab) or panel is probably due to some compatibility issues with Unity/Compiz. Other window managers seem to recognize MC's window.


Yep. I've updated the locations on my system and am putting together a new script.
RE the window manager, I'm looking into it.
Am new to Linux in terms of file locations etc. Can use it day to day, but haven't gone under the hood too much as yet.
Title: Re: Add Icon to Launcher
Post by: JimH on October 05, 2013, 06:23:23 pm
Thanks for the help.
Title: Re: Add Icon to Launcher
Post by: imugli on October 05, 2013, 09:03:01 pm
It's always fun to learn new stuff  ;)
Title: Re: Add Icon to Launcher
Post by: faceless on October 07, 2013, 02:09:56 pm
Thanks for the files. Now I have a proper media center launcher ;)
Title: Re: Add Icon to Launcher
Post by: bob on October 24, 2013, 04:00:43 pm
Moved stuff around a bit and it's incorporated into the next build, thanks!
Title: Re: Add Icon to Launcher
Post by: imugli on October 25, 2013, 05:33:33 pm
Glad I could be of help :-)