Easy change between light and dark themes

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
balarm
Posts: 160
Joined: Thu Dec 07, 2017 2:15 pm

Re: Easy change between light and dark themes

#11 Post by balarm »

Good morning guys,
@fehlix thanks, I excuted your steps but I was wrong about the desktop file name, forgetting to add ".desktop" to the name. Very interesting and useful the step "permanent way to put......."
at this point would you like having the honor to choose the icon button panel?
Have a good and nice Sunday, here, in Sicily, is warm and sunny.
Bye
mx Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.2
Distro: MX-19.3x64 patito feo October 21 2019
Machine: Type: Laptop System: LENOVO product: 1951A47 v: ThinkPad T60

User avatar
fehlix
Developer
Posts: 12597
Joined: Wed Apr 11, 2018 5:09 pm

Re: Easy change between light and dark themes

#12 Post by fehlix »

balarm wrote: ... to choose the icon button panel
If you prefer to change the displayed icon of the "button" on the panel :cool:,
within the menu or on the desktop (wherever you have placed it) you can
manually change it by this:
-> Right-click on the icon-button
-> click Properties
-> click the little pencil on the right side below to "Edit ..."
-> click on the displayed Icon to select another one
PS: I’m sure :crossfingers: it’s mentioned somewhere in the mx-user manual,
but haven’t checked this.

Happy sunday! :happy:

balarm
Posts: 160
Joined: Thu Dec 07, 2017 2:15 pm

Re: Easy change between light and dark themes

#13 Post by balarm »

Sorry for my english, but I invited you to "choose" and show which you prefer just for fun ;)
mx Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.2
Distro: MX-19.3x64 patito feo October 21 2019
Machine: Type: Laptop System: LENOVO product: 1951A47 v: ThinkPad T60

User avatar
K_B_Tidwell
Posts: 13
Joined: Thu Sep 02, 2021 9:25 am

Re: Easy change between light and dark themes

#14 Post by K_B_Tidwell »

This is an excellent utility tutorial, and it has come in especially handy for sometimes working outside in bright light and other times working inside in darker areas. I would add that it should be noted that in later versions of MX Linux the theme names have changed and must be updated in the code accordingly.

Great contribution!
K B

MXRobo
Posts: 1818
Joined: Thu Nov 14, 2019 12:09 pm

Re: Easy change between light and dark themes

#15 Post by MXRobo »

FYI Here's a link to a modified bash magic for toggling the "Blank to" time in the Power Manager Display in Xfce.
Xfce Power Manager (xfce4-power-manager-settings) → Display – Plugged in - - Display power management - - - Blank after

viewtopic.php?p=770881#p770881

I removed the panel toggle, and used Keyboard → Application Shortcuts – Alt+B

Also, some other methods that would work – maybe avoid the xml files method, according to DO.

Works great!

maxmoon
Posts: 79
Joined: Sun Nov 17, 2019 3:31 pm

Re: Easy change between light and dark themes

#16 Post by maxmoon »

This is such a cool idea, because after a new installation of MX Linux I forget how to change the theme. For this I've created aliases to solve this problem forever:

Code: Select all

alias theme_dark="xfconf-query -c xsettings -p /Net/ThemeName -s \"Arc-Dark\""
alias theme_light="xfconf-query -c xsettings -p /Net/ThemeName -s \"Greybird-mx17\""

User avatar
asqwerth
Developer
Posts: 7757
Joined: Sun May 27, 2007 5:37 am

Re: Easy change between light and dark themes

#17 Post by asqwerth »

In MX-tweak [for XFCE], isn't there a way to save theme sets [gtk theme plus icon set], which you can then apply as and when you want?
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
CharlesV
Global Moderator
Posts: 7059
Joined: Sun Jul 07, 2019 5:11 pm

Re: Easy change between light and dark themes

#18 Post by CharlesV »

Yes, MX tweak | Themes. you can save your current, and use / restore from there as well.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

maxmoon
Posts: 79
Joined: Sun Nov 17, 2019 3:31 pm

Re: Easy change between light and dark themes

#19 Post by maxmoon »

I don't see anything in mx-tweak, but this might be, because I am using i3wm. So if I forget to change the theme at the very first startup in xfce, I need a workaround. But the aliases might work.

User avatar
asqwerth
Developer
Posts: 7757
Joined: Sun May 27, 2007 5:37 am

Re: Easy change between light and dark themes

#20 Post by asqwerth »

xfce theming won't show up mx-tweak if you are using another window manager/DE
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

Post Reply

Return to “Tips & Tricks by users”