HINT: Must Apply Font Settings for Apps Running as Root
HINT: Must Apply Font Settings for Apps Running as Root
I previously made font settings for MX-14/KDE using System Settings (the details are in another thread). The fonts looked great, except when running "Dolphin as Superuser." (I made DaS by adding a second instance of Dolphin in KMenu with "Run as different user" checked in the Advanced tab.) The fonts within "Dolphin as Superuser" looked thin and anemic just like they did with the original font settings. It finally dawned on me that I needed to repeat the font setting changes for root as well as my user name.
I accomplished this by hitting Alt-F2 and entering "kdesu systemsettings." System Settings asked for my root password, and I repeated the same font settings that I made under my user name. After clicking Apply, the fonts now look the same across the board.
I accomplished this by hitting Alt-F2 and entering "kdesu systemsettings." System Settings asked for my root password, and I repeated the same font settings that I made under my user name. After clicking Apply, the fonts now look the same across the board.
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.
Re: HINT: Must Apply Font Settings for Apps Running as Root
I've been tempted to do that on many occasions, but after thinking for a moment I've always left things as they are. I make enough mistakes as it is, and having a not-my-favorite font in a root dolphin helps to remind me where I am, minimizing self-inflicted chaos on my system.
Gigabyte 990FXA-UD3, AMD FX-6100 hex-core, 3.3GHz, 8G, Radeon HD6570
Re: HINT: Must Apply Font Settings for Apps Running as Root
Very good point!! Here's another way: You could colorize your 'root' Dolphin windows using red tones while maintaining consistent fonts.DBeckett wrote:
I've been tempted to do that on many occasions, but after thinking for a moment I've always left things as they are. I make enough mistakes as it is, and having a not-my-favorite font in a root dolphin helps to remind me where I am, minimizing self-inflicted chaos on my system.
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.
Re: HINT: Must Apply Font Settings for Apps Running as Root
Clever idea. I have no clue how to do that.joany wrote:Very good point!! Here's another way: You could colorize your 'root' Dolphin windows using red tones while maintaining consistent fonts.DBeckett wrote:
I've been tempted to do that on many occasions, but after thinking for a moment I've always left things as they are. I make enough mistakes as it is, and having a not-my-favorite font in a root dolphin helps to remind me where I am, minimizing self-inflicted chaos on my system.
Gigabyte 990FXA-UD3, AMD FX-6100 hex-core, 3.3GHz, 8G, Radeon HD6570
Re: HINT: Must Apply Font Settings for Apps Running as Root
Well I haven't tried this, but I think you can run "kdesu systemsettings" from the Run panel (Alt+F2) and change the window background color from gray to red: Application Appearance > Colors > Colors > Window BackgroundDBeckett wrote:quote]
Clever idea. I have no clue how to do that.
What I don't know is whether changing window colors for root would also bleed over to the window color settings for your user name.
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.
Re: HINT: Must Apply Font Settings for Apps Running as Root
I'm not sure about kdesu systemsettings, but in Mepis 11 you can (when logged in as root) make changes to Dolphin that won't bleed over to the User. Should be the same for MX I'd think.
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain
--Mark Twain
Re: HINT: Must Apply Font Settings for Apps Running as Root
You are using KDE4.8, and a lot of commands that worked in previous versions of KDE do not work 100% in 4.8 and versions after,joany wrote:I previously made font settings for MX-14/KDE using System Settings (the details are in another thread). The fonts looked great, except when running "Dolphin as Superuser." (I made DaS by adding a second instance of Dolphin in KMenu with "Run as different user" checked in the Advanced tab.) The fonts within "Dolphin as Superuser" looked thin and anemic just like they did with the original font settings. It finally dawned on me that I needed to repeat the font setting changes for root as well as my user name.
I accomplished this by hitting Alt-F2 and entering "kdesu systemsettings." System Settings asked for my root password, and I repeated the same font settings that I made under my user name. After clicking Apply, the fonts now look the same across the board.
To open Dolphin as root you should be using, (then all apps opened in root will work as they should)
Code: Select all
kdesu dbus-launch dolphin
Code: Select all
ksesu dbus-launch systemsettings
Desktop.
Zalman Z11 Plus ATX PC Tower, AMD FX 8350 Black Edition Vishera, 8 Core 4.4 GHz, Kingston HyperX FURY Red 16GB, Nvidia GT740 Graphics, Pioneer BDR-209EBK Writer, 2 x Seagate 1TB SSHD SATA Hybrid Hard Drives. ASUS VS278Q 27 inch HD Monitor
Zalman Z11 Plus ATX PC Tower, AMD FX 8350 Black Edition Vishera, 8 Core 4.4 GHz, Kingston HyperX FURY Red 16GB, Nvidia GT740 Graphics, Pioneer BDR-209EBK Writer, 2 x Seagate 1TB SSHD SATA Hybrid Hard Drives. ASUS VS278Q 27 inch HD Monitor
Re: HINT: Must Apply Font Settings for Apps Running as Root
.....and to make life (typing) a little easier; add an alias to your ~/.bash_aliases file like:You are using KDE4.8, and a lot of commands that worked in previous versions of KDE do not work 100% in 4.8 and versions after,
To open Dolphin as root you should be using, (then all apps opened in root will work as they should)
Code:
kdesu dbus-launch dolphin
or to open system settings as root.
Code:
ksesu dbus-launch systemsettings
alias kdl='kdesu dbus-launch'
then command just becomes
kdl systemsettings
When you have 'root' as a seperate user with its home at /root (ie non sudo) type setup, you should set all these things up for user and for root. I have different settings for lots of stuff, prompt, colors, aliases. It has it's own independent set of config options. It will not bleed over.
Greywolf.
It is about the Dragons - it was always about the Dragons!
Re: HINT: Must Apply Font Settings for Apps Running as Root
That is why it is better to setup access to both in Kmenu, so all you have to type is your root password,.....and to make life (typing) a little easier; add an alias to your ~/.bash_aliases file like:
alias kdl='kdesu dbus-launch'
then command just becomes
kdl systemsettings
Desktop.
Zalman Z11 Plus ATX PC Tower, AMD FX 8350 Black Edition Vishera, 8 Core 4.4 GHz, Kingston HyperX FURY Red 16GB, Nvidia GT740 Graphics, Pioneer BDR-209EBK Writer, 2 x Seagate 1TB SSHD SATA Hybrid Hard Drives. ASUS VS278Q 27 inch HD Monitor
Zalman Z11 Plus ATX PC Tower, AMD FX 8350 Black Edition Vishera, 8 Core 4.4 GHz, Kingston HyperX FURY Red 16GB, Nvidia GT740 Graphics, Pioneer BDR-209EBK Writer, 2 x Seagate 1TB SSHD SATA Hybrid Hard Drives. ASUS VS278Q 27 inch HD Monitor
Re: HINT: Must Apply Font Settings for Apps Running as Root
Quite so. That solution would not have occurred to me, being an old CLI junkie from way back! :) I don't even use a menu most of the time. A launch bar on one edge of the screen covers the 12 or so most common apps and the rest are usually keystroke shortcuts or aliases used through F2.Danum wrote:That is why it is better to setup access to both in Kmenu, so all you have to type is your root password,.....and to make life (typing) a little easier; add an alias to your ~/.bash_aliases file like:
alias kdl='kdesu dbus-launch'
then command just becomes
kdl systemsettings
In any case, personal choice; options is the Linux way.
cheers,
greywolf.
It is about the Dragons - it was always about the Dragons!