SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am wondering whether it is possible to remap the keyboard for only a single instance of a terminal (i.e. xterm) in xwindows?
I have my keyboard set to dvorak in general, but a certain application requires me to use the qwerty layout because of the arrangement of keys. What I want to do is be able to just start xterm and enter some command to change the layout for that xterm so that any subsequent applications run from that terminal use the qwerty layout. However, all other windows in X and the other consoles should still use the dvorak layout.
Yes, I have done that already. I am able to get X to run with the dvorak keyboard layout. However, what I want to be able to do is open up a terminal window in X (that currently uses the dvorak layout), run a command to change only _that_ terminal to a qwerty layout, and then be able to run a program from that terminal using the qwerty layout while the rest of X uses the dvorak layout. I don't want to have to edit the file and restart X.
Oh, they are FPS games, namely America's Army and Wolfenstein: Enemy Territory. Some newer games automatically remap the keys if you are in a different layout, but not these. In principal, I can manually relay all the keybindings in the game, but I'd rather not do that.
Pardon my ignorance, but wouldn't it be easier to just change the keybindings in the game itself? I'd be very surprised if these two games did not allow custom keys to be chosen by the player for switching weapons, moving around, etc.
Well, I think that's what I was asking; how is it simpler to 1) get xterm to specify a specific instance (the one where you're playing the game, rather than the one where you're installing something with pkgtool or whatever else one might do in an xterm), and then 2) change the keyboard layout for that instance and 3) pass the changed layout to the program running in the Xterm (which may not even accept this action), than it is to 1) change the configuration of the keys in the application once? Unless of course, you play these games with both kinds of keyboard, so you'd need to switch them, depending on which keyboard you happened to be using at the time.
Perhaps you could write a short script to start these games. One which would either start the game in a new instance of X that used a different configuration file (changing the keyboard), or one which exported the keyboard map variable before starting the game.
Just an idea, as I have never had to change my keyboard map on the fly, or for a limited period, but maybe it will help.