My theme is black, it is white, I can’t see it at all. Just got it from Rep. Oh I am using KDE.
btrfs-assistant runs with root privileges, and therefore it uses the theme set for the root account, not the theme set for the invoking user.
How do I enable my theme for root? Plua, it doesn’t have any snapshots listed, I though a snapshot got taken automatcly every update when you use BTRFS.
There was a possible solution for the theme here: How do I get Btrfs Assistant in dark mode? - #2 by Aragorn
It doesn’t have any snapshots listed
If you mean on the Subvolumes tab then there is a check box at the bottom Include Timeshift and Snapper Snapshots. I use snapper instead of Timeshift so that might still not work for you.
How do I seitch to root to change theme for that account. Not sur I understand the post you linked? I think moving my .colors file to /root/.config would do it? Sorry for this. Like plasmarc I see no file named that. When I copy my .colors file, I don’t see paste one file in /root/.config when I right click.
Whatever .colors is, that’s not a Plasma file. Your Plasma color schemes are in ~/.local/share/color-schemes/.
It’s in ~/.config/.
Also, you probably can’t write to /root with dolphin, and you certainly can’t see what’s in there, because /root is owned root:root and has either 700 or 750 permissions.
You have to use the command line. ![]()
sudo cp ~/.config/plasmarc /root/.config/
sudo cp -R ~/.local/share/color-schemes/* /root/.local/share/color-schemes/
Thanks I will do that command.
Just copy & paste as is?
Mod edit: Consecutive posts merged. Please edit your previous post(s) instead to add further information.
Yes, Nick.
I get cp: cannot create regular file ‘/root/.local/share/color-schemes/’: No such file or directory.
I would suggest you try to create the directory like this
sudo mkdir -p /root/.local/share/color-schemes
and then re-run the cp:
sudo cp -R ~/.local/share/color-schemes/* /root/.local/share/color-schemes/
The .colors file is in the right folder now, it that us the right type??? The only other file is plasmarc. put in search on KDE menu, nothing. When I past the location from line 1 on the command into Dolphin, I get The file or folder /~/.config/plasmarc does not exist.
You are attempting something I have never tried, so there is not much I can help with.
One thing I do notice, and it is possible there is simply a typo in your post, is that the path you have given has an extra slash at the start. It should be
~/.config/plasmarc
Oh thanks.
So that command a few post back should have copied plasmaarc to the colorscheme folder right? It did not.
No, the plasmarc file should go into /root/.config/.
/root/.local/share/color-schemes/ is a separate directory containing custom color schemes.
So, sudo cp ~/.config/plasmarc /root/.config/ did that, it is still white. The icon is not a white shee though & in properties type says unknown,
This is how I change my theme for GUI root applications:
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=6 KDE_FULL_SESSION=true dbus-launch systemsettings
Did you also do this? ![]()
@Aragorn
Yes, the .colors file is in /root/.local/share/color-schemes/.zThe plasmaarc just looks like a link file in the other dir. I am trying the other command in the above post.
@omano I got
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=6 KDE_FULL_SESSION=true dbus-launch systemsettings
org.kde.libkbolt: Failed to connect to Bolt manager DBus interface:
"applications.menu" not found in QList("/etc/xdg/menus")
Failed to find desktop file for "systemsettings"
kde.plasma.activitiesstats: PlasmaActivities: Database is not open: "kactivities_db_resources_140235638018816
\_readonly" "/root/.local/share/kactivitymanagerd/resources/database" QSqlError("14", "Error opening database", "unable to open database file")
qt.sql.qsqldatabase: QSqlDatabasePrivate::database: unable to open database: "unable to open database file Error opening database"
kde.plasma.activitiesstats: PlasmaActivities: Database is not open: "kactivities_db_resources_140235638018816
\_readonly" "/root/.local/share/kactivitymanagerd/resources/database" QSqlError("14", "Error opening database", "unable to open database file")
kde.plasma.activitiesstats: Plasma Activities ERROR: There is no database. This probably means that you do not have the Activity Manager running, or that something else is broken on your system. Recent documents and alike will not work!
qt.dbus.integration: QDBusConnection: name 'org.freedesktop.portal.Desktop' had owner '' but we thought it was ':1.1'
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
Mod edit: Consecutive posts merged and formatting improved.
@Edward78 I have done a few experiments and I think another file which affects colors is kdeglobals. I would suggest that you try these commands to see if this works for you.
Firstly, be cautious and copy the existing root kdeglobals somewhere safe, in case you want to undo this change. For example
sudo cp /root/.config/kdeglobals /root/.config/saved-kdeglobals
then copy a dark theme to kdeglobals, for instance
sudo cp /usr/share/color-schemes/BreezeDark.colors /root/.config/kdeglobals
/root/.config/kdeglobals
No such file.