Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

« Newer Snippets
Older Snippets »
2 total  XML / RSS feed 

My .fonts.conf file

This is the contents of my .fonts.conf file.

<?xml version="1.0"?>
DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>


<match target="font" >
        <test name="family" >
                <string>FixedsysTTFstring>
        </test>
        <edit name="antialias" >
                <bool>falsebool>
        </edit>
match>



        
                Tahoma</string>
                test>
        
                9</double>
                test>
        
                false</bool>
                edit>
</match>

        
<match target="font" >
        <test name="family" >
                <string>Times New Romanstring>
        </test>
        <test compare="less" name="size" qual="any" >
                <double>12double>
        </test>
        <edit name="antialias" >
                <bool>falsebool>
        </edit>
match>


        
                Courier New</string>
        test>
        
                10</double>
        test>
        
                false</bool>
        edit>
</match>


<match target="font" >
        <test name="family" >
                <string>Courier Newstring>
                Times New Roman</string>
                <string>Tahomastring>
                FixedsysTTF</string>
        test>
        
                hintslight</const>
        edit>
        
                false</bool>
        edit>
</match>


<match target="font" >
        <edit mode="assign" name="rgba" >
                <const>rgbconst>
                </edit>
        <edit mode="assign" name="hinting" >
                <bool>truebool>
                </edit>
        <edit mode="assign" name="hintstyle" >
                <const>hintslightconst>
                </edit>
        <edit mode="assign" name="antialias" >
                <bool>truebool>
                </edit>
match>

</fontconfig>

Make a custom GDM session

Make a session choice for the GDM login menu.
In the folder /usr/share/xsessions/ make a file foo.session in this format.
[Desktop Entry]
Encoding=UTF-8
Name= 
Exec= /URI/bar.sh
Icon=
Type=Application

In any folder, put bar.sh
#!/bin/bash
foo.bin &
exec bar.bin

To carry over GNOME look and feel settings, include
gnome-settings-daemon &

To draw a tiled-image wallpaper without using Nautilus to draw and run an actual desktop, run
feh --bg-tile foo.png &
« Newer Snippets
Older Snippets »
2 total  XML / RSS feed