Thursday, December 17, 2009

Make Own Startup Script on OpenWrt/Open-Mesh

---------- cut ---------------------


#!/bin/sh /etc/rc.common

start() {
  your code

}
stop() {
   your code
}

---------- cut ---------------


save and exit


#chmod 755 myfile


#/etc/init.d/myfile enable


now you can use it with start and stop


Saturday, December 12, 2009

Dell S2409W ( 24" Widescreen ) with Debian/Ubuntu/Linux Mint

This monitor support resolution up to 1920x1080 but i still can't make it work on maximum resolution for the monitor. My current setting was 1680x1050 and it work just great. How i did to make it works?

1. Download and install latest Nvidia drivers from www.nvidia.com

2. Once downloaded, press ALT+CTRL+F1 and login as root

3. Stop the current Xwindows with

/etc/init.d/gdm stop or /etc/init.d/kdm stop

or you can do this with command

service gdm stop or service kdm stop

4. run NVIDIA-.x.x.sh to install the driver and say YES to nvidia-xconfig

5. Edit the /etc/X11/xorg.conf and define this :

Section "Monitor"

VendorName   "Dell"
ModelName    "S2409W"
HorizSync       15.0 - 65.0
VertRefresh     50.0 - 75.0
Option             "DPMS"

End Section

save and exit

6.  Then run this for nvidia

nvidia-xconfig -render-accel
nvidia-xconfig -allow-glx-with-composite
nvidia-xconfig -composite
nvidia-xconfig -add-argb-glx-visuals
nvidia-xconfig -add-argb-visuals

7.startx or /etc/init.d/gdm start

it should works..

thank you for reading


Compiz desktop effect missing title bar

This guide for Nvidia. It might work on ATI..

put this in xorg.conf under Section "Device" before the End Section

Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"

or

#sudo nvidia-xconfig --add-argb-glx-visuals -d 24

then restart X



 Simple Python Calculator This script will allows your to calculate the integers given with the chosen operation. You can add, substract, mu...