Author Topic: Changing desktop luncher icons (Resolved)  (Read 4827 times)

0 Members and 1 Guest are viewing this topic.

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 890
  • Karma: 12
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Changing desktop luncher icons (Resolved)
« on: January 14, 2018, 03:08:30 pm »
Changing desktop luncher icons - mint 18.2 64 bit Cinnamon.

I have created 3 launchers for  word, excel and ppt that work fine but would like to change the icon as they are all the same.

In mint 17.3 mate I was able to do this by including the jpeg images in the icons file and then just selecting the new icon but this option seems to be missing from 18.2.............?

Any thoughts.
« Last Edit: January 17, 2018, 10:19:24 pm by Tramlink »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17448
  • Karma: 445
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Changing desktop luncher icons
« Reply #1 on: January 14, 2018, 08:35:41 pm »
where are these launchers ?

If they're actually on the dedktop can you run:
Code: [Select]
ls ~/Desktop
and post the output, so I can get the full path to the launchers
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 890
  • Karma: 12
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Re: Changing desktop luncher icons
« Reply #2 on: January 14, 2018, 08:48:50 pm »
userone@Office ~ $ ls ~/Desktop
EXCEL.EXE.desktop  POWERPNT.EXE.desktop  WINWORD.EXE.desktop
userone@Office ~ $

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17448
  • Karma: 445
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Changing desktop luncher icons
« Reply #3 on: January 14, 2018, 09:18:09 pm »
Okay we'll do one of them .. can you post the contents of
Code: [Select]
xed ~/Desktop/WINWORD.EXE.desktop
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 890
  • Karma: 12
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Re: Changing desktop luncher icons
« Reply #4 on: January 15, 2018, 11:59:19 am »
[Desktop Entry]
Comment=
Terminal=false
Name=WINWORD.EXE
Exec=/home/userone/.wine/drive_c/Program\\ Files/Microsoft\\ Office/Office12/WINWORD.EXE
Type=Application

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17448
  • Karma: 445
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Changing desktop luncher icons
« Reply #5 on: January 15, 2018, 01:27:53 pm »
Okay change that to read:
Code: [Select]
[Desktop Entry]
Comment=
Terminal=false
Name=WINWORD.EXE
Icon=/full/path/to/icon.png
Exec=/home/userone/.wine/drive_c/Program\\ Files/Microsoft\\ Office/Office12/WINWORD.EXE
Type=Application
or even better:-
Code: [Select]
[Desktop Entry]
Type=Application
Name=Microsoft Word
Comment=Create and edit text and graphics in letters, reports, and documents in Microsoft Word.
Icon=/full/path/to/icon.png
Exec=/home/userone/.wine/drive_c/Program\\ Files/Microsoft\\ Office/Office12/WINWORD.EXE
Terminal=false
for the icon, the important addition is the "Icon=" line that points to where the image you want to use as the icon is located.

Note, the icon image doesn't have to be a PNG, it can be any image such as a BMP/JPG/XPM/SVG/etc. .. I only used .png as an example, but it would probably be best if it were an SVG because they scale better when resized for menus/window titlebars/etc.
« Last Edit: January 15, 2018, 01:35:16 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 890
  • Karma: 12
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Re: Changing desktop luncher icons
« Reply #6 on: January 17, 2018, 10:19:01 pm »
This work fine and I also did the other two launchers by changing the "xed ~/Desktop/WINWORD.EXE.desktop" line for each one.

Thanks for the help...

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17448
  • Karma: 445
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Changing desktop luncher icons (Resolved)
« Reply #7 on: January 17, 2018, 10:36:05 pm »
You're welcome Tramlink :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal