Archive for the ‘xorg’ Category

If looking too long at your screen is tiresome for your eyes and you think it’s linked to its brightness then you can lower it this way :

In order to know what’s the output device, first type :

xrandr --current --verbose

I get the following :
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
DVI-0 connected 1280×1024+0+0 (normal left inverted right x axis y axis) 380mm x 305mm

And further down :
Brightness: 1

Test what brightness you consider best for your eyes :

xrandr --output DVI-0 --brightness 0.88

When you are ready, you can add the line to your ~/.xinitrc. In doing so the right brightness will be loaded with your startx and you won’t have to repeat the operation each time.


Read Full Post »

If by any chance your video card is ATI then you may have come across this message in mplayer :

[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run ‘xvinfo’ to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See ‘mplayer -vo help’ for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
Error opening/initializing the selected video_out (-vo) device.

You need to reboot after the following :
apt-get install firmware-linux firmware-linux-nonfree

It seems the kernel 2.6.32-5 and xorg 1:7.5+6 require the ATI/radeon firmware to work the xv video output right…

Read Full Post »

mon ~/.Xdefaults


!xrdb -load ~/.Xdefaults – Commande à exécuter en console après modification et sauvegarde du fichier


! Size matters :
URxvt*geometry: 74×27
! Fonts:
! Avec LiberationMono-*.ttf dans ~/.fonts
! Ne pas installer le paquet .deb de cette police sinon il y a risque de conflits
!URxvt*font: xft:Liberation Mono:style=Regular:pixelsize=15
URxvt*font: xft:Inconsolata:style=Medium:pixelsize=18:antialias=true:hinting=true
!URxvt*font: xft:Monospace:style=Regular:pixelsize=15:antialias=true:hinting=true
! Scrollbar:
URxvt*scrollBar: false
!URxvt*scrollBar_right: true
!URxvt*scrollColor: red4
!URxvt*scrollBar_floating: false
!URxvt*troughColor: #4444c0
!URxvt*saveLines: 1024
!URxvt*scrollstyle: plain
! Colors:
URxvt*foreground: white
URxvt*background: black
URxvt*cursorColor: red4
URxvt*tintColor: white
URxvt*shading: 45
URxvt*inheritPixmap: true


! Scrollbar:
Rxvt*scrollBar: false
!Rxvt*scrollBar_right: true
!Rxvt*scrollColor: red4
!Rxvt*scrollBar_floating: true
!Rxvt*troughColor: #4444c0
!Rxvt*saveLines: 1024
! Colors:
Rxvt*foreground: white
Rxvt*background: black
Rxvt*cursorColor: red4


XBoard*boardSize: middling
! XBoard*noChessProgram: true
XBoard*firstChessProgram: phalanx
XBoard*ponderNextMove: false
XBoard*autoSaveGames: true
XBoard*clockMode: false


xcalc*geometry: 200×275
xcalc.ti.bevel.background: #111111
xcalc.ti.bevel.screen.background: Black
xcalc.ti.bevel.screen.DEG.foreground: LightSeaGreen
xcalc.ti.bevel.screen.RAD.background: Black
xcalc.ti.bevel.screen.RAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.GRAD.background: Black
xcalc.ti.bevel.screen.GRAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.INV.background: Black
xcalc.ti.bevel.screen.INV.foreground: Red
xcalc.ti.bevel.screen.LCD.background: Black
xcalc.ti.bevel.screen.LCD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.LCD.shadowWidth: 0
xcalc.ti.bevel.screen.M.background: Black
xcalc.ti.bevel.screen.M.foreground: LightSeaGreen
xcalc.ti.bevel.screen.P.background: Black
xcalc.ti.bevel.screen.P.foreground: Yellow
xcalc.ti.bevel.screen.DEG.background: Black
xcalc.ti.background: #333333
xcalc.ti.Command.foreground: White
xcalc.ti.Command.background: #777777
xcalc.ti.button5.background: Orange3
xcalc.ti.button19.background: #611161
xcalc.ti.button18.background: #611161
xcalc.ti.button20.background: #611111
xcalc.ti.button25.background: #722222
xcalc.ti.button30.background: #833333
xcalc.ti.button35.background: #944444
xcalc.ti.button40.background: #a55555
xcalc.ti.button22.background: #222262
xcalc.ti.button23.background: #222262
xcalc.ti.button24.background: #222272
xcalc.ti.button27.background: #333373
xcalc.ti.button28.background: #333373
xcalc.ti.button29.background: #333373
xcalc.ti.button32.background: #444484
xcalc.ti.button33.background: #444484
xcalc.ti.button34.background: #444484
xcalc.ti.button37.background: #555595
xcalc.ti.button38.background: #555595
xcalc.ti.button39.background: #555595

Read Full Post »

mon ~/.xinitrc

setxkbmap -display :0
setxkbmap -layout fr
setxkbmap -option compose:lwin # Use Windows key as compose-key
xset -dpms # Prevents the screen from shutting down
#xset s off # Prevents the screen from going into standby mode
xrandr –output DVI-0 –brightness 0.88 # Sets the brightness of your LCD screen
exec wmaker # Launches the window manager, must be the last line

Read Full Post »