You are not logged in.
Pages: 1
Please have a look at this:
When i run unetbootin as user i have a different window appearance as with running the app as superuser...
I obviously like the su one better. How ( where ) can i make my apps look like that one?
Is this GTK config? KDE? OpenBox? What?
Last edited by ThreepWood (2009-08-20 07:57:38)
...selfmade-wannabee #!in' pirate. Arrr!
Offline
As far as I know, unetbootin is built with Qt4 and so when it runs under superuser privileges it defaults to its native Qt4 theme. I am not to sure how you would go about applying a similar theme to all GTK+ applications. Maybe you could find a GTK+ theme with a similar appearance to the one shown?
Ex-developer of #! CrunchBang. Follow me on Twitter 
Offline
In one way I think that it's a good thing that tasks performed as root(or sudo or su) has a different theme.
In that way you're always aware that you're dealing with stuff on a "higher level".
Anyway the solution that has always worked for me is this:
To make sudo started applications look like your other applications do this.
Open a terminal and paste these commands in one by one:
sudo ln -s ~/.themes /root/.themes
sudo ln -s ~/.icons /root/.icons
sudo ln -s ~/.fonts /root/.fonts
Now your theme, fonts and icons will be carried on to your sudo account and applications running under sudo account will also look better,
Hope it helps!
My artwork at deviantART | My Tweet | My upcoming web page
Crea diem!
Lenovo ThinkPad E320 | 8GB | 512GB Samsung 840 PRO SSD | Xubuntu 13.04 & #! Waldorf
Offline
1. run as root: "lxappearance" and set your gtk-theme for the "root account"
2. run as root: qtconfig and or qtconfig-qt4 and select the GTK gui style. Your Qt apps will now immitate the gtk settings.
3. ???
4. profit.
I'm so meta, even this acronym
Offline
thank You all, these are definitely stuff to investigate!!
some quick thoughts...
I would like to make the user window look like the sudo one, and NOT THE OTHER WAY AROUND!
( will look in the directories Zwooper mentioned, but the ~/.theme IS empty )
lxappearance is called "User Interface Settings" under "OpenBox-Menu|Preferences|Openbox Config"...it is set the way i would like it, as is qtconfig and qtconfig-qt4 ( these execute the same code, do they? ). No difference between executing it with root or without - saving the settings again doesn't solve the issue with unetbootin neighter...
But i put these little fellows right into my bookmark, thanks for the tip!
Other suggestions are welcome!
by the way, Awebb, You have been too to the UP-Gnome-University of Business?
That three (four) steps of corporate-policy does seem familiar...hehe
...selfmade-wannabee #!in' pirate. Arrr!
Offline
The gray theme is the CrunchBang Darktheme so when you run LXAppearance (User Interface Settings) you would need to change your theme to CrunchBang Dark.
As for qtconfig-qt4, try running it from gmrun (alt+f2) and change it to GTK then go to File > Save.
Offline
Did you run qtconfig and lxappearence as root? like...
sudo lxappearance
gksu qtconfig
Running them as normal user won't give you any changes for the "root account".
I listed both qtconfig and qtconfig-qt4 to make sure you get the right one in case of qt3 is also installed, since you need qt4 for unetbootin.
More later, my X server is about to shit in his pants oO
by the way, Awebb, You have been too to the UP-Gnome-University of Business?
That three (four) steps of corporate-policy does seem familiar...hehe
I've studied weisenheimeristics at the International University of 4chan. My favorite subject was "meme adaption II".
I'm so meta, even this acronym
Offline
I thought that happened because root has its own theme and you have yours. So when programs are opened under sudo, they use the theme selected for the root user. As to how to change roots' themes, I'd go with zwoopers suggestion.
Offline
I'd change root's settings to something else than the user's theme. This way you'll notice if something runs as root rather than your restricted account.
I'm so meta, even this acronym
Offline
Just another curious snippet...
If i do sudo su first and from there #unetbootin i get the same window appearance as user ( the left one )
Could somebody name the theme of this? Anonymous already pointed out that the dark-grey one is the CRUNCHBANG_DARK.
( although in OpenBox GUI config tool it is called plain "CrunchBang" )
...selfmade-wannabee #!in' pirate. Arrr!
Offline
I think it is the Qt4 theme "Plastique".
Like mentioned earlier, you have to run qtconfig-qt4 to change that theme.
Offline
Sorry anonymous, i didn't mention that in my earlier post...Been there - done that.
qtconfig-qt4 gives me the look of the right-hand side window - ergo the desired one.
Like that, the option to save is inactive. Anyway, changing it to a different and back >> save still shows me unetbootin in horrible "plastique" with oversized letters.
I don't know how long will this install of 8.10 last ( i'm into change to 9.04 ), but all this topic is just for curiosity...until i can confirm ( or not ) the appearance in 9.04.
Maybe it's her Majesty the SeaBee, maybe it's unetbootin.
...selfmade-wannabee #!in' pirate. Arrr!
Offline
So you already changed qtconfig-qt4 to use the GTK theme?
Offline
running gksu qtconfig-qt4 did do the trick! ( and just checked, sudo su && qtconfig-qt4 does it too )
First i thought that running sudo qtconfig-qt4 does mean running in qtconfig as superuser, but obviously that was not the case.
Finally, could somebody explain the difference between gksu/sudo su and sudo ? Manual states gksu is a front-end for GTK, whatever that means...
Thanks to everybody who took time to answer and help!
...selfmade-wannabee #!in' pirate. Arrr!
Offline
gksudo and sudo are used for executing commands as admin. Sudo should be used for cli applications (terminal) and gksudo should be used for graphical applications.
Su is used to change users. If you don't specify a user though, then it switches to superuser (root?). Likewise gksu should be used for graphical applications.
Offline
sudo for inside terminal, gksu for all the applications that have a graphical front end.
Thanks for the final clear-up, anonymous!
...selfmade-wannabee #!in' pirate. Arrr!
Offline
Sorry for not beeing specific. I thought "run as root" should be clear enough 
I'm so meta, even this acronym
Offline
sudo for inside terminal, gksu for all the applications that have a graphical front end.
Thanks for the final clear-up, anonymous!
gksudo for graphical application.
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.