How Do I change default Web Icon? Update - 29/7/09.

Discussion in 'Linux' started by Ranger5, Mar 12, 2009.

  1. Ranger5

    Ranger5

    Joined:
    Feb 18, 2009
    Messages:
    37
    Likes Received:
    0
    Hello,

    Is it possible to change the default Web icon to the Firefox icon?

    If so, how do I go about it?

    Many thanks.

    Added 13/03/09: Should have said that I'm using the simple four screen Linpus desktop.
     
    Ranger5, Mar 12, 2009
    #1
  2. Ranger5

    wetsummer

    Joined:
    Aug 19, 2008
    Messages:
    7
    Likes Received:
    0
    wetsummer, Mar 16, 2009
    #2
  3. Ranger5

    Darryl

    Joined:
    Sep 1, 2008
    Messages:
    308
    Likes Received:
    0
    Re: How Do I change default Web Icon?

    Hi,
    Paste this into a terminal.
    Code:
    sudo sed '/Icon/ s/acs_//' -i /usr/share/applications/linpus-web.desktop
    :)
     
    Darryl, Mar 16, 2009
    #3
  4. Ranger5

    Ranger5

    Joined:
    Feb 18, 2009
    Messages:
    37
    Likes Received:
    0
    Re: How Do I change default Web Icon?

    Thanks for the replies guys :)

    I'm sorry for not responding sooner, but I've had a really bad flu and haven't been doing much of anything.

    I suppose I should ask how to put the default icon back if, for some reason, I don't like the Firefox one when I change it?

    Many thanks for your replies. :D
     
    Ranger5, Mar 28, 2009
    #4
  5. Ranger5

    Darryl

    Joined:
    Sep 1, 2008
    Messages:
    308
    Likes Received:
    0
    Re: How Do I change default Web Icon?

    You'll need to find the name of the desktop file that the program is using by looking at the group-app.xml file
    Code:
    sudo mousepad /home/user/.config/xfce4/desktop/group-app.xml
    In my case its linpus-web.desktop (under group 5 sequence 4) So I open the file by entering
    sudo mousepad /usr/share/applications/linpus-web.desktop
    In there is a line saying
    Icon=firefox.png
    change this line to the old icons name (mail.png), which you'll find in /usr/share/pixmaps.
    check out the above folder using thunar
    "sudo thunar" in a terminal. You can change all your icons by altering the desktop file and putting the right sized icons in the pixmaps file.
    In case you dont like the firefox logo.......!? :eek:
     
    Darryl, Apr 5, 2009
    #5
  6. Ranger5

    Ranger5

    Joined:
    Feb 18, 2009
    Messages:
    37
    Likes Received:
    0
    Re: How Do I change default Web Icon?


    I've only just noticed that the word underneath the Firefox icon still says Browser. How do I
    change it to say Firefox or Firefox Browser?

    Many thanks.

    Ps: Firefox icon looks great by the way!
     
    Ranger5, Jul 29, 2009
    #6
  7. Ranger5

    Darryl

    Joined:
    Sep 1, 2008
    Messages:
    308
    Likes Received:
    0
    Open the desktop file...
    Code:
     sudo mousepad /usr/share/applications/linpus-web.desktop
    and scroll down to the FIRST line that starts GenericName=
    and add what you like after the =
    e.g
    GenericName=Firefox
    Then reboot :)
     
    Darryl, Jul 29, 2009
    #7
  8. Ranger5

    Ranger5

    Joined:
    Feb 18, 2009
    Messages:
    37
    Likes Received:
    0
    Hi,

    I typed this into the terminal, is this right, and it opened a small window. A red strip across the top said I was accessing the root and that I may harm my system. The fourth line down said Name= but here was nothing about GenericName=

    Was I in the right place/

    Thanks.
     
    Ranger5, Jul 30, 2009
    #8
  9. Ranger5

    Darryl

    Joined:
    Sep 1, 2008
    Messages:
    308
    Likes Received:
    0
    Yes you were inn the right place, to clarify, about 11 "names" down there starts another list of "GenericName"s. Its the first one of these (with no language abbreviation next to it) that you need to change...as below
     
    Darryl, Jul 30, 2009
    #9
  10. Ranger5

    Ranger5

    Joined:
    Feb 18, 2009
    Messages:
    37
    Likes Received:
    0
    Hi,

    My list displays differently to yours. There is no line starting GenericName=
    On yours, the one to change is 11 up from the Comment Enjoy Surfing The Internet line, on mine I still have Name= with languages by it.
    I don't know why they should be different.
    Given the warning, it's not something that I want to mess with unless I'm certain it won't harm the computer.

    Any further ideas?

    Thanks for your replies and help.

    PS: how do I create a picture of it as you have done, perhaps seeing my window would help?
    One difference I have noticed is that we each have a different Bios. Yours is 3309, mine is 3301. Could this explain things?
     
    Ranger5, Jul 30, 2009
    #10
  11. Ranger5

    Darryl

    Joined:
    Sep 1, 2008
    Messages:
    308
    Likes Received:
    0
    No, the bios has nothing to do with the operating or file system in that way. You could just change the first "name" in the list and see what happens. To take a screenshot press the PrtSc (printscreen) button next to f12. When you reply to this mail, below the reply box next to the options tab theres an "upload attachment" tab. Hit browse to the location of your pic and click on the file. You'll know when its selected as it will show in the "filename" field. Then just hit submit. Changing these names will not harm your dektop file by the way. The various names are simply labels in different languages for your display....you coud change every instance of "browser" to "Firefox" with no ill effects.
    ;)
     
    Darryl, Jul 31, 2009
    #11
  12. Ranger5

    Ranger5

    Joined:
    Feb 18, 2009
    Messages:
    37
    Likes Received:
    0
    Thanks for the screenshot info! I was expecting something much more complicated!
    Looking at my screenshot, it looks like the first 'Browser' is probably the one to change because none of the languages seem to refer to English. I don't know if this will give you any insight, but here is my screenshot.
     
    Ranger5, Aug 2, 2009
    #12
  13. Ranger5

    Darryl

    Joined:
    Sep 1, 2008
    Messages:
    308
    Likes Received:
    0
    ok,
    I'd say your right go ahead and change it, you can always change it back... and remember you'll have to reboot before the change will show.
     
    Darryl, Aug 3, 2009
    #13
  14. Ranger5

    Ranger5

    Joined:
    Feb 18, 2009
    Messages:
    37
    Likes Received:
    0
    I changed the first Name=Browser to Name=Firefox and rebooted......
    and it worked! :D

    Thank you for all your help and guidance Darryl!

    Now I have to see if my other recent posts are answered as fully as this one has been, because then I can make my little blue box just how I want it!
     
    Ranger5, Aug 4, 2009
    #14
  15. Ranger5

    Ranger5

    Joined:
    Feb 18, 2009
    Messages:
    37
    Likes Received:
    0
    Further to our pm's here are some screenshots of my thunderbird files.
     
    Ranger5, Aug 19, 2009
    #15
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.