[Bug 24280] Re: locally installed gtk themes not applied to admin apps
Themes installed per user should only be used for the corresponding user. The behavior of gksu is correct. ** Changed in: gnome-control-center (Ubuntu) Sourcepackagename: gksu = gnome-control-center ** Summary changed: - locally installed gtk themes not applied to admin apps + [Theme Manager] No installation option for system wide themes, difference is not communicated in the user interface ** Description changed: + The user interface of the theme manager does not make clear that it can + only install themes for the current user. Furthermore it does not + provide an option to install themes system wide. This very often leads + to bug results like this one: + Scenario: A) User finds spiffy (or totally hideous) theme online and loves it. B) User installs theme and uses it. C) User selects any sudo-required admin app and is greeted with the default GTK theme. Solutions: 1) Live with it and wait until GTK uses a nice default theme (dapper + 1 if we're lucky?). Is this even good enough? 2) Stick the user $HOME/.themes directories into whatever path gtk uses to find themes so the admin apps match the user apps no matter what awful creation the user might be imposing upon [him|her]self. 3) Be smart enough to know if a theme is not available and fallback to the default Human theme or something along those lines... basically just do anything to avoid showing it un-themed. 4) Create a new theme specifically for use with apps that require sudo priv. Use this theme at all times. Maybe make it an /etc setting somewhere for people that can't stand it and must change it for whatever reason. -- [Theme Manager] No installation option for system wide themes, difference is not communicated in the user interface https://bugs.launchpad.net/bugs/24280 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
From my experiments is not about personal settings. If I copy the themes to /usr/share/themes it can use them. The program seems to lie with user-installed themes. Currently, the correct theme _is_ selected, it is just not always available in /usr/share/themes or /root/.themes My current workaround: - replace all users' ~/.themes with a symbolic link to /usr/share/themes. - changed the permissions to allow /usr/share/themes to be altered by all desktop users. I wonder if this really creates a security issue? -- locally installed gtk themes not applied to admin apps https://bugs.launchpad.net/bugs/24280 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
Wait, i was a bit unclear. It actually uses the theme selected by the user, IF its available. It has the correct setting. It doesn't try to use the theme from root's config at all. It tries to use the theme of the user. But the theme has to be available in /usr/share/themes or /root/themes. So, it *IS* using the correct .gtkrc config and the correct gconf-config! Its just not finding the theme, because its not in the appropiate directories. -- locally installed gtk themes not applied to admin apps https://bugs.launchpad.net/bugs/24280 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
The problem is that the path that GTK searches for themes is based on the user running the program. So, if you have a theme in ~/.themes, GTK will not be able to find it when running as a different user. As Al says, this has nothing to do with gksu, gksudo, sudo, or su, it's simply that GTK is looking for a theme that is no longer available. Since the theme is set in gconf, maybe the theme search path could be set there too? This would solve the problem as far as I can tell. -- locally installed gtk themes not applied to admin apps https://bugs.launchpad.net/bugs/24280 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
using sudo the gconf configuration read would not be the user one -- locally installed gtk themes not applied to admin apps https://bugs.launchpad.net/bugs/24280 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
Ah, I had assumed that the theme information was coming from gconf settings. I guess it comes from the users ~/.gtkrc ? I can't test at the moment, but do apps run via sudo use the /root/.gtkrc ? -- locally installed gtk themes not applied to admin apps https://bugs.launchpad.net/bugs/24280 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
Tom, yes, it's going from gconf. [EMAIL PROTECTED]:~$ find . -exec grep -l CleanBlue {} \; ./.gconf/desktop/gnome/interface/%gconf.xml ./.themes/CleanBlue/index.theme [EMAIL PROTECTED]:~$ Sebastian probably meant that it's root's gconf. So then gtk should learn x session owner (I guess the X server can give such information?) and read his gconf setting with the theme name and path. -- locally installed gtk themes not applied to admin apps https://bugs.launchpad.net/bugs/24280 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 24280] Re: locally installed gtk themes not applied to admin apps
But putting a color chooser or making a beautiful theme for user and root not is the solution. When we access to admin utils with gksu, We must see the same theme that the user, not the root theme!! The problem not is make the user and root themes equals by default. If I change the theme with black background in the widgets, when i launch synaptic with gktsu i don't want to see the white background if the root have configured in his theme. On 2/21/07, Ralf Nieuwenhuijsen [EMAIL PROTECTED] wrote: A fix that would prevent lots of problem is to update the default theme (Human) to support color-schemes. I believe the main reason people install different themes is because they don't like the colors. (not that the default colors are wrong, its just that different people like different colors). In any case, for the look and feel, this bug really should be fixed. It is in any case weird that it doesn't look in ~/.themes while it does use the user's ~/.gtkrc .. -- locally installed gtk themes not applied to admin apps https://launchpad.net/bugs/24280 -- locally installed gtk themes not applied to admin apps https://launchpad.net/bugs/24280 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
** Changed in: gksu (Ubuntu) Assignee: Michael Vogt = (unassigned) -- locally installed gtk themes not applied to admin apps https://launchpad.net/bugs/24280 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
A fix that would prevent lots of problem is to update the default theme (Human) to support color-schemes. I believe the main reason people install different themes is because they don't like the colors. (not that the default colors are wrong, its just that different people like different colors). In any case, for the look and feel, this bug really should be fixed. It is in any case weird that it doesn't look in ~/.themes while it does use the user's ~/.gtkrc .. -- locally installed gtk themes not applied to admin apps https://launchpad.net/bugs/24280 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
I think when you launch an application with gksu, it be save the actual user session environment . for example, when you execute su user you change the user but all session environment don't change and when you execute su - user then the session environment change to the user logged. I think that if you launch some application with gksu it may use the user theme and gksu - the root theme. Regards, Chuchi -- locally installed gtk themes not applied to admin apps https://launchpad.net/bugs/24280 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
The apps are already started by gksu. -- locally installed gtk themes not applied to admin apps https://launchpad.net/bugs/24280 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
** Changed in: gksu (Ubuntu) Status: Unconfirmed = Confirmed -- locally installed gtk themes not applied to admin apps https://launchpad.net/bugs/24280 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
** Bug 60547 has been marked a duplicate of this bug -- locally installed gtk themes not applied to admin apps https://launchpad.net/bugs/24280 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24280] Re: locally installed gtk themes not applied to admin apps
I've also experience this bug and found it makes for a very un- proffesional looking desktop for anyone that installs a theme through gnome-theme-manager. -- locally installed gtk themes not applied to admin apps https://launchpad.net/bugs/24280 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs