Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Change desktop icon

  1. #1

    Default Change desktop icon

    I put a script on my desktop.

    How can I use my own icon for it ?
    Thanks, Andy

    openSUSE 13.1 KDE (x86_64)
    Puppy Slacko 5.6.0
    Occasionally Windows XP

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,199
    Blog Entries
    15

    Default Re: Change desktop icon

    On Sat 31 May 2014 02:06:01 AM CDT, andy77586 wrote:


    I put a script on my desktop.

    How can I use my own icon for it ?


    Hi
    Right click on the script and select properties, you should then be
    able to click on the icon in the properties box and browse to the icon
    of your choice.

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-11-desktop
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  3. #3

    Default Re: Change desktop icon

    There is no properties box, just General, Permissions, Info, and Preview.
    Thanks, Andy

    openSUSE 13.1 KDE (x86_64)
    Puppy Slacko 5.6.0
    Occasionally Windows XP

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,199
    Blog Entries
    15

    Default Re: Change desktop icon

    Quote Originally Posted by andy77586 View Post
    There is no properties box, just General, Permissions, Info, and Preview.
    Hi
    So on the general tab do you see the icon? Is so click on that. Alas I only use GNOME, but would have thought it's the same setup in KDE....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Nov 2013
    Location
    Canadiana
    Posts
    461

    Default Re: Change desktop icon

    Quote Originally Posted by andy77586 View Post
    There is no properties box, just General, Permissions, Info, and Preview.
    Does the file have a name.desktop extension? It seems you need that to change the icon. And the .desktop file should point to your actual script.


    I dont know if there is a cleaner way to do this though :/
    openSUSE Leap (42.1) 64 bit
    Plasma 5.4

  6. #6

    Default Re: Change desktop icon

    The desktop icon is reboot.sh.

    Should I rename it to just reboot ?
    Thanks, Andy

    openSUSE 13.1 KDE (x86_64)
    Puppy Slacko 5.6.0
    Occasionally Windows XP

  7. #7

    Default Re: Change desktop icon

    I renamed it to reboot.desktop and could change the icon.

    But now the script won't run.

    Some progress.
    Thanks, Andy

    openSUSE 13.1 KDE (x86_64)
    Puppy Slacko 5.6.0
    Occasionally Windows XP

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,199
    Blog Entries
    15

    Default Re: Change desktop icon

    Quote Originally Posted by andy77586 View Post
    I renamed it to reboot.desktop and could change the icon.

    But now the script won't run.

    Some progress.
    Hi
    Move the script to your ~/bin (~/ is /home/your user) and then create a desktop shortcut to the script, the change the desktop shortcut icon.

    A somename.desktop file is not a script, but it links to it via the exec= entry;
    http://standards.freedesktop.org/men...-spec-1.0.html
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9
    Join Date
    Nov 2013
    Location
    Canadiana
    Posts
    461

    Default Re: Change desktop icon

    Quote Originally Posted by andy77586 View Post
    I renamed it to reboot.desktop and could change the icon.

    But now the script won't run.

    Some progress.

    Well .desktop files just point (link) to the actual program that needs to be run so if you open other .desktop files you should get an idea of what they are like.
    openSUSE Leap (42.1) 64 bit
    Plasma 5.4

  10. #10
    Ian Gay NNTP User

    Default Re: Change desktop icon

    andy77586 wrote:

    >
    > There is no properties box, just General, Permissions, Info, and
    > Preview.
    >
    >


    Right click the icon on the desktop. A context menu appears, which
    should have Properties at the bottom. Click this. A multi-tab dialog
    should appear. Select the General tab.

    If the desktop icon links to an executable program, you will see the
    icon embedded in a button; click this, and browse to a new icon of your
    choice.

    If, on the other hand, the desktop icon links to a document, you will
    see the current icon, but it is not in a clickable buttton. In this
    case, there is a button a bit lower down labelled File Type Options.
    Click this. You get a new dialog where the icon is now in a clickable
    button. Click this and choose a new icon.

    The new icon may not show on desktop until KDE is restarted.
    --
    *********** To reply by e-mail, make w single in address **************

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •