Thursday, February 22, 2007

Intel 915GM ye ozel ekran karti ayarlamasi

Eger sizinde 915 Intel chipsetli bir laptopunuz var, 15.4" inch bir monitorunuz var ve ekran cozunurlugunu 1280x800 'e ayarlayamiyorsaniz 915resolution adli program tam size gore..programin kullanimi basit..
program temel olarak sistemin tanimadigi ekran kartinin biosunu sisteme tanitmaya yariyor..boylece monitorun olmasi gereken cozunurluge geciriyor..kullanimi su sekilde efendim:

>Temel olarak program X acilmadan once baslamali o yuzden programin acilis scriptini
(dagitima gore degisiyor ,rc.local-local.start gibi isimleri olabilir) Slackware 'de varsayilan acilis scripti olan cd /etc/rc.d/rc.local ( pardus te ise /etc/conf.d/local.start )scripti su sekilde duzenlenmelidir:

#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.

if [ -x /bin/915resolution ]; then
exec /bin/915resolution -l 58 1280 800 32
fi

Efendim tum bu ayarlari yaptiktan sonra Slackware imiz 1280x800 ekranmodunda ve 32 bit destekli olaak acilmasi lazim..yok eger genede olmadi derseniz scripti tekrar gozden gecirin..genede olmadi derseniz masaustunde saga tiklatip Configure Desktop seceneginden ekran cozunurlugu kismini kurcalayin-cozunurlugu degistirip tekrar eski haline getirin ,bana bir keresinde olmustu..-tum bu kontrollerden sonra olmasi lazim..yok olmadi derseniz su python scripti isinizi gormesi lazim(Pardus icin):


#!/usr/bin/python
#-*-coding:utf8 -*-

# face the reality

import re
import os


def get915():
print ">installing.."
os.system("pisi -y it 915resolution")
print ">installed now configuring.."


def change():
conf = open("/etc/conf.d/local.start","a") # open file ro
print "file opened.."

conf.writelines("\nif [ -x /usr/bin/915resolution ]; then\n" \
"\texec /usr/bin/915resolution 58 1280 800 32\n" \
"fi\n");

def changeMod():
os.system("chmod +x /etc/conf.d/local.start")



get915()
change()
changeMod()
print ">done!"



ooldu o zaman

No comments:

Registred Linux User

Registred Linux User

HitCounter