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

Forum rules
Before you post please read how to get help
Post Reply
bobalex
Level 1
Level 1
Posts: 27
Joined: Sat Jan 14, 2017 1:41 pm

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

Post by bobalex » Thu Aug 17, 2017 6:15 pm

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

User avatar
austin.texas
Level 20
Level 20
Posts: 12053
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 » Wed Aug 23, 2017 4:52 pm

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 1
Level 1
Posts: 27
Joined: Sat Jan 14, 2017 1:41 pm

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

Post by bobalex » Wed Aug 23, 2017 6:48 pm

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
Level 2
Level 2
Posts: 68
Joined: Wed Jun 07, 2017 12:34 pm

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

Post by Reaccion Raul » Tue Apr 10, 2018 12:51 pm

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
Level 2
Level 2
Posts: 68
Joined: Wed Jun 07, 2017 12:34 pm

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

Post by Reaccion Raul » Tue Apr 10, 2018 1:50 pm

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

Post Reply

Return to “Themes, Icons, & Wallpaper”