Linux Lite Forums

Software - Support => Tutorials => Topic started by: anon222 on January 18, 2015, 06:26:28 PM

Title: How to change the font of the Whisker Menu Title
Post by: anon222 on January 18, 2015, 06:26:28 PM
I've discovered this accidentally. You can change the title if you use the pango markup language (https://developer.gnome.org/pygtk/stable/pango-markup-language.html).
Right-click on the Menu then Properties.
(http://i.imgur.com/9TfSecn.png)
When the whisker menu dialog  opens change the title to this:
Code: [Select]
<span foreground="black" size="large">Menu</span>foreground defines the font color
You can set your own font color. For example red, green, #fff, #fcfc02...
size defines the font size, some of them are 'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'
If you want to see more options follow this link (https://developer.gnome.org/pygtk/stable/pango-markup-language.html)
(http://i.imgur.com/thVMZ6T.png)
Title: Re: How to change the font of the Whisker Menu Title
Post by: bitsnpcs on January 18, 2015, 07:48:36 PM
Thank You for the tutorial misko  :)
Title: Re: How to change the font of the Whisker Menu Title
Post by: anon222 on January 18, 2015, 09:53:03 PM
Cheers bits
I've contacted the developer and he will not be adding options to control the pango markup.
Every option adds more complexity, and he has to determine what he feels is appropriate to maintain.
I don't mind that. In the future he's adding transparency to the menu. That's going to be so cool. :)
Title: Re: How to change the font of the Whisker Menu Title
Post by: rokytnji on January 18, 2015, 10:12:02 PM
Goes with my Steampunk Icon set and Conky. Everything blends just right.

(http://i.imgur.com/6wBjWk5.png)
Title: Re: How to change the font of the Whisker Menu Title
Post by: anon222 on January 18, 2015, 10:26:23 PM
Very nice Rok.Thumbs up.(http://www.psdgraphics.com/wp-content/uploads/2009/12/thumbs-up.jpg)
Title: Re: How to change the font of the Whisker Menu Title
Post by: altman on January 19, 2015, 10:59:43 AM
Thanx for the tutorial Misko ! Keep them coming up .

Great shot rokyt .
Title: Re: How to change the font of the Whisker Menu Title
Post by: bitsnpcs on January 24, 2015, 11:46:06 AM
Hello misko,
I have just used your tutorial, I used gimp color picker to find the hex for the icon colour then used that as the menu foreground colour, added weight as heavy, and size medium.
It looks very nice, Thank You  :)
Title: Re: How to change the font of the Whisker Menu Title
Post by: anon222 on January 24, 2015, 03:42:14 PM
You are welcome. :)