[SOLVED] Can't theme context menus

Forum rules
Before you post please read how to get help
DSan
Level 1
Level 1
Posts: 3
Joined: Wed Jan 01, 2014 9:24 pm

[SOLVED] Can't theme context menus

Postby DSan » Wed Jan 01, 2014 9:36 pm

I've looked through the theme creation for Cinnamon, but I can't see how to apply themed elements/appearance to context menus
(ie, the R-click of the desktop menu for example).

Is there a way to apply the same theme look that can be set for the panel and main menu, to also apply to context/R-click menus?

I'm running Linux Mint 16 "Petra".
Last edited by DSan on Wed Jan 08, 2014 12:06 am, edited 1 time in total.

User avatar
austin.texas
Level 17
Level 17
Posts: 7503
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Can't theme context menus

Postby austin.texas » Thu Jan 02, 2014 7:37 pm

Cinnamon.css does not control the right click menus for the desktop or Nemo. Those are controlled by gtk3.
Check System Settings > Themes > Other Settings > Controls to see which gtk3 theme you are using, then edit that gtk-3.0/settings.ini file.
Mint 17.3 Cinnamon (64 bit), Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Microsoft-free environment since 1996

Linux Linx 2016

DSan
Level 1
Level 1
Posts: 3
Joined: Wed Jan 01, 2014 9:24 pm

Re: [SOLVED] Can't theme context menus

Postby DSan » Wed Jan 08, 2014 12:09 am

Thank you!

I had Adwaita for the 'Controls' setting under Themes | Other Settings | Controls, and no matter what I did I couldn't alter the look. But it did work after using other 'Controls' settings (like Mint-X). I think Adwaita has some binary elements to it that result in limited customization, compared to other gtk themes.

User avatar
austin.texas
Level 17
Level 17
Posts: 7503
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: [SOLVED] Can't theme context menus

Postby austin.texas » Wed Jan 08, 2014 6:54 am

That sounds odd. I will have to see if I can reproduce that.
Could it be that there was a copy of Adwaita in /home/user/.themes ?
That would nullify any changes made to Adwaita in /usr/share/themes
Mint 17.3 Cinnamon (64 bit), Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Microsoft-free environment since 1996

Linux Linx 2016

DSan
Level 1
Level 1
Posts: 3
Joined: Wed Jan 01, 2014 9:24 pm

Re: [SOLVED] Can't theme context menus

Postby DSan » Sat Jan 25, 2014 4:04 am

I don't have Adwaita in /home/<user>/,themes

I only have it in /usr/share/themes.

JosephM
Level 5
Level 5
Posts: 501
Joined: Sun May 26, 2013 6:25 pm

Re: [SOLVED] Can't theme context menus

Postby JosephM » Sat Jan 25, 2014 7:01 am

The adwaita theme is a sort of compiled gtk theme. While the settings.ini file does exist in the adwaita folder, changing colors in that file will not do what you want. Those colors control the themes global color scheme. In other words changing one of those colors will likely change all kind of things in the theme.

As to your original question. The context menu is a GtkMenu. You can theme this but the theme changes will affect all menus, including those in applications like the File and Edit menus within your applications.


Return to “Themes, Icons, & Wallpaper”

Who is online

Users browsing this forum: No registered users and 3 guests