This section provides a comprehensive example that ties together some of the concepts and procedures discussed in this chapter.
Let's assume you are temporarily working on a system, using a departmental account that is accessed by several users. While most of these users are right-handed, you are left-handed. Let's also assume the system uses a 20-inch, high resolution display, but your colleagues have configured the mouse so it moves more slowly over the large screen than you would prefer.
You want to reconfigure the mouse for left-handed use and speed up the mouse cursor movement but you do not want to overwrite the mouse settings that satisfy the majority of users who access the departmental account.
This example covers how to make these changes for your current session only. The commands used affect only the current session, unlike using scomouse, which affects not only the current session but also all subsequent sessions.
The following steps result in a mouse that is temporarily configured for left-handed use and faster movement across the display.
You should see the following:
There are 3 pointer buttons defined.
Physical Button Button Code 1 3 2 2 3 1
You can now use the mouse button on the right to perform all mouse button 1 actions.
Because you also want to precisely position the mouse cursor, you need to increase the rate of the mouse's threshold. For this example, we'll set the threshold so the cursor must move over 8 pixels on the screen before the mouse cursor actually accelerates.
To make these settings, enter the following command from
a scoterm window:
xset m 6 8
You see a list of all the current xset preferences, including the current mouse movement parameter values:
Pointer Control: acceleration: 6 / 1 threshold: 8The mouse is now configured to suit your preferences. When you end your session and log out, your temporary mouse configuration settings are removed.