Possible to change color of context (right click) Menu?

Style your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bobalex
Level 2
Level 2
Posts: 52
Joined: Sat Jan 14, 2017 1:41 pm

Possible to change color of context (right click) Menu?

Post by bobalex »

Hi All - Mint 18.2. I've been able to customize the cinnamon.css file to get the exact look I like except for the menu that pops up when I right click on the desktop. How do I change its background color?
Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Possible to change color of context (right click) Menu?

Post by austin.texas »

The right-click menu on the Desktop is controlled by Nemo - which is gtk3
In the gtk-3.0 folder in your theme, open gtk-widgets.css
Go to:
.menu .menuitem
and add:
background-color: #whatevercoloryouwant;

So that it looks like this:

Code: Select all

.menu .menuitem {
    background-color: #F5F5B5;
    color: #c86400;
}
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
bobalex
Level 2
Level 2
Posts: 52
Joined: Sat Jan 14, 2017 1:41 pm

Re: Possible to change color of context (right click) Menu?

Post by bobalex »

Hey austin,texas - Again ... problem solved.

Yesterday I stole/cannibalized from your themes successfully. I've got wooden backgrounds & borders as well as grafting the windows control buttons from Dans Rainy Day Blues onto Dans Autumn Woods. As soon as my real jobs are finished I'll get back to reading your Theme Editing Guide. But for now I'm very content with my hybrid theme.

Bob
Reaccion Raul

Re: Possible to change color of context (right click) Menu?

Post by Reaccion Raul »

Could someone help me?

Overall i love the look of Mint-y Darker. Perfection would be for me to got this mixed with the Whisker Mint-y Dark menu (almost done already) and contextual menus in black too.

I found there's two folders for each, but i don't know what i should copy from Mint-y Dark into Mint-y Darker
Reaccion Raul

Re: Possible to change color of context (right click) Menu?

Post by Reaccion Raul »

Problem solved too.

With this app it's really easy. Found on this forum.

Code: Select all

sudo add-apt-repository ppa:shimmerproject/ppa
sudo apt-get update
sudo apt-get install gtk-theme-config
Locked

Return to “Themes, Icons & Wallpaper”