LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 03-08-2016, 06:32 PM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
gxmessage alternative that lets you change font


Is there an alternative to gxmessage that lets you change the font size of the messages it displays ?
 
Old 03-09-2016, 08:15 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,561

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
I believe zenity will let you apply Pango markup to your text
 
Old 03-10-2016, 10:09 AM   #3
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Thanks.
 
Old 03-24-2016, 12:13 AM   #4
trmusson
LQ Newbie
 
Registered: Mar 2016
Posts: 2

Rep: Reputation: Disabled
Smile

Hi! I'm the author of gxmessage.

The font (including size) for the main message can be given like this:

$ gxmessage -font 'sans 50' 'Hello, world!'
$ gxmessage -font 'serif 50' 'Hello, world!'
$ gxmessage -font 'mono 50' 'Hello, world!'
$ gxmessage -font 'Comic Sans MS 50' 'Hello, world!'

The button text, however, depends on your GTK theme.

If the -font option isn't working for you, please get in touch so I can check it out

Thanks,

Tim
 
Old 03-24-2016, 10:52 AM   #5
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Thanks.

The window for this message is not large enuf to show the whole message. Is there a limit to the window size.

Quote:
gxmessage -font 'sans 20' -timeout 2 ' BACKING UP FILES FOR SLACKO 6.3.0 TO $Drive_SDC2 AND $Drive_SDB1'
 
Old 03-24-2016, 07:48 PM   #6
trmusson
LQ Newbie
 
Registered: Mar 2016
Posts: 2

Rep: Reputation: Disabled
Before version 2.20.4, there was a silly bug that screwed up automatic window sizing. If you have the latest version (2.20.4), it should be fine.

Gxmessage is supposed to open a window sized according to the text you feed it, up to a maximum of 70% screen width and 70% screen height. (That's what xmessage does, so gxmessage is supposed do behave the same way.)

If the default window size isn't big enough, take a look at the -geometry option:

-geometry 1000x50
-geometry 1000x50+80+80

Or try the -wrap option, which switches on word-wrapping.

See gxmessage -help and man gxmessage for more info
 
Old 03-24-2016, 08:37 PM   #7
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Thanks.

I have version 2.12. How do I get version 2.20 ?

PPM does not have it.

Last edited by Fixit7; 03-24-2016 at 10:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternative (open) to MS Symbol font ? patrick295767 General 6 12-28-2015 09:52 PM
Help with gxmessage parameters Fixit7 Puppy 1 12-06-2014 05:39 AM
[SOLVED] How to change the default font-family and font-size under kde 4.8.4? kite Slackware 3 07-07-2012 11:55 AM
Large Font in X/ Change default X font marales314 Debian 6 07-26-2007 11:28 PM
How to change font color and font size in terminal ? wlaw Linux - Newbie 3 05-15-2007 08:57 PM


All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration