INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Add Icon to Launcher  (Read 3398 times)

imugli

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1598
Add Icon to Launcher
« 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...

Wander_Homer

  • Recent member
  • *
  • Posts: 13
Re: Add Icon to Launcher
« Reply #1 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.
Logged

imugli

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1598
Re: Add Icon to Launcher
« Reply #2 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.

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Add Icon to Launcher
« Reply #3 on: October 05, 2013, 06:23:23 pm »

Thanks for the help.
Logged

imugli

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1598
Re: Add Icon to Launcher
« Reply #4 on: October 05, 2013, 09:03:01 pm »

It's always fun to learn new stuff  ;)

faceless

  • Recent member
  • *
  • Posts: 11
Re: Add Icon to Launcher
« Reply #5 on: October 07, 2013, 02:09:56 pm »

Thanks for the files. Now I have a proper media center launcher ;)
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Add Icon to Launcher
« Reply #6 on: October 24, 2013, 04:00:43 pm »

Moved stuff around a bit and it's incorporated into the next build, thanks!
Logged

imugli

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1598
Re: Add Icon to Launcher
« Reply #7 on: October 25, 2013, 05:33:33 pm »

Glad I could be of help :-)
Pages: [1]   Go Up