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
linux:prepare:x_window [2017/01/18 20:16] niziaklinux:prepare:x_window [2023/01/03 11:49] (current) niziak
Line 5: Line 5:
   * Settings -> Appearance -->  (it works only for XFCE desktop)   * Settings -> Appearance -->  (it works only for XFCE desktop)
  
-<file | ~/.fonts.conf> +<file xml | ~/.fonts.conf> 
-<?xml version=1.0″ ?> +<?xml version="1.0?> 
-<!DOCTYPE fontconfig SYSTEM fonts.dtd>+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <fontconfig> <fontconfig>
-<match target=font+<!-- 
-<edit name=autohint” mode=assign> +    <match target="font"
-<bool>true</bool> + <edit name="autohintmode="assign"><bool>true</bool></edit
-</edit> +    </match> 
-</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> </fontconfig>
 +
 </file> </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 ==== ==== Focus stealing ====
   * Settings -> Window Manager -> Focus   * Settings -> Window Manager -> Focus
Line 174: Line 187:
 add before executing x-session: add before executing x-session:
  
-<code bash ~/.vnc/xstartup>+<file bash ~/.vnc/xstartup>
 if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
  eval `dbus-launch --sh-syntax –exit-with-session`  eval `dbus-launch --sh-syntax –exit-with-session`
Line 180: Line 193:
  $DBUS_SESSION_BUS_ADDRESS"  $DBUS_SESSION_BUS_ADDRESS"
 fi fi
-</code>+</file> 
 + 
 +Update: 
 +It looks like now vncserver expects that ''xstartup'' to stay foreground, so simply: 
 +<file bash ~/.vnc/xstartup> 
 +xsession & 
 +dbus-launch --exit-with-session lxsession 
 +</file>
  
 === Sound === === Sound ===