Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th August 2012, 03:26 AM
staffordj Offline
Registered User
 
Join Date: Aug 2012
Location: McKinney, TX
Posts: 3
windows_7firefox
lxterminal default geometry

Hi everybody,

Back in the "olden days" (X11R5, X11R6, Motif, etc.) you would configure X apps in a .Xdefaults or .Xresources file and do an xrdb -merge on it to make them take effect. That no longer appears to be the way it is done.

I want to make the default geometry for lxterminal to be 90x70. I can't find anyway to make this happen.

I'm using LXDE/openbox on Fedora 17.

Johnie
Reply With Quote
  #2  
Old 5th August 2012, 05:03 AM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 4,979
linuxchrome
Re: lxterminal default geometry

.Xdefaults still works for me. You may need the class name. To get that, I run

xprop |grep WM_CLASS

then click the mouse on the program in question, for example, urxvt. (I don't have LXDE on this).
I get back
Code:
WM_CLASS(STRING) = "urxvt", "URxvt"
WM_CLIENT_MACHINE(STRING) = "scott1.scottro.net"
WM_COMMAND(STRING) = { "urxvt" }
In this case, URxvt, rather than urxvt, is the class so I use that name in .Xdefaults.

See if using the class name makes a difference--it will be the second name in the WM_CLASS(STRING) line, I think. I've never quite figured this out, but in openbox, for example, when one uses either application name or application class, if choosing class, one uses the second name in that line
Reply With Quote
  #3  
Old 5th August 2012, 01:40 PM
staffordj Offline
Registered User
 
Join Date: Aug 2012
Location: McKinney, TX
Posts: 3
windows_7firefox
Re: lxterminal default geometry

Thanks for your reply. Unfortunately, it appears that lxterminal doesn't heed the X resources database.

Johnie
Reply With Quote
  #4  
Old 5th August 2012, 05:34 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: lxterminal default geometry

If everything else fails you could use an alias or rename the lxterminal binary and use a little wrapper script which checks if a geometry option was supplied and use your default values otherwise.
Reply With Quote
  #5  
Old 5th August 2012, 09:37 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
linuxchrome
Re: lxterminal default geometry

What's so hard about doing "man lxterminal" ??
Quote:
--geometry=CHARACTERSxLINES

Set the terminal's size in characters and lines.
No, it's not quite the same thing as setting actual screen pixel size, but surely, using the --geometry= option should let you at least approximate a particular screen size with a little experimentation. If you want to control the terminal size/location on screen using ~/.Xdefaults or ~/.Xresources, then why not use either xterm or rxvt-unicode instead of lxterminal?

---------- Post added at 04:37 PM ---------- Previous post was at 04:26 PM ----------

Code:
BASH:~/-> cat .Xresources 
!! File : .Xresources
!xterm*font: -*-fixed-medium-*-*-*-18-*-*-*-*-*-iso8859-*

XTerm*title: xterm
XTerm*background: #011622
XTerm*foreground: WhiteSmoke
XTerm*pointerColor: white
XTerm*pointerColorBackground: #011622
XTerm*cursorColor: #EBD27D
XTerm*internalBorder: 3
XTerm*loginShell: true
XTerm*scrollBar: false
XTerm*scrollKey: true
XTerm*saveLines: 1250
XTerm*multiClickTime: 250
XTerm*Geometry: 135x50+110+60
XTerm*renderFont: true
XTerm*faceName: DejaVuSansMono
XTerm*faceSize: 12
XTerm*VT100.eightBitInput:  true
XTerm*VT100.eightBitOutput:  true

URxvt*title: urxvt
URxvt*depth: 32
URxvt*saveLines: 12000
URxvt*loginShell: true
URxvt*internalBorder: 3
URxvt*cursorColor: orange
URxvt*pointerColor: yellow
URxvt*foreground: WhiteSmoke
URxvt*background: rgba:0000/0000/0000/2222
URxvt*geometry: 140x50+110+60
URxvt*font: xft:Bitstream Vera Sans Mono:pixelsize=13
!URxvt*font: -*-courier-medium-r-normal-*-*-140-*-*-*-*-iso8859-1
!URxvt*boldFont: -*-courier-bold-r-normal-*-*-140-*-*-*-*-iso8859-1
URxvt*scrollBar: false
URxvt*scrollBar_right: false
URxvt*scrollstyle: rxvt

Last edited by PabloTwo; 5th August 2012 at 09:42 PM.
Reply With Quote
Reply

Tags
default, geometry, lxterminal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vncserver geometry overriden mikealec Using Fedora 4 6th May 2013 09:03 PM
Changing desktop geometry caro23 Using Fedora 2 25th July 2007 06:38 PM
About geometry on USB pendrive satimis Hardware & Laptops 0 6th March 2006 04:33 AM
FC4 Drive Geometry mercury8 EOL (End Of Life) Versions 3 14th June 2005 04:46 PM
hda geometry? Stingus Installation and Live Media 8 15th September 2004 07:26 PM


Current GMT-time: 12:29 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat