PDA

View Full Version : Bash / gainroot to use another design?


mankir
12-16-2009, 07:09 PM
Is this a bug? in easy debian and normal terminal when i open a application, i have the dark backgrounds with small screen (not very usefull for text). But when i bash (in easy debian) or sudo gainroot (in X Terminal) before, i have white backgrounds and bigger screen. are there different styles used?

pelago
12-17-2009, 08:07 AM
I'm not sure exactly what you mean. Can you supply screenshots?

ruskie
12-17-2009, 08:49 AM
Might be osso-xterm vs regular xterm or something... I.e. osso uses it's own config for colours while regular would I guess use .Xdefaults.

mankir
12-17-2009, 02:36 PM
pcmanfm opened in X Terminal:
http://www.students.uni-mainz.de/mkirsch/N900/Screenshot-20091217-181846.png

pcmanfm opened in X Terminal after sudo gainroot:
http://www.students.uni-mainz.de/mkirsch/N900/Screenshot-20091217-182117.png

TNiga
12-17-2009, 02:45 PM
I don't know why, but when programs are run from command line as root, they don't use maemo theme as default, but when you run them with command:
run-standalone program

instead of just:
program

then maemo5 theme will be used.

EDIT: Probably the maemo5 theme can be set as default for root also in some configuration file but I don't know where.

Andre Klapper
12-17-2009, 02:58 PM
Expected behaviour - Always use run-standalone in Scratchbox.
See http://maemo.org/development/training/maemo_technology_overview_content/plain_html/node8/#SECTION00830000000000000000

TNiga
12-17-2009, 03:41 PM
I don't think this was about Scratchbox. Or did I miss your point?

mankir
12-17-2009, 07:26 PM
First of all, i prefer the white background / bigger screen.
Second to mention that this happens in Maemo AND Easy Debian.

My oppinions:
I think it should be possible to use always the preferred display mode or even to switch between them. Zooming into a window like in the browser would be nice for such gtk+-apps, where you need more display space. Also a tool for grouping windows into one would be a nice-to-have (especially for Gimp and Dia).

aspidites
12-17-2009, 08:23 PM
Linux is a multi-user OS. As such, each user (user, root, etc) can have there own themes applied independent of each other. As such, if you run a program as root (sudo gainroot), because root has it's own theme, they won't adhere to the default theme. I'm quite certain if you added another user to your N900 you would get similar results.