Forums » Puck Software

Illegible menu using Puck on Ubuntu Unity desktop.

Author Message
Christian MOMON
 Illegible menu using Puck on Ubuntu Unity desktop.
24/05/2015 00:57  
Hi, I'm Christian, a software engineer working on Puck.

Many people using the Ubuntu GNU/Linux distribution with the Unity desktop noted a problem of legibility of the main menu in Puck.

Two solutions to resolve the issue:

1. Upgrade to Ubuntu 15.04 called "Vivid Vervet": Java main menu has a better integration in this new version.

or

2. Stay with an old Ubuntu version: you need to apply the following easy tips.

a. Copy the /usr/share/themes/Ambiance directory to the .themes directory in your home (note that the "." is part of the name of the target directory). You can use file browser or line command ( mkdir ~/.themes ; cp -r /usr/share/themes/Ambiance ~/.themes/).

b. Fix the GTK configuration file: open the ~/.themes/Ambiance/gtk-2.0/gtkrc file and replace
style "menu" {
by
style "menu" = "dark" {
then save, it is over.

It is strongly recommanded to apply the solution 1.

Regards.
Anne Garcia-Fernandez
29/05/2015 15:53  
Thanks for the solutions. I had this problem and it helps me a lot.

Nevertheless, I used this third solution (on Ubuntu 12.04.5 LTS) inspired by your second solution:
mkdir ~/.themes
cp -r /usr/share/themes/Ambiance ~/.themes/Ambiance

And then I modified the file ~/.themes/Ambiance//gtk-2.0/gtkrc
style "menubar" = "dark" {
by
style "menubar" {
Thus, the style used for the menubar is also valid when the theme is set to "dark".



An other trick to have a better visualization of separators in the menu in this very same file I did the following modifications:
style "separator_menu_item" {
xthickness = 6 #annegf initially set to 1
ythickness = 6 #annegf initially set to 0
GtkSeparatorMenuItem::horizontal-padding = 0
GtkWidget::wide-separators = 2 #annegf initially set to 1
GtkWidget::separator-width = 2 #annegf initially set to 1
GtkWidget::separator-height = 7

engine "murrine" {
contrast = 0.9 #annegf initially set to 0.6
separatorstyle = 0
}
}
Pietro Fornasetti
11/04/2017 10:54  
Hello,
What about the same problem on other linux distros, such as linux Mint ?
I'm using Puck 2.3.40
and Linux Mint 18 Cinnamon 64 bit

(I don't have the theme "Ambiance" as a default one...)

Best regards,
Pietro

back
© Développement : DEVINSY
© Webdesign : Aurélie Martial

ANR
Huma-Num
CNRS
EHESS
Collège de France
Université de Paris Sorbonne
Université Paris Ouest Nanterre La Défense
CSAC Kent University