Well! This has been a trial by fire & broken glass in no mistake.
In the beginning, I had a collection profiles & colourschemes created when I
first started using KDE 16/17 or so years ago (at a time when I knew Fall about
what I was doing) but I have kept & used them ever since. Looking at the old
configuration text files, one of the things I discovered was that colorschemes
(say, MyCrazyColours) ended up in the profile for “End-of-the-World” (neither of
those actually existed).
SO! This is a complete idiots guide to repairing the Konsole!
I decided I needed a profile for a “Normal” (non “SuperUser”) Konsole &
also “SuperUser” - both of which (using the aged material I had) I then
created. I now have only 2 entries in:
/home/<username>/kde4/share/apps/konsole
and they are:
- MyProfile
- RootToot
This means that I can (from within the “normal” mode) use “su” or “su -” to
create “SuperUser” authority and then switch the mode of the Konsole to the
“Red Screen” (RootToot) to remind me I’m in dangerous territory and, when I
exit, I must switch back to MyProfile (Blue Screen)
BUT, That’s not the end! I still after bringing the entire electricity network of SE
England to it’s knees:smile:, in an attempt to get the “SuperUser” button to work, I had
to get the button to work.
- Go to the root directory
- Goto .kde4/share/apps/konsole/ (ie: /root/.kde4/share/apps/konsole)
- Copy** RootToot.profile** + RootToot.colorscheme (or whatever), from:
/home/<username>/.kde4/share/apps/konsole/RootToot.*
To
/root/.kde4/share/apps/konsole/
- &, I renamed “RootToot” as “RootShell” in this instance - It’s not
necessary, the files are the same, but it comforts me. However
-
TO DO this, you must change the titles of the “profile” &
“colorscheme” files from <oldname> to <newname> **AND
**6) Edit the “profile” file to replace every instance of <oldname> with
<newname> - there should be at least 2 instances, maybe more
Finally, my original problem had been that the::
konsole --profile “root shell”
command which appeared in KMenuEditor had simply not worked, drcurtisfra
(above) reports a slightly similar phenomenon but at least his SuperUser button
did the “right thing”, mine didn’t. Martin Lewis suggested kdesu, I worked out
$(kde4-config --path libexec)kdesu -c konsole
& entered that into the KMenuEditor “Command” line - and this, pretty much,
works - but not entirely.
I’m working on it.
My thanks, as always’ to my respondents & I hope someone will find these
ramblings of some help in the future.
dmk