Showing posts with label x. Show all posts
Showing posts with label x. Show all posts

24.11.08

Back to the old school

Somehow i always like the old black linux cursors, the ones that come with "vanilla" X system. But lately every distro uses JimMac (Human) cursor theme, which is for me not as good as the old one.

So to change it execute:
sudo update-alternatives --config x-cursor-theme
and choose there
/etc/X11/cursors/core.theme

23.11.08

X session autostart

Okay, I don't have GDM, but i'd like to start X right upon logging into shell. And here is the way you can do it. Edit your .bash_profile file (create one if you need):


if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
rm ~/.serverauth* 2>/dev/null
startx -- -br 2>/dev/null
fi


This will allow you to start right when you log in in your tty1, the rest will stay as command line terminals.

Trimming ubuntu, now fonts and xterm

Ok, here is another bit of my ubuntu tweaking experience. Since i am trying to be less dependant on ubuntu distribution settings and approaches i have tuned my font settings via .fonts.conf and .Xefaults configuration.

Here are the current ones, which i find quite satisfying:

1. .fonts.conf






rgb




true




hintslight




true





2. Xdefaults


Xft.dpi: 96
Xft.antialias:true
Xft.hinting:true
Xft.hintstyle:hintslight
XTerm*faceName:Liberation Mono
XTerm*faceSize:9

## XTERM SETTINGS
!xterm*faceName: Liberation Sans Mono:style=Bold
xterm*saveLines: 10000
xterm*scrollBar: true
xterm*rightScrollBar: true
xterm*jumpScroll: true
xterm*cursorColor: red
# xterm*colorBD: darkblue
xterm*colorBDMode: true
xterm*highlightColor: darkgray
xterm*activeIcon: false
# xterm*awaitInput: true
xterm*scrollTtyOutput: false
xterm*scrollKey: true

!xterm*Background: black
!xterm*Foreground: white
xterm*Background: white
xterm*Foreground: black