[wahjava@chatteau X11]$ diff -u xorg.conf.old xorg.conf
--- xorg.conf.old 2001-07-12 21:30:00.000000000 +0530
+++ xorg.conf 2007-08-22 21:30:00.000000000 +0530
@@ -15,11 +15,12 @@
Section "Monitor"
Identifier "Monitor0"
- ModelName "LG StudioWorks 452V"
- HorizSync 31.5 - 54.0
- VertRefresh 50.0 - 120.0
- ModeLine "1024x768@60" 0.0 1024 0 0 0 768 0 0 0
+ ModelName "ViewSonic VX1932wm"
+ HorizSync 30.0 - 82.0
+ VertRefresh 60.0 - 85.0
+ ModeLine "1440x900@75" 136.75 1440 1536 1688 1936 900 903 909 942 -hsync +vsync
Option "dpms"
+ DisplaySize 408.94 254.0
EndSection
Section "Device"
@@ -35,7 +36,7 @@
SubSection "Display"
Viewport 0 0
Depth 24
- Modes "1024x768" "800x600" "640x480"
+ Modes "1440x900" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
20070823
Modified Xorg configuration last night
20070818
20070816
My first vim hack: syntax file for Coco/R
Few days back I hacked a vim syntax file for Coco/R. It is available under Vim license. Download it from http://wahjava.googlepages.com/coco.vim . To install it, see Installing a syntax file, and filetype page.
If you’re feeling lazy, looking for simple steps:
[abbe@chatteau ~] mkdir -p ~/.vim/syntax && wget -P ~/.vim/syntax http://wahjava.googlepages.com/coco.vim
[abbe@chatteau ~] cat >~/.vim/filetype.vim <<EOF
" my filetype file
if exists("did_load_filetypes")
finish
endif
augroup filetypedetect
au! BufRead,BufNewFile *.atg setfiletype coco
augroup END
EOF
NOTE: Above steps, might alter your existing vim setup, so better read the vim manual :-P. Anyways, happy viming… :-)
20070807
freed.in
India Linux User Group, Delhi’s annual free software conference. jointly organised by Jawaharlal Nehru University and ILUG-D .
Comments Off
20070803
20070801
Wanna run a nested X server
Running a nested X server Xephyr in Fedora 7 is so easy. Follow the following steps:
- Install
xorg-x11-server-Xephyrpackage from Fedora repositories usingyum install xorg-x11-server-Xephyrcommand - Start 2 instances of terminal (e.g.
xterm) in already running X server. - In 1st instance of terminal, execute
xwininfo |fgrep "Window id". - Now with the crosshair cursor, select 2nd instance of the terminal.
- Note on the window id which prints on the 1st terminal. e.g.
0x4c00022is the Window ID from following output:
xwininfo: Window id: 0x4c00022 "wahjava@chatteau:~" - Now in 1st instance of terminal, execute
Xephyr -parent 0x4c00022 -ac :1 &. - Now to run gedit in new Xephyr X server, execute following in 1st instance of terminal:
[wahjava@chatteau ~]$ DISPLAY=:1 metacity& [5] 6365 [wahjava@chatteau ~]$ DISPLAY=:1 gedit& [6] 6366
- So if there is anything you wanted to execute in this Xephyr X server, you’ve to make sure that you’ve
DISPLAY=:1environment variable set. - When done playing with your Xephyr X server, do
killall Xephyr. - Back in 2nd terminal instance :)
Some screenshots:
![]() |
![]() |
![]() |
This might not be a recommended way to run Xephyr. So don’t complain, anyways Happy Xephyring… :-D




