Visit Our UNIX and Linux User Community


Bringing an Xterm window to top


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Bringing an Xterm window to top
# 1  
Old 08-21-2009
Bringing an Xterm window to top

Hi,

Is there a way to configure a Linux machine so that I can click on any where on the Xterm window to bring it to the front/top. By default, I have to click on the title bar but often the entire title bar is underneath another window.

Thanks in advance!

PS. GNU/Linux

Last edited by pidge66; 08-21-2009 at 12:43 AM..
# 2  
Old 08-21-2009
its more a question of configuring your Xserver...
If you want someone to reply you should give the GUI you are using (KDE? GNOME? etc...)
# 3  
Old 08-21-2009
Thanks! Indeed, I didn't know the right questions to ask nor the right information to supply. I'm still new to Linux and am dizzy dealing with the many variations of tools.

OK, now I have found out that the windows manager I'm running is twm, and the xterm configuration file is .Xresources. I'm accessing the linux machine through vncserver (I found out about twm by looking at the file, .vnc/xstartup.)

Given the above, can anyone tell me what parameter(s) to configure so I can raise a xterm window to the top without having to find its title bar and click on it? I've googled a few parameters but none of them seems to work:

Mwm*focusAutoRaise: True
Maker*focusAutoRaise: True
Xterm*AutoRaise: on

Is there any documentation on the parameters the .Xresources can set?
Thanks!!
# 4  
Old 08-21-2009
i don't use twm myself, but according to this document it's set in the .twmrc file.

especially have a look at 'Function "move or raise"'

hope this helps
# 5  
Old 08-23-2009
Thanks! Currently, someone showed me to use a different windows manager, namely, gnome, where left clicking on a window raises it to the top by default. So I'm cool. But I would like to try out the .twmrc approach next time when I am ready to reboot.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #79
Difficulty: Easy
GNU/Linux is directly descended from BSD.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Toggle between xterm window and standard terminal window

Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty? I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies

2. Linux

bringing up interface eth0 rtnetlink

Hi all, OS: fedora release 10 when i try to restart network service, ending up with following errors. There are two interfaces eth0 and eth1 bringing up interface eth0 rtnetlink answers file exists error adding <IP Address here> to eth0 bringing up interface eth0 rtnetlink answers... (2 Replies)
Discussion started by: lramsb4u
2 Replies

3. Shell Programming and Scripting

Xterm window,should not prompt for a password?

Hi all, I have a script that opens a xterm window and will prompt for a password. My intention is, instead of waiting for a password it should get the password from a file. How can I make this happen.?:confused: Any help much appreciated. (1 Reply)
Discussion started by: dnam9917
1 Replies

4. Red Hat

How to set xterm for Window Titls for PuTTy

Hi, I still cant find step by step manual how to make my putty display let say PWD in its title, read about some xterm, but where it is? Can anybody help me with this. Thx M (4 Replies)
Discussion started by: trento17
4 Replies

5. Shell Programming and Scripting

How do I Get the Title of My Putty Window (Emulating an XTerm)

I have a Perl script that changes the terminal window title and I would like to reset it to the original value when I am done. We are using Putty which emulates xterm. We are not running X-Windows so I can't use something like xprop (can I?). I'm using XTerm control codes to change the title and I... (2 Replies)
Discussion started by: NateTut
2 Replies

6. UNIX for Dummies Questions & Answers

bringing a process to the foreground

If i have a single file i would just press fg but if i have multiple files running in the backgound and want to bring a specific one to the foreground how would i do that? Thanks!! (1 Reply)
Discussion started by: JamieMurry
1 Replies

7. UNIX for Dummies Questions & Answers

Equivalent unix command to minimize/maximize xterm window

To all experts, I need some advice on how I can enter a unix command which is equivalent to the action of minimizing/maximizing an active xterm window. How can I do this (i) when control is in the active xterm window to be minimized/maximized , & (ii) when control is in a xterm window which runs... (0 Replies)
Discussion started by: icemocha75
0 Replies

8. UNIX for Dummies Questions & Answers

how to disable color text in xterm window

Hello, Anyone knows how to disable color text displayed on xterm window screen? I hate that color making me hard to read when front and background color are similar. Thanks, M. (1 Reply)
Discussion started by: modemer
1 Replies

9. Windows & DOS: Issues & Discussions

window 2000 professional not pinging my window 98 system.

Hello, We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies

10. Shell Programming and Scripting

Maximizing an xterm or aixterm window?

Is there a way to maximize an xterm window in a ksh script? I've tried a number of approaches, but none seem to have the desired affect. All I want to accomplish is to have the window maximized upon being called in the script...i.e: xterm -T MyNewXterm -e programToOpen & | maximized --or... (1 Reply)
Discussion started by: spieterman
1 Replies

Featured Tech Videos