meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:prepare:x_window [2016/02/14 11:29] – niziak | linux:prepare:x_window [2023/01/03 11:49] (current) – niziak | ||
---|---|---|---|
Line 2: | Line 2: | ||
based on XFCE | based on XFCE | ||
- | === set default window manager === | + | ==== Font smoothing ==== |
+ | * Settings -> Appearance --> | ||
+ | |||
+ | <file xml | ~/ | ||
+ | <?xml version=" | ||
+ | < | ||
+ | < | ||
+ | <!-- | ||
+ | <match target=" | ||
+ | <edit name=" | ||
+ | </ | ||
+ | --> | ||
+ | < | ||
+ | use rgb sub-pixel ordering to improve glyph appearance on | ||
+ | LCD screens. | ||
+ | should always use target=" | ||
+ | | ||
+ | < | ||
+ | <edit name=" | ||
+ | <edit name=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Chrom browser. Go to [[chrome:// | ||
+ | * Firefox. Go to [[about: | ||
+ | * | ||
+ | ==== Focus stealing ==== | ||
+ | * Settings -> Window Manager -> Focus | ||
+ | * Settings -> Window Manager Tweaks -> Focus | ||
+ | |||
+ | ==== set default window manager | ||
<code bash> | <code bash> | ||
update-alternatives --config x-session-manager | update-alternatives --config x-session-manager | ||
Line 17: | Line 49: | ||
=== XFCE4: restore working TAB key and CTRL+D === | === XFCE4: restore working TAB key and CTRL+D === | ||
- | ~/ | + | <file | ~/ |
+ | < | ||
+ | |||
+ | </ | ||
=== misc === | === misc === | ||
Line 24: | Line 59: | ||
=== Power management === | === Power management === | ||
- | sudo apt-get install acpi-support | + | <code bash>sudo apt-get install acpi-support</ |
Turn off monitors command and lock: | Turn off monitors command and lock: | ||
+ | <code bash> | ||
xset dpms force off | xset dpms force off | ||
xscreensaver-command --lock | xscreensaver-command --lock | ||
+ | </ | ||
=== Control minitor brightness === | === Control minitor brightness === | ||
Line 36: | Line 73: | ||
</ | </ | ||
+ | === Enable/ | ||
+ | <code bash> | ||
+ | xrandr --output HDMI2 --off | ||
+ | xrandr --output HDMI2 --auto --right-of VGA1 | ||
+ | </ | ||
==== Using Brighntess Controller ==== | ==== Using Brighntess Controller ==== | ||
<code bash> | <code bash> | ||
Line 145: | Line 187: | ||
add before executing x-session: | add before executing x-session: | ||
- | <code bash ~/ | + | <file bash ~/ |
if test -z " | if test -z " | ||
eval `dbus-launch --sh-syntax –exit-with-session` | eval `dbus-launch --sh-syntax –exit-with-session` | ||
Line 151: | Line 193: | ||
$DBUS_SESSION_BUS_ADDRESS" | $DBUS_SESSION_BUS_ADDRESS" | ||
fi | fi | ||
- | </code> | + | </file> |
+ | |||
+ | Update: | ||
+ | It looks like now vncserver expects that '' | ||
+ | <file bash ~/ | ||
+ | xsession & | ||
+ | dbus-launch --exit-with-session lxsession | ||
+ | </file> | ||
=== Sound === | === Sound === |