Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Best way to make Synaptic use Dark Breeze theme?
- Xeno Idaltu
- Posts: 47
- Joined: 2019-08-15 05:36
- Location: Free-Source Technocracy
Best way to make Synaptic use Dark Breeze theme?
Synaptic opens as Root, it's default white theme is too bright to read.
What's the best way to make Synaptic use a Dark Theme when opening as Root?
What's the best way to make Synaptic use a Dark Theme when opening as Root?
- NFT5
- df -h | grep > 20TiB
- Posts: 598
- Joined: 2014-10-10 11:38
- Location: Canberra, Australia
- Has thanked: 10 times
- Been thanked: 43 times
Re: Best way to make Synaptic use Dark Breeze theme?
You're still using KDE?
Settings > System Settings > Appearance > Application Style > Gnome Application Style (GTK)
Settings > System Settings > Appearance > Application Style > Gnome Application Style (GTK)
- Xeno Idaltu
- Posts: 47
- Joined: 2019-08-15 05:36
- Location: Free-Source Technocracy
Re: Best way to make Synaptic use Dark Breeze theme?
That only changes GTK themes when they are in normal use.
When applications require Root Authentication before opening they use KDE's default GTK theme.
I'm assuming maybe copy/past a file in /root
When applications require Root Authentication before opening they use KDE's default GTK theme.
I'm assuming maybe copy/past a file in /root
- NFT5
- df -h | grep > 20TiB
- Posts: 598
- Joined: 2014-10-10 11:38
- Location: Canberra, Australia
- Has thanked: 10 times
- Been thanked: 43 times
Re: Best way to make Synaptic use Dark Breeze theme?
Of course.
The first thing I do when setting up a new installation is give myself sudo privileges.
As root:
So I run Synaptic, and other programs like GParted, with sudo privileges, not as root. This way the windows follow my selected theme(s). There is no difference in what I can do this way versus running as root.
The first thing I do when setting up a new installation is give myself sudo privileges.
As root:
Code: Select all
adduser [username] sudo
- Xeno Idaltu
- Posts: 47
- Joined: 2019-08-15 05:36
- Location: Free-Source Technocracy
Re: Best way to make Synaptic use Dark Breeze theme?
1) On installation I added my username to sudo.
Two different passwords: Root and username/Sudo
2) SU vs Sudo & Polkit vs Kdesu:
Synaptic asks for SU password for Authentication. (Polkit-KDE Authentication)
When Mounting a Hard Drive using Dolphin Manager it asks for SU Password. Polkit-KDE Authentication)
KDE Partition Manager asks for SU (Kdesu) [freezes]
Muon/Discovery ask for Sudo password when installing/uinstalling packages. (Polkit-KDE Authentication)
Muon/Discovery ask for SU when trying to configure Sources Lists (Kdesu) [freezes]
3) To solve the freezing I created file "kdesurc" on $HOME/.config:
Now I can open KDE Partition using Sudo
But is this safe from a security point? It is still using Kdesu.
Shouldn't all the GUI on KDE open using Polkit or any other alternative?
-------
# Going back to Synaptic on Root Dark Theme:
Are you using KDE?
Because what I think I read is that you added yourself to Sudo, and when opening Synaptic you will get Synaptic using the normal GTK Theme. Which is not happening in my case.
Even if I open KDE Partition Manager using Kdesu with Sudo privileges, I will get KDE Parition Manager with the default QT Colorscheme.
So far the easiest way I know is linking Kdesu to /usr/bin and then opening KSystemSettings off the terminal:
KDE System Settings will open in Root Mode:
From there I'll just go to the GTK/QT colortheme modules and click apply on one of the installed themes.
I will then restart an the colorshemes should be there.
I won't have to worry about manually creating directories/files on /root because they have already been automatically done.
When the old version of kdesu was on our repos, this was the way I would do it.
Two different passwords: Root and username/Sudo
2) SU vs Sudo & Polkit vs Kdesu:
Synaptic asks for SU password for Authentication. (Polkit-KDE Authentication)
When Mounting a Hard Drive using Dolphin Manager it asks for SU Password. Polkit-KDE Authentication)
KDE Partition Manager asks for SU (Kdesu) [freezes]
Muon/Discovery ask for Sudo password when installing/uinstalling packages. (Polkit-KDE Authentication)
Muon/Discovery ask for SU when trying to configure Sources Lists (Kdesu) [freezes]
3) To solve the freezing I created file "kdesurc" on $HOME/.config:
Now I can open KDE Partition using Sudo
But is this safe from a security point? It is still using Kdesu.
Shouldn't all the GUI on KDE open using Polkit or any other alternative?
-------
# Going back to Synaptic on Root Dark Theme:
Are you using KDE?
Because what I think I read is that you added yourself to Sudo, and when opening Synaptic you will get Synaptic using the normal GTK Theme. Which is not happening in my case.
Even if I open KDE Partition Manager using Kdesu with Sudo privileges, I will get KDE Parition Manager with the default QT Colorscheme.
So far the easiest way I know is linking Kdesu to /usr/bin and then opening KSystemSettings off the terminal:
Code: Select all
kdesu systemsettings5
From there I'll just go to the GTK/QT colortheme modules and click apply on one of the installed themes.
I will then restart an the colorshemes should be there.
I won't have to worry about manually creating directories/files on /root because they have already been automatically done.
When the old version of kdesu was on our repos, this was the way I would do it.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Best way to make Synaptic use Dark Breeze theme?
Have you been able to find where kdesu is located on your system? If not, install mlocate, run "updatedb" as root or with sudo, then run "locate kdesu" after it finishes. It should then work if you invoke kdesu with its full path.
MX Linux packager and developer
- Xeno Idaltu
- Posts: 47
- Joined: 2019-08-15 05:36
- Location: Free-Source Technocracy
Re: Best way to make Synaptic use Dark Breeze theme?
It's on:
/usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu
I wouldn't mind using the default white themes but when I have everything using dark, even the browser it hurts our eyes.
I could use the terminal for almost everything but since I'm still learning it is helpful having GUIs to guide me around. Once I learn enough I almost never use them that much.
/usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu
I wouldn't mind using the default white themes but when I have everything using dark, even the browser it hurts our eyes.
I could use the terminal for almost everything but since I'm still learning it is helpful having GUIs to guide me around. Once I learn enough I almost never use them that much.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Best way to make Synaptic use Dark Breeze theme?
What happens when you run in the terminal:Xeno Idaltu wrote:It's on:
/usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu
I wouldn't mind using the default white themes but when I have everything using dark, even the browser it hurts our eyes.
I could use the terminal for almost everything but since I'm still learning it is helpful having GUIs to guide me around. Once I learn enough I almost never use them that much.
Code: Select all
/usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu systemsettings5
Doesn't it run the settings app as root?
MX Linux packager and developer
- wizard10000
- Global Moderator
- Posts: 622
- Joined: 2019-04-16 23:15
- Location: southeastern us
- Has thanked: 81 times
- Been thanked: 96 times
Re: Best way to make Synaptic use Dark Breeze theme?
You could also use sudo -H or sudo -i to run systemsettings5.
we see things not as they are, but as we are.
-- anais nin
-- anais nin
- NFT5
- df -h | grep > 20TiB
- Posts: 598
- Joined: 2014-10-10 11:38
- Location: Canberra, Australia
- Has thanked: 10 times
- Been thanked: 43 times
Re: Best way to make Synaptic use Dark Breeze theme?
Xeno Idaltu wrote:Are you using KDE?
Because what I think I read is that you added yourself to Sudo, and when opening Synaptic you will get Synaptic using the normal GTK Theme. Which is not happening in my case.
Re: Best way to make Synaptic use Dark Breeze theme?
install gtk-chtheme
then when you open settings and apply the GTK theme it will apply
I was able to get Adwaita-dark to work
then when you open settings and apply the GTK theme it will apply
I was able to get Adwaita-dark to work