Find the answer to your Linux question:
Results 1 to 5 of 5
how do you do this? I know how to launch pidgin with whichever interface I like to with the command GTK2_RC_FILES=/usr/share/themes/themename here/gtk-2.0/gtkrc pidgin But to do that I have to ...
  1. #1
    Just Joined! Fishbone_Beat's Avatar
    Join Date
    Nov 2009
    Location
    Costa Rica
    Posts
    8

    Question [SOLVED] Pidgin GTK theme different from system theme

    how do you do this? I know how to launch pidgin with whichever interface I like to with the command


    GTK2_RC_FILES=/usr/share/themes/themename here/gtk-2.0/gtkrc pidgin
    But to do that I have to open the terminal type that in and changes are lost after I close pidgin. How can I make pidgin stay with a theme different from the system theme?


    regards and thanks for the help

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    The launcher file is stored in /usr/share/applications/pidgin.desktop

    The line
    Code:
    Exec=pidgin
    is the execute command, so you can replace that with your custom line as you wrote above. So long as you're starting pidgin from the menu or a desktop launcher, it will use that.

  3. #3
    Just Joined! Fishbone_Beat's Avatar
    Join Date
    Nov 2009
    Location
    Costa Rica
    Posts
    8
    Sorry for the delay in responding, I tried to do as you said, opened pidgin.desktop with root priviledges, changed the exec line to
    Code:
    GTK2_RC_FILES=/usr/share/themes/Clearlooks-DarkLime/gtk-2.0/gtkrc pidgin
    And I get this error:
    Code:
    Could not launch 'Pidgin Internet Messenger'
    
    Failed to execute child process "GTK2_RC_FILES=/usr/share/themes/Clearlooks-DarkLime/gtk-2.0/gtkrc pidgin" (No such file or directory)
    however, If I type exactly the same command on the terminal (copy-paste) it DOES work and pidgin opens up with the theme. What can I do to fix this?

    thanks for the help

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Hmm. Try is as so
    Code:
    bash -c 'GTK2_RC_FILES=/usr/share/themes/Clearlooks-DarkLime/gtk-2.0/gtkrc pidgin'
    Setting a custom Gtk theme for specific applications urukrama’s weblog

  5. #5
    Just Joined! Fishbone_Beat's Avatar
    Join Date
    Nov 2009
    Location
    Costa Rica
    Posts
    8
    that did the trick!!! thank you very much!!!

Posting Permissions

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