[Pardus-kullanicilari] Fare tantımı ve Evdev modülü

aydın şenler adsenler at gmail.com
13 Tem 2008 Paz 17:34:28 EEST


Emre Bey merhaba,
Öncelikle ilginize teşekkür ediyorum.
Paketleri yükledim ve ilk çalıştırmamda aldığım sonucu aşağıya kopyaladım.
Sanırım bir eksiklik var:

pardus btnx-config-0.4.9 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for scrollkeeper-config... no
checking for gksu... no
checking for kdesu... no
checking for tar... /bin/tar
checking for pkg-config... no
checking for GTK... configure: error: The pkg-config script could not be found 
or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.


13 Tem 2008 Paz tarihinde, Emre Erenoglu şunları yazmıştı: 
> Merhaba,
>
> On 7/13/08, aydın şenler <adsenler at gmail.com> wrote:
> > Merhaba ,
> > Everest marka 7 tuşlu kablosuz bir fare kullanıyorum.
> > Farenin tüm işlevlerini Pardus a tanıtamadım. Evdev adlı bir paketin
> > kurulabileceğini öğrendim ama "xev" komutu ile farenin özellikle yatay
> > kaydırma ve küçültme-büyütme tuşlarının hiç algılanmadığını saptadım.
>
> Evdev bir input surucusu xorg icin ve sanirim zaten kurulu geliyor. Hatta
> fareniz bu sistemle calisiyor olabilir su anda. Ancak diger tuslari icin
> "Tanim" yapilmamis olabilir. BUnun icin en iyi cozum btnx isimli bir
> programcik, ancak Pardus'ta paketi yok. Su sekilde kurulup denenebilir.
> oncelikle indirelim:
>
> ALT+F2 ve sonra konsole yazip konsole programini calistiralim:
>
> sudo pisi it gcc make   (kendi sifremizi ister, derleme islemleri icin
> gerekli paketleri kurar, kullanicimizin yonetici haklari olmasi gerekir)
> cd /tmp  (gecici dizinde calisalim)
> wget http://www.ollisalonen.com/btnx/btnx-0.4.11.tar.gz   (programi
> indirelim)
> wget http://www.ollisalonen.com/btnx/btnx-config-0.4.9.tar.gz (program icin
> gerekli 2. programi indirelim)
> tar zxvf btnx-config-0.4.9.tar.gz  (dosyayi dizine acalim)
> tar zxvf btnx-0.4.11.tar.gz  (dosyayi dizine acalim)
> cd btnx-config-0.4.9/   (once btnx-config'i derleyip kuralim)
> ./configure  (birsuru sey yazar, hata vermemesi lazim, sonunda gerekli
> derleme ortamini gosteren dosyalar olusturur)
> make   (basinda ./ yok bu sefer)
> sudo make install    (kurulumu yapar)
> cd ../btnx-0.4.11    (esas programin dizinine giriyoruz)
> ./configure (ayni islem)
> make
> sudo make install
>
> Simdi, Pardus'un Programlar --> Sistem menusunun icine btnx diye bir
> programcik yerlesmis olmali, bunu calistiralim, calistiginda bizim
> sifremizi ister. Calistiginda;
> 1) detect mouse and buttons tusuna basip yonergeleri izleyin (ingilice
> gerekebilir bu noktada)
> 2) Fare tespit edildiginde, sol ortadaki new butonuna basarak tuslari
> sirayla tanimlayip, sonra
> 3) Buttons tab'indan btnx ile calismasini istedigimiz butonlari "enable"
> edip, ya bir program ya da bir xorg "tus kodu" atayabiliriz.
> 4) atadigimiz tus kodlarini daha sonra ilgili programlari acarak (ornegin
> amarok), kisayol tanimlamalarinda fare tuslarina tiklamak suretiyle
> kullanabilriiz.
>
> Kolay gelsin, eger calisirsa Wiki'ye yazabilirseniz memnun olurum. Bos
> vakit olursa paket yapabilsem iyi olurdu.
>
> Emre




Pardus-kullanicilari mesaj listesiyle ilgili daha fazla bilgi