LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 03-08-2004, 03:09 PM   #1
rootyard
Member
 
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
Starting xchat (or any other app for that matter) with geometry options


How do you start xchat (or any other app if there's a standard command line option across the board) with a specific geometry setting?

For example, I want to start xchat at 50, 50 (x, y axis) with sizing of 400x300.

Thanks
 
Old 03-08-2004, 03:14 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Try:

xchat -g 400x300+50+50
 
Old 03-08-2004, 03:18 PM   #3
rootyard
Member
 
Registered: Aug 2003
Posts: 167

Original Poster
Rep: Reputation: 30
Thanks Crashed_Again. Exactly what I needed especially with the way some window managers lose their geometry handlers at times Not to name any names...
 
Old 03-08-2004, 06:08 PM   #4
Creak
Member
 
Registered: Feb 2004
Distribution: debian
Posts: 187

Rep: Reputation: 30
maybe look at the xrdb program. it allows you to define ressources for each application.
Here is an example:

In my .xsession (or any script launched at the session startup):
Code:
xrdb -merge .Xdefaults
In my .Xdefaults:
Code:
! this is a comment
!! emacs
emacs.ReverseVideo: on
emacs.font: 7x13bold
emacs21.ReverseVideo: on
emacs21.font: 7x13bold

!! xterm
xterm*saveLines: 1000
xterm*reverseVideo: on
xterm*Background: black
xterm*Foreground: white
xterm*Font: 7x13
xterm*scrollBar: off
xterm*scrollbar*thickness: 5
Of course there is also geometry options. look at the man pages and even if it's not marked in it try to copy it from another app's options like xterm
It's a clean solution for what you ask.

Creak
 
Old 03-19-2004, 10:27 PM   #5
questone
LQ Newbie
 
Registered: Mar 2004
Location: Oshkosh, WI U.S.A.
Distribution: Mandrake 10.0
Posts: 17

Rep: Reputation: 0
Ok here's what I wanna do:

I don't want this config to be the default so to speak but I wanna be able to run a script that wil make these things happen. Btw Im MDK 10 w/ KDE3.2.

I would like to make the Xchat scrollbar, and menubar disappear, essentially all I want is tex on my screen. Im not as concerned with geometrty options because I do appreciate what the gui can do for me but once im set I want to emiminate all but text.

Thanks
quest
 
Old 03-22-2004, 05:48 AM   #6
Creak
Member
 
Registered: Feb 2004
Distribution: debian
Posts: 187

Rep: Reputation: 30
xchat doesn't have internal options that allow you to remove these bars ? ()
If not, just read a documentation of xchat (the man is really poor, so i think you'd find these information only on the net http://www.xchat.org/docs/

That's the only thing i can told you :/

Creak
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check if an app is running and if it's not launch this app Coume Linux - General 3 07-28-2008 02:34 AM
problem starting xchat woodland56 Debian 1 10-12-2005 02:18 AM
Starting An App From A Command-line linuxdawg Linux - Newbie 5 02-02-2005 09:06 AM
Starting a KDE app minimised? SMurf7 Linux - Newbie 3 03-08-2004 07:39 PM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 04:23 AM


All times are GMT -5. The time now is 09:00 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration