meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:prepare:x_window [2016/02/14 11:29] niziaklinux:prepare:x_window [2017/01/30 22:50] – [Font smoothing] niziak
Line 2: Line 2:
 based on XFCE based on XFCE
  
-=== set default window manager ===+==== Font smoothing ==== 
 +  * Settings -> Appearance -->  (it works only for XFCE desktop) 
 + 
 +<file xml | ~/.fonts.conf> 
 +<?xml version="1.0" ?> 
 +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> 
 +<fontconfig> 
 +<!-- 
 +    <match target="font"> 
 + <edit name="autohint" mode="assign"><bool>true</bool></edit> 
 +    </match> 
 +--> 
 + <!-- 
 +            use rgb sub-pixel ordering to improve glyph appearance on 
 +            LCD screens.  Changes affecting rendering, but not matching 
 +            should always use target="font"
 +   --> 
 +       <match target="font"> 
 +            <edit name="rgba" mode="assign"><const>rgb</const></edit> 
 +            <edit name="hintstyle" mode="assign"><const>hintfull</const></edit> 
 +       </match> 
 +</fontconfig> 
 + 
 +</file> 
 + 
 +  * Chrom browser. Go to [[chrome://flags]] and find ''LCD text antialiasing'' 
 +  * Firefox. Go to [[about:config]] and find ''gfx.use_text_smoothing_setting'' 
 +  *  
 +==== 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 ===
-~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml +<file | ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
 +<property name="&lt;Super&gt;Tab" type="string" value="empty"/> 
 + 
 +</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</code>
  
 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
 +</code>
  
 === Control minitor brightness === === Control minitor brightness ===
Line 36: Line 73:
 </code> </code>
  
 +=== Enable/disable 2nd monitor ===
 +<code bash>
 +xrandr --output HDMI2 --off
 +xrandr --output HDMI2 --auto --right-of VGA1
 +</code>
 ==== Using Brighntess Controller ==== ==== Using Brighntess Controller ====
 <code bash>sudo apt-get install python-wxgtk3.0 python-pyside</code> <code bash>sudo apt-get install python-wxgtk3.0 python-pyside</code>