WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Missing .gtrc-2.0  (Read 3049 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Missing .gtrc-2.0
« on: November 21, 2009, 11:13:38 AM »
Certain applications require .gtrc-2.0 in the home directory to know which icon theme is used, otherwise iocons are not displayed.

I fixed it for my extensions, pcmanfm and wicd creating them when missing, but it is up to the gtk environment. See discussion here:

http://forum.tinycorelinux.net/index.php?topic=3955.0

Jason, can you add it to the gtk extension?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Missing .gtrc-2.0
« Reply #1 on: November 21, 2009, 01:39:25 PM »
I don't have time today to look into it, but I will this next week.  I hope it is not the future of gtk2 apps to require an icon theme installed to function. 

But as it will be awkward to have an extension impose a .gtkrc-2.0 in the middle of desktop use, so I will look for a light default theme that can be a dependency of gtk2 and also copy a .gtkrc-2.0 to the home directory if it does not exist.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Missing .gtrc-2.0
« Reply #2 on: November 21, 2009, 01:48:20 PM »
I don't have time today to look into it, but I will this next week.  I hope it is not the future of gtk2 apps to require an icon theme installed to function.  

But as it will be awkward to have an extension impose a .gtkrc-2.0 in the middle of desktop use, so I will look for a light default theme that can be a dependency of gtk2 and also copy a .gtkrc-2.0 to the home directory if it does not exist.

I come across only two extensions, pcmanfm and wicd which needs this. In case of pcmanfm it is clear and I have no problem with it. As I see, wicd is using only one icon (maybe few), so later on it can be patched to use icon added to the extension and not from the theme.

BTW, the right place is to add it to gnome-icon-them extension and not to gtk!
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Missing .gtrc-2.0
« Reply #3 on: November 21, 2009, 05:26:34 PM »
I agree that gnome-icon-theme is a better place then gtk2 to place this, if it is to be done.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Missing .gtrc-2.0
« Reply #4 on: November 28, 2009, 07:09:29 AM »
I believe hicolor-icon-theme is what apps like these should depend on, because it's small and considered "default". Apps should try to use it if no icon theme is specified.

An icon theme, unless required by an app, should be the choice of the user.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Missing .gtrc-2.0
« Reply #5 on: November 28, 2009, 07:29:30 AM »
I believe hicolor-icon-theme is what apps like these should depend on, because it's small and considered "default". Apps should try to use it if no icon theme is specified.

No, hicolor-icon-theme is empty by default, it is only a skeleton, a pre-defined structure where applications can place their own icons. It do not replace a "real" icon theme.

An icon theme, unless required by an app, should be the choice of the user.

Agree. But system has to setup a default. Good question, what is system. I'm setting up a the default theme in LXDE, Xfce4 and pcmanfm when no LXDE/Xfce found. It works fine and no need for gnome-icon-theme tuoch the setting, it would just cause problems.


Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."