X: Difference between revisions
Jump to navigation
Jump to search
(→Mouse) |
No edit summary |
||
Line 2: | Line 2: | ||
* '''<tt>xset</tt>''' is a ''user preference utility for X''. It can be used to set different settings in X. |
* '''<tt>xset</tt>''' is a ''user preference utility for X''. It can be used to set different settings in X. |
||
To get the current configuration settings: |
:To get the current configuration settings: |
||
: <pre>xset q</pre> |
|||
== Mouse == |
== Mouse == |
||
;To adjust mouse properties, use '''<tt>xset m</tt>'''. |
|||
Default settings (restored with <tt>xset m</tt>): |
:Default settings (restored with <tt>xset m</tt>): |
||
: <pre>Pointer Control: acceleration: 2/1 threshold: 4</pre> |
|||
⚫ | |||
acceleration: 2/1 threshold: 4 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
* In Gnome, mouse settings can also be configured in ''System → Hardware → Mouse''. |
* In Gnome, mouse settings can also be configured in ''System → Hardware → Mouse''. |
||
Line 18: | Line 17: | ||
* In ''Gnome'', |
* In ''Gnome'', |
||
** Press ''<tt>PrtScn</tt>'' to take a screenshot of the complete desktop. |
** Press '''<tt>PrtScn</tt>''' to take a screenshot of the complete desktop. |
||
** Press ''<tt>Alt + PrtScn</tt>'' to take a snapshot of window under mouse pointer. |
** Press '''<tt>Alt + PrtScn</tt>''' to take a snapshot of window under mouse pointer. |
||
* There exists also plenty of command-line & GUI solutions ([http://tips.webdesign10.com/how-to-take-a-screenshot-on-ubuntu-linux]). |
* There exists also plenty of command-line & GUI solutions ([http://tips.webdesign10.com/how-to-take-a-screenshot-on-ubuntu-linux]). |
||
== Synergy == |
|||
;Chinese bug |
|||
:When copy/pasting text (incl. address bar) from Firefox to a remote Windows screen, chinese characters are printed instead. A workaround is to install package '''xselection''' (or '''xsel'''), and type in a console '''<tt>xselection PRIMARY</tt>''' before pasting in the remote Windows screen. |
|||
;Security |
|||
:Data are not encrypted between the server and the client(s). To enable this, use SSH port forwarding. Run on the remote client: |
|||
:<source lang="bash"> |
|||
ssh -f -N -L 24800:<server-name>:24800 <user-server-name>@<server-name> && synergyc localhost |
|||
</source> |
|||
:However, this creates some lag, and mouse movement are a bit jerky. Another solution is to not use wireless connection, and connect computers through a network switch so that local communication are not visible to other computers on the network. |
|||
;Login / Unlocking screen saver on Windows client |
|||
:On Windows client, Synergy must be configured to '''autostart at boot''' in order to be able to unlock a session (eg. when client screensaver is protected by a password). |
|||
;Keymaps |
|||
:Server and all client must be configured to all use exactly the '''same keymap'''. On Windows client, this is valid for logged user but also for at least ''Administrator'' account. Otherwise typing in the login window will give incorrect characters. |
Revision as of 22:56, 4 October 2008
General
- xset is a user preference utility for X. It can be used to set different settings in X.
- To get the current configuration settings:
xset q
Mouse
- To adjust mouse properties, use xset m.
- Default settings (restored with xset m):
Pointer Control: acceleration: 2/1 threshold: 4
- Set custom settings:
% xset m 1/1 2 # xset m [acc_mult[/acc_div] [thr]]
- In Gnome, mouse settings can also be configured in System → Hardware → Mouse.
Screenshot
- In Gnome,
- Press PrtScn to take a screenshot of the complete desktop.
- Press Alt + PrtScn to take a snapshot of window under mouse pointer.
- There exists also plenty of command-line & GUI solutions ([1]).
Synergy
- Chinese bug
- When copy/pasting text (incl. address bar) from Firefox to a remote Windows screen, chinese characters are printed instead. A workaround is to install package xselection (or xsel), and type in a console xselection PRIMARY before pasting in the remote Windows screen.
- Security
- Data are not encrypted between the server and the client(s). To enable this, use SSH port forwarding. Run on the remote client:
ssh -f -N -L 24800:<server-name>:24800 <user-server-name>@<server-name> && synergyc localhost
- However, this creates some lag, and mouse movement are a bit jerky. Another solution is to not use wireless connection, and connect computers through a network switch so that local communication are not visible to other computers on the network.
- Login / Unlocking screen saver on Windows client
- On Windows client, Synergy must be configured to autostart at boot in order to be able to unlock a session (eg. when client screensaver is protected by a password).
- Keymaps
- Server and all client must be configured to all use exactly the same keymap. On Windows client, this is valid for logged user but also for at least Administrator account. Otherwise typing in the login window will give incorrect characters.