You are not logged in.
I recently installed KDE 5 with apps following Arch Linux Wiki post. Now when I start KWrite from normal login I get the nice window theme. But when I start from 'sudo kwrite file.txt', I get gtk2 orion theme. How can I get normal window in root logins also?
Last edited by nlern (2017-10-09 07:39:57)
Offline
Normal user and root user in KDE have their own settings. If you want to change root settings, you should to use systemsettings as root.
Offline
Hello, I want to know how to set my root settings same as my normal mode. I get normal window theme when I login as root, but whenever I hit 'sudo kwrite file.txt', I get gtk2 orion theme. I am providing an I/O session cli messages:
# kwrite .bashrc
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.1'
detected kglobalaccel restarting, re-registering all shortcut keys
$ sudo systemsettings5
kf5.kservice.sycoca: Trying to open ksycoca from "/root/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open ksycoca from "/root/.cache/ksycoca5"
Last edited by nlern (2015-08-22 12:38:10)
Offline
You want to install kdesudo.
Offline
'kdesudo kwrite' launches kwrite with same gtk2 orion theme.
Offline
Hmmm, check if you have .gtk2 in /root and rename it then try. For me kdesudo works fine.
Offline
I copied .gtkrc .gtkrc-2.0 from my .config to root's .config and deleted .gtk*s in /root. But still 'kwrite' launches with orion theme when starting after 'sudo -i'.
Offline
No, you shouldn't launch 'kdesudo kwrite' to get Breeze (I think) theme for apps started on root privilages.
Just do:
sudo systemsettings5
(or start it via kdesudo)
adjust everything you want. After that apps started as root will look as you want.
Last edited by pb (2015-08-22 17:06:30)
Offline
sudo by default won't start X apps. kdesudo or pkexec (if possible) is a preffered way to do it.
Offline
After entering
sudo systemsettings5
I see settings window with gtk2 theme and no icons are there with the different options.
Last edited by nlern (2015-08-23 05:03:41)
Offline
Hey friend,
I was also having trouble w/ kdesu apps showing properly. Specifically dolphin would just be a blank window. Adding the following text to my /etc/environment file and restarting X resolved my issues.
QT_GRAPHICSSYSTEM=native
QT_X11_NO_MITSHM=1
Edit: Oops looks like your issue is a bit different, pls ignore!
Last edited by tdxpdx (2015-08-23 08:25:31)
Offline
Hello, I changed back to LXDE. So closing this thread.
Offline
Hello, after a long time I got the fix for my problem. Basically the fix is the following,
Add this line in /etc/environment :::
XDG_CURRENT_DESKTOP="KDE"
It is given in the following YouTube video: How To Fix ROOT Apps' Theme in KDE Plasma
Hope this helps anyone who faces this problem in future.
Offline