Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16973 - [gtk-theme-switch2] overwrites ~/.gtkrc-2.0

Attached to Project: Arch Linux
Opened by xlq (xlq) - Monday, 02 November 2009, 09:03 GMT
Last edited by Thayer Williams (thayer) - Monday, 02 November 2009, 15:25 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Thayer Williams (thayer)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

gtk-theme-switch2 overwrites ~/.gtkrc-2.0 and doesn't come with a warning.

Additional info:
* package version(s)
gtk-theme-switch2 2.0.5-1

Steps to reproduce:
1. spend hours fixing ~/.gtkrc-2.0
2. start gtk-theme-switch2
3. choose and apply a theme
4. marvel at the ease of theme changing
5. find your ~/.gtkrc-2.0 has been completely annihilated
This task depends upon

Closed by  Thayer Williams (thayer)
Monday, 02 November 2009, 15:25 GMT
Reason for closing:  Not a bug
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 02 November 2009, 12:44 GMT
  • Field changed: Summary (gtk-theme-switch2 overwrites ~/.gtkrc-2.0 → [gtk-theme-switch2] overwrites ~/.gtkrc-2.0)
  • Field changed: Category (Packages: Extra → Upstream Bugs)
So... report to upstream or check if have some switch (cli/gui) to avoid this behaviour.
Comment by Thayer Williams (thayer) - Monday, 02 November 2009, 15:25 GMT
This is the nature of GTK theme selectors--they will overwrite your current theme. lxappearance doesn't warn either, but does write the following within ~/.gtkrc-2.0:

# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine
include "/home/bob/.gtkrc-2.0.mine"

gtk-theme-switch2 hasn't been updated in nearly eight years so I wouldn't hold your breath on an upstream fix. I agree though, it would be nice if the target files were mentioned in the man page.

For what it's worth, I keep hand-tweaked GTK settings in ~/.gtkrc.mine and the basic theme/font selection goes into ~/.gtkrc-2.0.

Loading...