Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey. I'd like to launch xterm maximized from a menu entry/other terminal.
Seems like there should be a way to do it, xterm -max or whatever.
What is it?
Edit: In case anyone is wondering why, it's not because of any functional reason. I just want to make shell script that will launch xterm full screen, clear it, and lock it with xtrlock.
Maybe not what you are hoping for, but the following will open a xterm at at certain location with a certain size:
xterm -geometry 100x50+0+0
The above command opens an xterm at location +0+0 (top left of the screen) with a size of 100 (horizontal) x 50 (vertical).
If you do not know the size of your screen, use the xwininfo command to find out what it is (last line of output is the -geometry option, which can be copied and pasted).
Actually, from the manpage on xterm you use "xterm -maximized".
Note, this requires the window manager to provide the correct geometry. some don't.
For instance, xfwm4 doesn't accept the equivalent +maximized option (it is documented as equivalent, but xfwm4 doesn't respond except with the default size for the window). xfwm4 DOES respond properly for the -maximized option.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.