You are not logged in.
Pages: 1
Is there a way to modify the colors of the window title bar, menu bar and icon bar? right now they are all black and I would like to have the menu bar and icon bar different. Tried playing with desktop settings, but can't find it.
Thanks everybody.
Offline
It kind of depends on a number of items:
- Window bar - is this a CSD (client side decorated) or SSD (server side decorated) bar? The former can be adjusted using CSS, while the later would involve editing the xfwm4 theme.
- menu bar/icon bar - this would depend on the toolkit that was used to program the app. GTK3 can be changed via CSS, QT has a separate method that I am unfamilair with, and there are other toolkits as well.
Perhaps you could post a screenshot so we could visually identify those elements?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I hope the link works, it did not allow me to use the img tag.
https://drive.google.com/file/d/1vwLSH_ … sp=sharing
this is emacs installed from linux mint.
This is GNU Emacs, one component of the GNU/Linux operating system.
GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
of 2022-01-24, modified by Debian
Copyright (C) 2020 Free Software Foundation, Inc.
Offline
Looks like its built with GTK. I have a later version so it might be different, but can you try the following snippet to see if it works?
Add to (or create if it doesn't exist) the file ~/.config/gtk-3.0/gtk.css and add the following content:
#Emacs menubar {background-color: red}
#Emacs toolbar {backround-color: #0000ff}
...change the colours to suit.
Save the file and restart emacs to see the change.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
is there a way to modify all windows? thunar looks the same
https://drive.google.com/file/d/1ttD3QS … sp=sharing
the bar that says 'immanuel' (title bar) is black and the menu bar beneath is also black. this must be due to XFCE as windows don't look like that in Mate or Unity. there should be some XFCE setting to take care of all windows.
If there is no such thing I will try mucking with settings at the app level.
Cheers
Offline
The widgets (toolbar and menubar) are standard in GTK3. If any application makes use of them you can affect them all (I believe thunar makes use of them). In that case, remove the "#Emacs" ID and the tweak will affect all GTK toolbars and menubars:
menubar {background-color: red}
toolbar {backround-color: #0000ff}
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 536.59 KiB (Peak: 537.43 KiB) ]