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:26] niziaklinux:prepare:x_window [2023/01/03 11:49] (current) niziak
Line 6: Line 6:
  
 <file xml | ~/.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><bool>true</bool></edit>+    <match target="font"
 + <edit name="autohintmode="assign"><bool>true</bool></edit>
     </match>     </match>
 +-->
  <!--  <!--
             use rgb sub-pixel ordering to improve glyph appearance on             use rgb sub-pixel ordering to improve glyph appearance on
             LCD screens.  Changes affecting rendering, but not matching             LCD screens.  Changes affecting rendering, but not matching
             should always use target="font".             should always use target="font".
-       -->+   -->
        <match target="font">        <match target="font">
             <edit name="rgba" mode="assign"><const>rgb</const></edit>             <edit name="rgba" mode="assign"><const>rgb</const></edit>
             <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>             <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
        </match>        </match>
-     
 </fontconfig> </fontconfig>
  
Line 186: 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 192: 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 ===