Hello SuSE people. Still running 11.0 with KDE3.5 while I play with 11.3. I am not that good on the cli so I like using graphical displays. I am mainly speaking of grsync here which I run as root for backups. Problem is that the menu fonts are so small I can hardly read them. I am sight impaired. I have tried to have it run using the KDE fonts but it doesn't work. Years ago there was a tool that controlled the configuration but I don't remember now or cannot find it. Anybody can point me in the right direction so I can make them readable? Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2010/08/26 22:49 (GMT-0400) Bob S composed:
Still running 11.0 with KDE3.5 while I play with 11.3. I am not that good on the cli so I like using graphical displays. I am mainly speaking of grsync here which I run as root for backups.
Problem is that the menu fonts are so small I can hardly read them. I am sight impaired. I have tried to have it run using the KDE fonts but it doesn't work. Years ago there was a tool that controlled the configuration but I don't remember now or cannot find it.
Anybody can point me in the right direction so I can make them readable?
Thinking out loud, since I've never used grsync. It's a GTK2 application. In your KDE settings, is use my KDE fonts in GTK applications turned on? If it isn't, try turning on. If it is but the fonts remain tiny, maybe you need to use the Gnome settings tool to force the DPI up from 96 to something sensible for your >average DPI display. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 26 August 2010 23:30:38 Felix Miata wrote:
On 2010/08/26 22:49 (GMT-0400) Bob S composed:
Still running 11.0 with KDE3.5 while I play with 11.3. I am not that good on the cli so I like using graphical displays. I am mainly speaking of grsync here which I run as root for backups.
Problem is that the menu fonts are so small I can hardly read them. I am sight impaired. I have tried to have it run using the KDE fonts but it doesn't work. Years ago there was a tool that controlled the configuration but I don't remember now or cannot find it.
Anybody can point me in the right direction so I can make them readable?
Thinking out loud, since I've never used grsync. It's a GTK2 application. In your KDE settings, is use my KDE fonts in GTK applications turned on? If it isn't, try turning on. If it is but the fonts remain tiny, maybe you need to use the Gnome settings tool to force the DPI up from 96 to something sensible for your >average DPI display. -- Yes the "use my KDE fonts in GTK applications is turned on.
I have heard of the Gnome settings tool but know nothing of it or what it will do. Googled it and found a tar package called LATEST-IS-2.31.1 and viewed it with ark. Called gnome system tools but saw nothing about resizing the window or fonts. Can some Gnome user out there tell me if this is possible with these tools? Before I go unpacking this 15 mb package just to look? Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 28/08/10 03:30, Bob S wrote:
On Thursday 26 August 2010 23:30:38 Felix Miata wrote:
On 2010/08/26 22:49 (GMT-0400) Bob S composed:
Still running 11.0 with KDE3.5 while I play with 11.3. I am not that good on the cli so I like using graphical displays. I am mainly speaking of grsync here which I run as root for backups.
Problem is that the menu fonts are so small I can hardly read them. I am sight impaired. I have tried to have it run using the KDE fonts but it doesn't work. Years ago there was a tool that controlled the configuration but I don't remember now or cannot find it.
Anybody can point me in the right direction so I can make them readable?
Thinking out loud, since I've never used grsync. It's a GTK2 application. In your KDE settings, is use my KDE fonts in GTK applications turned on? If it isn't, try turning on. If it is but the fonts remain tiny, maybe you need to use the Gnome settings tool to force the DPI up from 96 to something sensible for your >average DPI display.
Yes the "use my KDE fonts in GTK applications is turned on.
Just my experience, but I find that after changing KDE font sizes, you need to turn "use my KDE fonts in GTK applications" off then back on for it to take effect.
I have heard of the Gnome settings tool but know nothing of it or what it will do. Googled it and found a tar package called LATEST-IS-2.31.1 and viewed it with ark. Called gnome system tools but saw nothing about resizing the window or fonts. Can some Gnome user out there tell me if this is possible with these tools? Before I go unpacking this 15 mb package just to look?
Bob S
Is this problem in 11.1 or 11.3? KDE3 or KDE4? Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 28 August 2010 05:33:16 Tejas Guruswamy wrote:
On 28/08/10 03:30, Bob S wrote:
On Thursday 26 August 2010 23:30:38 Felix Miata wrote:
On 2010/08/26 22:49 (GMT-0400) Bob S composed:
Still running 11.0 with KDE3.5 while I play with 11.3. I am not that good on the cli so I like using graphical displays. I am mainly speaking of grsync here which I run as root for backups.
Problem is that the menu fonts are so small I can hardly read them. I am sight impaired. I have tried to have it run using the KDE fonts but it doesn't work. Years ago there was a tool that controlled the configuration but I don't remember now or cannot find it.
Anybody can point me in the right direction so I can make them readable?
Thinking out loud, since I've never used grsync. It's a GTK2 application. In your KDE settings, is use my KDE fonts in GTK applications turned on? If it isn't, try turning on. If it is but the fonts remain tiny, maybe you need to use the Gnome settings tool to force the DPI up from 96 to something sensible for your >average DPI display.
Yes the "use my KDE fonts in GTK applications is turned on.
Just my experience, but I find that after changing KDE font sizes, you need to turn "use my KDE fonts in GTK applications" off then back on for it to take effect.
Hello Tejas, Yes, I've turned them on and off several times, logging out and in each time.
I have heard of the Gnome settings tool but know nothing of it or what it will do. Googled it and found a tar package called LATEST-IS-2.31.1 and viewed it with ark. Called gnome system tools but saw nothing about resizing the window or fonts. Can some Gnome user out there tell me if this is possible with these tools? Before I go unpacking this 15 mb package just to look?
Bob S
Is this problem in 11.1 or 11.3? KDE3 or KDE4?
It's been continuous, as root only, from 11.0 on in KDE3. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2010. augusztus 27. 4:49 napon Bob S <911@sanctum.com> írta:
Hello SuSE people.
Still running 11.0 with KDE3.5 while I play with 11.3. I am not that good on the cli so I like using graphical displays. I am mainly speaking of grsync here which I run as root for backups.
Problem is that the menu fonts are so small I can hardly read them. I am sight impaired. I have tried to have it run using the KDE fonts but it doesn't work. Years ago there was a tool that controlled the configuration but I don't remember now or cannot find it.
Anybody can point me in the right direction so I can make them readable?
Bob, I don't know about openSUSE 11.3 but I had similar problem in oS 11.2 with KDE 3.5. Try to fix this issue by creating a ".gtkrc-2.0" file in your home directory with the following content: gtk-font-name="Sans Serif 12" This defines the font type and size used by gtk applications. Increasing the number from 12 to higher results in bigger fonts. You can change font type according to your like as well. The following line defines the gtk style: gtk-theme-name="Clorophyll" Maybe this helps. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 28 August 2010 14:06:27 Istvan Gabor wrote:
I don't know about openSUSE 11.3 but I had similar problem in oS 11.2 with KDE 3.5. Try to fix this issue by creating a ".gtkrc-2.0" file in your home directory with the following content: gtk-font-name="Sans Serif 12"
Wow! Helps! Maybe you also can help with that kcm_gtk does not work and GTK app always use the same style? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 28 August 2010 06:06:27 Istvan Gabor wrote:
2010. augusztus 27. 4:49 napon Bob S <911@sanctum.com> írta:
Hello SuSE people.
Still running 11.0 with KDE3.5 while I play with 11.3. I am not that good on the cli so I like using graphical displays. I am mainly speaking of grsync here which I run as root for backups.
Problem is that the menu fonts are so small I can hardly read them. I am sight impaired. I have tried to have it run using the KDE fonts but it doesn't work. Years ago there was a tool that controlled the configuration but I don't remember now or cannot find it.
Anybody can point me in the right direction so I can make them readable?
Bob,
Thanks for replying Istvan
I don't know about openSUSE 11.3 but I had similar problem in oS 11.2 with KDE 3.5.
This has been a continuing problem since 11.0. I am just really tired of using my magnifying glass
Try to fix this issue by creating a ".gtkrc-2.0" file in your home directory with the following content: gtk-font-name="Sans Serif 12"
OK, I need to define this a little further. In my original post I stated that I used grsync for backups - as root. The problem is as root. My GTK apps as a user work as expected. Nevertheless I tried your suggestion as above, both in the user and in root. In both places there is a gtkrc-2-kde file which correctly shows the font type, and size as defined in the personal sttings > appearance >gtk styles.
This defines the font type and size used by gtk applications. Increasing the number from 12 to higher results in bigger fonts. You can change font type according to your like as well.
The following line defines the gtk style: gtk-theme-name="Clorophyll"
Maybe this helps.
Nope, but thanks for trying. I hope somebody can come up with a solution for this. FWIW all of the apps in root have this problem. The Gimp, Firefox.etc but I don't really care because I never do anything as root. I just need grsync for my backups. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2010/08/28 22:45 (GMT-0400) Bob S composed:
I hope somebody can come up with a solution for this. FWIW all of the apps in root have this problem. The Gimp, Firefox.etc but I don't really care because I never do anything as root. I just need grsync for my backups.
Because grsync is GTK, I don't expect this to help, but maybe it's worth trying anyway: Run qtconfig as root, and make sure its font size setting is appropriate. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 28 August 2010 23:30:02 Felix Miata wrote:
On 2010/08/28 22:45 (GMT-0400) Bob S composed:
I hope somebody can come up with a solution for this. FWIW all of the apps in root have this problem. The Gimp, Firefox.etc but I don't really care because I never do anything as root. I just need grsync for my backups.
Because grsync is GTK, I don't expect this to help, but maybe it's worth trying anyway:
Run qtconfig as root, and make sure its font size setting is appropriate. -- Thanks Felix Didn't work
Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2010. augusztus 29. 4:45 napon Bob S <911@sanctum.com> írta: [snip]
Try to fix this issue by creating a ".gtkrc-2.0" file in your home directory with the following content: gtk-font-name="Sans Serif 12"
OK, I need to define this a little further. In my original post I stated that I used grsync for backups - as root. The problem is as root. My GTK apps as a user work as expected. Nevertheless I tried your suggestion as above, both in the user and in root. In both places there is a gtkrc-2-kde file which correctly shows the font type, and size as defined in the personal sttings > appearance >gtk styles.
Have you created the file called .gtkrc-2.0 in /root directory? It is not clear from your answer that you created this file or only edited the .gtkrc-2.0-kde file. The file .gtkrc-2.0-kde will not have any effect.
This defines the font type and size used by gtk applications. Increasing the number from 12 to higher results in bigger fonts. You can change font type according to your like as well.
The following line defines the gtk style: gtk-theme-name="Clorophyll"
One more thing: if the theme name is not correct (or theme is not available ?) the application may not start.
Nope, but thanks for trying. I hope somebody can come up with a solution for this. FWIW all of the apps in root have this problem. The Gimp, Firefox.etc but I don't really care because I never do anything as root. I just need grsync for my backups.
In my system editing ~/.gtkrc-2.0 file has effect on all gtk programs including grsync for every user including root. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 29 August 2010 05:13:49 Istvan Gabor wrote:
2010. augusztus 29. 4:45 napon Bob S <911@sanctum.com> írta:
[snip]
OK, I need to define this a little further. In my original post I stated that I used grsync for backups - as root. The problem is as root. My GTK apps as a user work as expected. Nevertheless I tried your suggestion as above, both in the user and in root. In both places there is a gtkrc-2-kde file which correctly shows the font type, and size as defined in the personal sttings > appearance >gtk styles.
Hello again, Istvan,
Have you created the file called .gtkrc-2.0 in /root directory? It is not clear from your answer that you created this file or only edited the .gtkrc-2.0-kde file. The file .gtkrc-2.0-kde will not have any effect.
Yes, I have created it. It is alongside the gtkrc-2-kde file in both places.
This defines the font type and size used by gtk applications. Increasing the number from 12 to higher results in bigger fonts. You can change font type according to your like as well.
The following line defines the gtk style: gtk-theme-name="Clorophyll"
One more thing: if the theme name is not correct (or theme is not available ?) the application may not start.
In my system editing ~/.gtkrc-2.0 file has effect on all gtk programs including grsync for every user including root.
Do you have that only in your home folder or the root folder also. I have tried 3 different themes and 3 different fonts, including the one that works as a regular user and "Gilouche" which is a Gnome theme but am not sure it is even installed as I don't have Gnome installed. Do you think it must be a Gnome theme? When you were having trouble did your other GTK apps work?, because as I stated earlier, all of mine (as root) come up with the teeny tiny fonts. Since I knew that grsync worked properly as a user, I tried doing a thing that I don't know if it is possible or doable. While logged in as root, in a terminal, I did an "su bob", got my proper domain prompt, and then did a "grsync", and got the following error message: No protocol specified (grsync:83621): Gtk WARNING **: Cannot open display :0.0 Don't know what this means or even it means anything at all as I don't know if you can do what I did. Hope somebody can tell me what is wrong here. What is the Gnome Configuration tool? and why does it (GTK) work properly as a user and not as root? Why did it work in 10.3 and not in 11.0 or 11.1 in KDE3 and in 11.2 KDE4? Thanks anyway guys Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
http://fm.no-ip.com/SS/grsync01.png is what grsync looks like here logged in as root. Its fonts look the same as other apps. Have you tried running it as a regular user with the superuser box checked? Are its fonts different for you run as regular user compared to logged in as root? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2010. augusztus 30. 6:51 napon Bob S <911@sanctum.com> írta: [snip]
Have you created the file called .gtkrc-2.0 in /root directory? It is not clear from your answer that you created this file or only edited the .gtkrc-2.0-kde file. The file .gtkrc-2.0-kde will not have any effect.
Yes, I have created it. It is alongside the gtkrc-2-kde file in both places.
This defines the font type and size used by gtk applications. Increasing the number from 12 to higher results in bigger fonts. You can change font type according to your like as well.
The following line defines the gtk style: gtk-theme-name="Clorophyll"
One more thing: if the theme name is not correct (or theme is not available ?) the application may not start.
In my system editing ~/.gtkrc-2.0 file has effect on all gtk programs including grsync for every user including root.
Do you have that only in your home folder or the root folder also. I have tried 3 different themes and 3 different fonts, including the one that works as a regular user and "Gilouche" which is a Gnome theme but am not sure it is even installed as I don't have Gnome installed. Do you think it must be a Gnome theme?
When you were having trouble did your other GTK apps work?, because as I stated earlier, all of mine (as root) come up with the teeny tiny fonts.
Since I knew that grsync worked properly as a user, I tried doing a thing that I don't know if it is possible or doable. While logged in as root, in a terminal, I did an "su bob", got my proper domain prompt, and then did a "grsync", and got the following error message:
No protocol specified (grsync:83621): Gtk WARNING **: Cannot open display :0.0
Don't know what this means or even it means anything at all as I don't know if you can do what I did.
Hope somebody can tell me what is wrong here. What is the Gnome Configuration tool? and why does it (GTK) work properly as a user and not as root? Why did it work in 10.3 and not in 11.0 or 11.1 in KDE3 and in 11.2 KDE4?
Bob, what do you mean that "in 11.2 KDE4?". So far we talked about KDE 3.5. How KDE4 comes into the picture? I am writing about KDE 3.5.in openSUSE 11.x Anyway if any of the users can run grsync with the correct font size it means that you have a configuration issue, no package is missing. Every user should have a .gtkrc-2.0 file in his own home dir, root in /root dir. My .gtkrc-2.0 has only these 2 lines: gtk-theme-name="Clorophyll" gtk-font-name="Sans Serif 12" I guess you shold use only gtk-font-name="Sans Serif 12" line and delete the other one. I do not know whether theme-name has to be a gtk or kde theme. Try to do the following: 1. Login as root at the graphical interface, the main login window (kdm) 2. create the .gtkrc-2.0 file with line gtk-font-name="Sans Serif 12" 3. disable .gtkrc-2.0-kde file by renaming it eg. to .gtkrc-2.0-kde.bak 4. run a gtk app like grsync or firefox to check font size For now forget other stuff just check if this works. Once more, I use KDE 3 but I think it should work with KDE4 as well. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 30 August 2010 17:58:34 Istvan Gabor wrote:
2010. augusztus 30. 6:51 napon Bob S <911@sanctum.com> írta:
[snip]
When you were having trouble did your other GTK apps work?, because as I stated earlier, all of mine (as root) come up with the teeny tiny fonts.
Since I knew that grsync worked properly as a user, I tried doing a thing that I don't know if it is possible or doable. While logged in as root, in a terminal, I did an "su bob", got my proper domain prompt, and then did a "grsync", and got the following error message:
No protocol specified (grsync:83621): Gtk WARNING **: Cannot open display :0.0
Don't know what this means or even it means anything at all as I don't know if you can do what I did.
Hope somebody can tell me what is wrong here. What is the Gnome Configuration tool? and why does it (GTK) work properly as a user and not as root? Why did it work in 10.3 and not in 11.0 or 11.1 in KDE3 and in 11.2 KDE4?
Bob,
what do you mean that "in 11.2 KDE4?". So far we talked about KDE 3.5. How KDE4 comes into the picture? I am writing about KDE 3.5.in openSUSE 11.x
No, no Istvan. I was just making a point about about this problem. We are talking KDE3.5 in 11.0 actually.
Anyway if any of the users can run grsync with the correct font size it means that you have a configuration issue, no package is missing.
Yes, well a user can run it properly. Configuration problem? yes, but what is it??
Every user should have a .gtkrc-2.0 file in his own home dir, root in /root dir.
and they all do now.
My .gtkrc-2.0 has only these 2 lines: gtk-theme-name="Clorophyll" gtk-font-name="Sans Serif 12"
And mine do also. Only they use the theme andfonts for the user where it works properly.
I guess you shold use only gtk-font-name="Sans Serif 12" line and delete the other one. I do not know whether theme-name has to be a gtk or kde theme.
I don't know if it needs one line or both either. It doesn't work either way, and I don't know whether it needs a GTK theme or not and don't know what is a GTK or a KDE.
Try to do the following: 1. Login as root at the graphical interface, the main login window (kdm) 2. create the .gtkrc-2.0 file with line gtk-font-name="Sans Serif 12" 3. disable .gtkrc-2.0-kde file by renaming it eg. to .gtkrc-2.0-kde.bak 4. run a gtk app like grsync or firefox to check font size
OK, I'll try that tomorrow and report back. Getting pretty late here now. The thing that bothers me is that none of my GTK apps work properly as root, and only as root. That would cause grsync to be incorrect also. All of the user stuff works just fine.
For now forget other stuff just check if this works. Once more, I use KDE 3 but I think it should work with KDE4 as well.
OK, But not worried about KDE4. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2010-08-30 06:51, Bob S wrote:
On Sunday 29 August 2010 05:13:49 Istvan Gabor wrote:
When you were having trouble did your other GTK apps work?, because as I stated earlier, all of mine (as root) come up with the teeny tiny fonts.
Do you mean that you log in the full graphical session, as root? You are not supposed to do that.
Since I knew that grsync worked properly as a user, I tried doing a thing that I don't know if it is possible or doable. While logged in as root, in a terminal, I did an "su bob", got my proper domain prompt, and then did a "grsync", and got the following error message:
No protocol specified (grsync:83621): Gtk WARNING **: Cannot open display :0.0
Obviously. You have to use "su - bob", not "su bob". The configuration tools for gnome are gconf-editor and gnome-control-center. -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))
On 2010/08/31 00:45 (GMT+0200) Carlos E. R. composed:
The configuration tools for gnome are gconf-editor and gnome-control-center.
OS11.2/KDE3.5# zypper in gnome-control-center ... 29 new packages to install ...after the operation 27.7 MiB will be used... Lotta stuff just to build one config file, unless more is actually needed than .gtkrc-2.0. :-( -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2010-08-31 04:02, Felix Miata wrote:
On 2010/08/31 00:45 (GMT+0200) Carlos E. R. composed:
The configuration tools for gnome are gconf-editor and gnome-control-center.
OS11.2/KDE3.5# zypper in gnome-control-center ... 29 new packages to install ...after the operation 27.7 MiB will be used...
Lotta stuff just to build one config file, unless more is actually needed than .gtkrc-2.0. :-(
I can't say, as gnome is my default desktop and it is fully installed. I also usually install kde as well, but not on this partition. 30 Mb is not that much, but of course, I do not know if that will solve the font problem you are seeing. grsync? I suppose it is a gnome tool, can't say how much of gnome has got to be installed for it to run correctly. The fonts are correct as user, but not as root? Curious. And it works for you alright, I see in the photo you posted. I assume the OP is using "su -" to call it? "su" will not work correctly. -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))
On Monday 30 August 2010 23:14:07 Carlos E. R. wrote:
On 2010-08-31 04:02, Felix Miata wrote:
On 2010/08/31 00:45 (GMT+0200) Carlos E. R. composed:
The configuration tools for gnome are gconf-editor and gnome-control-center.
OS11.2/KDE3.5# zypper in gnome-control-center ... 29 new packages to install ...after the operation 27.7 MiB will be used...
Lotta stuff just to build one config file, unless more is actually needed than .gtkrc-2.0. :-(
I can't say, as gnome is my default desktop and it is fully installed. I also usually install kde as well, but not on this partition.
30 Mb is not that much, but of course, I do not know if that will solve the font problem you are seeing.
grsync? I suppose it is a gnome tool, can't say how much of gnome has got to be installed for it to run correctly. The fonts are correct as user, but not as root? Curious.
Hello Carlos, Jumping in here on your reply to Felix.
And it works for you alright, I see in the photo you posted.
I assume the OP is using "su -" to call it? "su" will not work correctly.
Now, you need to explain to me why "su" will not work while "su -" will. As far as I can see "su -" only drops you down into the very lowest primary directory as a "cd /" would. (which I always do before any command I make as the root user) Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2010-08-31 07:53, Bob S wrote:
On Monday 30 August 2010 23:14:07 Carlos E. R. wrote:
Hello Carlos,
Hello, hello :-)
Jumping in here on your reply to Felix.
And it works for you alright, I see in the photo you posted.
I assume the OP is using "su -" to call it? "su" will not work correctly.
Now, you need to explain to me why "su" will not work while "su -" will. As far as I can see "su -" only drops you down into the very lowest primary directory as a "cd /" would. (which I always do before any command I make as the root user)
Because with a plain "su" you inherit the environment of the user you came from, whereas with the dash root gets his own environment. Things like $HOME, for instance, and I guess that it may try to use the previous user gnome environment, which he can't (denied), so the effects you see. It is a guess. Educated, though. :-) -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))
Bob S said the following on 08/31/2010 01:53 AM:
Now, you need to explain to me why "su" will not work while "su -" will. As far as I can see "su -" only drops you down into the very lowest primary directory as a "cd /" would. (which I always do before any command I make as the root user)
Well the manual says `-' `-l' `--login' Make the shell a login shell. This means the following. Unset all environment variables except `TERM', `HOME', and `SHELL' (which are set as described above), and `USER' and `LOGNAME' (which are set, even for the super-user, as described above), and set `PATH' to a compiled-in default value. Change to USER's home directory. Prepend `-' to the shell's name, intended to make it read its login startup file(s). Which is a bit different from just a "cd /; su" Creating an "as if" login context is a very different thing. And as we all know ... Context is Everything The context of a "su" and "su -" are very, very different. This is not hard to determine by observation. :-) Let's not forget that in order for GUI applications to work, they need to know the "screen" from the environment - the "context". Something like DISPLAY=:0 or DISPLAY=remotehost:11.0 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 30 August 2010 18:45:35 Carlos E. R. wrote:
On 2010-08-30 06:51, Bob S wrote:
On Sunday 29 August 2010 05:13:49 Istvan Gabor wrote:
When you were having trouble did your other GTK apps work?, because as I stated earlier, all of mine (as root) come up with the teeny tiny fonts.
Hello Carlos,
Do you mean that you log in the full graphical session, as root? You are not supposed to do that.
Yes of course, I know that, but did it to see if the same condition arose as when I su'd to root to run grsync.
Since I knew that grsync worked properly as a user, I tried doing a thing that I don't know if it is possible or doable. While logged in as root, in a terminal, I did an "su bob", got my proper domain prompt, and then did a "grsync", and got the following error message:
No protocol specified (grsync:83621): Gtk WARNING **: Cannot open display :0.0
Obviously. You have to use "su - bob", not "su bob".
Obvious to you maybe, but not to me. Thanks for the lesson. I will try that the next time I log in as (shudder) root.
The configuration tools for gnome are gconf-editor and gnome-control-center.
When I try those to commands, both as a user and as root I get a "command not found". Thanks for your input Carlos. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2010-08-31 07:28, Bob S wrote:
On Monday 30 August 2010 18:45:35 Carlos E. R. wrote:
Hello Carlos,
Do you mean that you log in the full graphical session, as root? You are not supposed to do that.
Yes of course, I know that, but did it to see if the same condition arose as when I su'd to root to run grsync.
Ah, right. But I guess you log in to kde, as you don't have a full gnome environment, right? And does grsync work correctly, then?
No protocol specified (grsync:83621): Gtk WARNING **: Cannot open display :0.0
Obviously. You have to use "su - bob", not "su bob".
Obvious to you maybe, but not to me. Thanks for the lesson. I will try that the next time I log in as (shudder) root.
:-) Man page, several years of saying the same ;-) Yep, I have explained the reason a minute ago in another email. Is one of those curious things with switches in command line in Linux. There are things not so obvious you have to learn, and then they become obvious, second nature :-)
The configuration tools for gnome are gconf-editor and gnome-control-center.
When I try those to commands, both as a user and as root I get a "command not found".
Not surprising if you don't have the entire gnome environment installed.
Thanks for your input Carlos.
Welcome :-) -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))
participants (7)
-
Anton Aylward
-
Bob S
-
Carlos E. R.
-
Felix Miata
-
Ilya Chernykh
-
Istvan Gabor
-
Tejas Guruswamy