rxvt-unicode 256 color support with vim

Following my previous post on minimizing the resources that urxvt needs on Gentoo, I tried applying some more patches to it that I found in Gentoo’s bugzilla.
Since that happened a few days ago there was no ebuild for version 9.05 yet. So I created one and applied the patch for the 256 color support.

Here’s my rxvt-unicode ebuild for version 9.05 with 256 color support: rxvt-unicode-9.05.ebuild.
(more…)

The quest for a better rxvt-unicode on Gentoo

Today, while studying I decided to manually run a prelink on my system. For no good reason. Just boredom I guess. The results were pretty interesting though.

Among the output there was a line that made a very big impression to me.
prelink: /usr/bin/urxvt: Cannot prelink against non-PIC shared library //usr//lib/opengl/nvidia/lib/libGL.so.1
Why oh why is libGL.so.1 inside the shared libraries of a terminal ???
(more…)

pcmanfm 0.4.1.1 ebuild

A new pcmanfm version (0.4.1.1) is out and since there’s no ebuild yet available I made one by modifying a bit the one I found about version 0.3.2.2 on sunrise overlay. I’ve included a patch I found about enabling/disabling deletion confirmations.

Downloads:
pcmanfm 0.4.1.1 ebuild
pcmanfm 0.4.1.1-r1 ebuild
confirm_delete.patch

tested on x86 and ppc (thanks to comzeradd)

enjoy!

P.S. Looks like I didn’t search that well on bugzilla, there are other ebuilds there too: http://bugs.gentoo.org/show_bug.cgi?id=121902

Fotox 42 ebuild

Since the newest available fotox ebuild I found was for version 17, I decided to change it for version 42 which is currently the latest and greatest.

To compile and install it using portage you also need a minor patch I made for it’s build system.
fotox-42.ebuild
fotox-build.patch

jailkit-2.3 ebuild patch fix for sunrise overlay

There’s an ebuild for jailkit version 2.3 on sunrise overlay. Unfortunately it has a bug that can cause severe headaches. It patches your /etc/shells in a VERY wrong way so that you can easily end up _only_ with /usr/sbin/jk_chrootsh inside /etc/shells. This can lock you out of your machine!

This behaviour is due to a patch that comes with the ebuild named: jailkit-2.3-destdir.patch.
In order to fix this behavior, I’ve patched the patch so that it works as it should. Now it just adds “/usr/sbin/jk_chrootsh” under all the previous shells you had in your /etc/shells file.

Full File: jailkit-2.3-destdir.patch
Patched File: jailkit-2.3-destdir.patch.patch (wonderfull name :P)

Gentoo baselayout-2 and openrc impressions

*updated*
one word: _amazing_.

The first thing someone notices is the speed difference. It is BIG.
Just take a look at the following 2 graphs from the same machine and judge on your own:

Baselayout: 1.12.11.1

Baselayout: 2.0.0

55->29 seconds!!!! Impressive!

Machine specs described here: http://www.void.gr/kargig/blog/2007/08/16/iloog-706-on-sony-vaio-pcg-sr21k/

I haven’t done any thorough tests on it yet, but I will certainly do. Great job roy marples! Thans a lot!

Tip: to get bootchart working when you have baselayout-2 installed add: init=/sbin/bootchartd to your kernel line in grub. Else you will face problems getting it to work.

*UPDATE*
Baselayout: 2.0.0 with kernel 2.6.24 + running prelink.

25 Seconds!! that’s less than 50% of the original 55seconds boot process!

Greek gentoo users unite!

Aggelos Orfanakos, one of the two greek gentoo developers, has created a google map where every gentoo user in Greece can place his coordinates so we can easily spot each other and maybe “create” a community, do some meetings and have some fun 🙂

You are all welcome to join!

Gentoo Users in Greece

iloog-8.02 is out!

A new version of iloog (iloog-8.02) is finally ready after 4 months since our last release (iloog-7.10). This new version does not bring tons of new features but it’s much more polished and robust than the previous one and has quite a few bugs squashed.

Some of the changes include:

  • Patched 2.6.22 kernel against the recent local root exploit
  • QT4 support! QT programmers will certainly like this new addition
  • Removed some bloated programs and replaced them with some lighter ones (eg graveman instead of K3B)
  • Added another IDE, glade!
  • Added Pascal compiler (gpc)
  • Support for new revision control software like git and mercurial
  • Added support for via and sis graphics drivers in Xorg
  • Some iloog tools got a dialog interface
  • Added some programs by greek developers like: indywiki, jIPFire, pluto, pysmssend and QGRUBEditor
  • New Tango icons for the desktop
  • Some minor changes to Fluxbox’s menu and theme

Of course there are also the usual updates to all the included programs to their most recent stable versions plus the addition of more than 50 new packages.
We’ve also written down some crude information on iloog’s wiki about the process of “installing” iloog to a hard disk. The process is _NOT_ automatic and whoever tries it must be very careful before executing anything. Read more at the wiki: Install iloog

I would like to thank comzeradd, Fuzz and Ulv and all the other people who helped to test iloog-8.02. A special thanks goes again to cyberarch.gr for all their help with graphics (they prepared the new iloog website too!) 🙂

Some screenshots:
iloog-8.02 console

iloog-8.02 desktop

iloog-8.02 qtiplot

You can find more screenshots of iloog-8.02 at ILUG’s flickr gallery: iloog-8.02 at flickr

Download links at iloog’s site: www.ilug.gr/iloog/

A slightly modified version of iloog-8.02 is also included in the greek LinuxFormat’s DVD on Issue 20 (March-April 2008) which will be out on 04 March 2008. Go and buy it!

SIP Express router, mysql and utf8

Description:
There’s a small problem when using SIP Express Router (net-misc/ser on Gentoo) with mysql support and your mysql server uses utf8 as a default character set (gentoo’s latest versions use utf8 by default).

The problem:
One of ser’s scripts (ser_mysql.sh) can’t handle utf8 tables.
# ser_mysql.sh create
MySql password for root:
Domain (realm) for the default user 'admin': foobar
creating database ser ...
ERROR 1071 (42000) at line 100: Specified key was too long; max key length is 1000 bytes

Solution 1 (remove utf8):
Change the character set to latin1.
The specified error can easily be “fixed” by editing /usr/sbin/ser_mysql.sh. Inside that script you will find a line like this (line 38):
TABLE_TYPE="TYPE=MyISAM"

replace it with:

TABLE_TYPE="TYPE=MyISAM,DEFAULT CHARACTER SET latin1"

The result:
# ser_mysql.sh create
MySql password for root:
Domain (realm) for the default user 'admin': foobar
creating database ser ...

Solution 2 (reduce some column sizes):
The following solution makes the script run but I have not personally tested if ser STILL works ok after the changes. Feel free to experiment and comment back on this:
# sed -i 's|domain varchar(128|domain varchar(100|g' /usr/sbin/ser_mysql.sh
# sed -i 's|contact varchar(255|contact varchar(128|g' /usr/sbin/ser_mysql.sh

iloog-7.10 is out!

iloog is a Gentoo-based LiveCD produced by the Ioannina Linux User Group (I.L.U.G.), targeted mainly at students and scientists. Our purpose is to create a multi-purpose tool that will suit the needs of our growing user-base through an intensive development process that follows the “release early, release often” paradigm of open source software.

After four months since the last iloog version (7.06) the new version is out with lots of interesting changes.

  • First of all with the help of mikeg iloog now has squashfs-lzma support. That means that we have better compression on livecd so we can fit more tools inside. With squashfs-lzma we managed to fit another 100-150Mb of new utilities and libraries.
  • Isolinux now has a menu with many new options and diagnostics.
  • Of course there is an updated kernel, 2.6.22, with support for many new chipsets.
  • Booting sequence optimization. Booting should now be a bit faster.
  • New firmware for some usb adsl modems and wireless dongles.
  • For the first time there is bootsplash support. Graphics were created by cyberarch.gr
  • Some changes in the older iloog scripts and 2 brand new ones. The first changes X keyboard layout settings during an X session and with the help of fbxkb one can now visually change language keymaps by clicking the flag icon on Fluxbox’s tray. The second one called iloog-kdrive.sh is used to start X windows using the Xvesa (kdrive) server. It’s targeted mostly at older systems with 64Mb RAM or less.
  • Some changes to Fluxbox’s theme to make it look cleaner and better.
  • Lots of new packages, among others: Opera, sjphone, java-1.6, pcmanfm, pidgin, powertop, filezilla, unison, ocaml, openobex, obexftp, sobexsrv, etc, etc
  • We even have a CD-label for iloog-7.10! Thanks again to cyberarch.gr

This is surely the best iloog release so far. I would like to thank Fuzz, mikeg, QED and Ulv from ILUG for their help whether it was implementing new features, giving ideas or beta testing and the people behind cyberarch.gr for their help with graphics overall.

Some screenshots:
iloog-7.10 isolinux bootmenu

iloog-7.10 loading

iloog-7.10 login screen

iloog-7.10 Xwindows with Fluxbox and ROX

iloog 7.10 vmd qtiplot

You can find more screenshots of iloog-7.10 at ILUG’s flickr gallery: iloog-7.10 at flickr

Download links at iloog’s site: www.ilug.gr/iloog/

iloog-7.06 on Sony Vaio PCG-SR21K

A new old Laptop to test iloog:

A few days ago my friend Dimitris gave me his old Sony Vaio PCG-SR21K since he didn’t need it any more.
pic1

Specs:

Mobile Pentium III/650 with SpeedStep technology and 256Kb of on-die Level 2 cache, 64Mb of PC100 SDRAM, Intel 440Z motherboard chipset, fixed 10Gb IBM Travelstar DJSA-210 hard disk, external 16x CD-ROM, 8Mb S3 Savage/IX graphics, 10.4in XGA TFT screen, Yamaha DS-XG audio, integrated stereo speakers, integrated V.90 modem, one Type II PC Card slot, expansion port, plus ports for USB, IEEE-1394 and Sony Memory Stick, Windows 2000 Professional (nooooooooooooot!), Sony video-editing suite (crap!). Dimensions: 259 x 209 x 32mm (W x D x H). Weight: 1.4kg.

It is a perfect laptop for iloog testing.

Boot Process:

When I tried to boot iloog to it from it’s external pcmcia cdrom I faced the a problem though, the iloog kernel does not support (yet ?) cdrom drives on pcmcia (I had never thought of booting from such devices when creating the iloog kernel) so iloog’s initrd couldn’t operate as it should. As long as the iloog kernel started and initrd scripts run, they couldn’t find a bootable device since no cdrom device was found, only the hard disk was recognized that far. This laptop is pretty old so there wasn’t either any option to boot from usb. The good news was that the laptop already had an old slackware (version 10 or 11, I can’t really remember) running on it, with two ext3 partitions (hda2 and hda3) and another one for swap (hda1). We had installed that slackware version with Dimitris following the advice posted on this forum http://www.debianforum.de/forum/viewtopic.php?p=9781. One has to add this:

linux ide2=0x180,0x386

to the boot prompt.

Since there was already another linux OS installed on the laptop I didn’t need to put that command on iloog’s boot prompt and decided to take another path. I started slackware normally, then I put iloog-7.06 CD in the pcmcia cdrom drive, mounted it under /mnt/cdrom and then copied the contents of /mnt/cdrom to /mnt/hda3 (where /dev/hda3 was already mounted). I rebooted the laptop and made it boot again from the pcmcia cdrom drive. The iloog kernel and initrd scripts started and could now find the files they needed under /dev/hda3, so it the boot process continued just fine. Since no files but the kernel and initrd scripts ran from the external cdrom the boot process was a lot faster than it would have been running from the old external 16x cdrom drive. This process of storing iloog’s files on a hard disk partition should have provided enough info for those who want to run iloog as a livecd from their hard disk for testing.

Local Install:

The next thing I wanted to do was to install iloog locally on the hard disk than just having it boot as a livecd from the disk. The process was exactly the same as I have described in a previous post about installing an older iloog version to another old laptop. The only difference was that I installed grub instead of lilo, but that’s more of a preference than a necessity.

Incompatibilities:

Even though the laptop has an S3 savage graphics chipset, the only working xorg driver for me is vesa, but it does work just fine. If you don’t know how to change your xorg driver to vesa just use the iloog-vesachange.sh script (found under /usr/local/bin).

Install New Applications:

Since the laptop has only 64Mb of ram, using Firefox is extremely difficult. Fuzz proposed to install Opera. In order to install anything from portage to iloog one must run the iloog-db.sh script first . This script fetches the database of all installed packages on iloog (/var/db/), normally these are not on the livecd because a) they take too much space b) who and why would install new apps on a livecd c) they take way too much space :). When the iloog-db.sh script finishes, one has to run an:
emerge --sync
in order to fetch the latest portage.

The an emerge -avt opera to install the latest opera 🙂

So, after running iloog-db.sh and emerge --sync, you can install any applications you want on an iloog.

Kernel:
I wanted to build a newer stable kernel (emerge -avt sys-kernel/gentoo-sources, gentoo-sources-2.6.21-r4 at the current time) to test the performance and remove unused stuff from the kernel. This newer kernel has also the sony_laptop module included. This is the config I used:

kernel 2.6.21 config for PCG-SR21K

I’ve build the sonypi and sony_laptop as external modules and since udev does not load them automagically I needed to edit
/etc/modules.autoload.d/kernel-2.6 and add the modules in that file.

Extra controls
To control the brightness of the screen, check/set the fan speed, check the temperature and see the remaining battery I run an emerge app-laptop/spicctrl. spicctrl uses the sonypi module, so make sure you have already loaded it. This module also makes the jog dial button act as extra mouse keys. iloog’s xorg file already has support for 5 button mice, so I was good to go. I was no able to scroll up and down using the jod dial button. When the jog dial is pressed it acts as middle mouse button so I can use it as that too.

In order to make use of the extra function keys I needed to emerge app-misc/sonypid. With the help of a brilliant perl script called sonypidd I could assign various functions/scripts to the function keys.
I’ve made some modifications to the original one though, the original script uses aumix to change the sound settings but I like amixer more, so I used that one. I’ve even changed the program it used for playing a click.wav upon pressing the function keys (it used sox, I used play), and the click.wav itself (I’ve used the click.wav that comes with the game gweled).

Here’s my sonypidd: sonypidd for iloog
and click.wav: sonypidd for iloog
To make it all work, extract sonypidd.gz to /usr/local/bin/sonypidd and click.tar.gz to /usr/share/sounds/click.wav. Then, edit /etc/conf.d/local.start and add:
/usr/local/bin/sonypidd >/dev/null 2>&1>
to the end of the file

I also wanted to make the jog dial button to appear the fluxbox menu, so I’ve edited ~/.fluxbox/keys file and changed the line that referred to Mouse2 from:
OnDesktop Mouse2 :workspaceMenu
to
None Mouse2 :rootMenu

Now I can open a fluxbox menu even when I have other applications on top of the desktop by pressing the jog dial button 🙂

I’d be glad if sjog or rsjog worked so I could do more with the jogdial, but I haven’t made it yet. Their development has stopped and their code no longer builds with the current libraries. Any good programmers out there to revive these programs ? 🙂

Speeding up compilations:
To speed up package compilation I’ve set up distcc on the laptop and on my desktop pc. The problem I faced though was that iloog is compiled as i586 arch and my desktop as i686 so I had to use distcc with crossdev. Even though crossdev appeared to save the day it had a minor problem with it. It always installs the latest testing packages for crosscompiling, and since iloog uses stable packages there were some conflicts while installing packages. These were solved by a brutal hack, editing the /usr/sbin/crossdev binary (line 472) and commenting out the “if [[ -f package.keywords ]]” loop. Then I could put the versions I wanted inside /etc/portage/package.keywords like that:

=cross-i586-pc-linux-gnu/gcc-4.1.2 x86~x86
=cross-i586-pc-linux-gnu/glibc-2.5-r4 x86 ~x86

TODO:
Since distcc with crossdev in now installed I will try to install xorg-server with kdrive use flag. I think that Xvesa will be a loooot lighter than X server.

References:
Pages I’ve read during the process:

http://www.linux.it/~malattia/wiki/index.php/Main_Page
http://tjworld.net/snc/
http://freenet-homepage.de/obauer/gentoo.html
http://linuxbrit.co.uk/rsjog/
http://sjog.sourceforge.net/
http://www.popies.net/sonypi/
http://www.comp.lancs.ac.uk/~fittond/gentoo-install.txt
http://www.boulder.swri.edu/~deforest/sonypidd
http://www.siglost.org/vgna197vp/sonypidd
http://www.gentoo.org/doc/en/distcc.xml
http://www.gentoo.org/doc/en/cross-compiling-distcc.xml

Yet another ati-drivers+xorg problem

The ati-drivers saga will never ever end 🙁

The gentoo fellas updated the stable xorg server to version 7.2, so I decided to give it a shot. The process was smooth, no errors.
Upon reboot though, the problems started. No 3D acceleration! I re-emerged the drivers, I used eselect opengl set ati, no result. Damn! I am still using kernel version 2.6.18 and my ati drivers were version 8.32.5.
My first thought was to update ati drivers to the latest available, 8.35.5. The 50Mb download took more than 30minutes on my 1mbit super-duper-extra fast adsl!

<Yet Another Rant>
During the last couple of weeks I can’t even get more than 50kb/sec during the night. During the morning there are times that I can hardly browse through websites with reasonable speed. Real-time streaming videos from youtube is out of the question of course.
</Yet Another Rant>

The drivers compiled fine but I lost my 1280×1024 mode! Out of sync errors and no image displayed on my tft. I couln’t even make it work with a Modeline…The highest mode that worked was 1024×768. I’ve even tried removing the ddc module out of xorg modules directory without any luck though. I am not willing to go back to 1024×768 so I had to download some other, older, ati-drivers version.
This time I chose version 8.33.6. Another 50Mb of download and another 30minutes of wait. The emerge was smooth, no errors. X windows started…but my fonts were trully messed up! Something had made them very very small on menus and input boxes. ARGHHHHHHHHH!! Grepping through the Xorg.0.log I found out that DPI was set to 75×75. Another easy way to check on that is through the
% xdpyinfo | grep resolution

command. Something had went wrong. Then I remembered that I had removed the ddc module, I put it back in and I got:
% xdpyinfo | grep resolution
resolution: 81x86 dots per inch

A bit better but certainly not very good. I had to change the DPI somehow…but how ?

I googled and googled …and I found out that I could put something like this:
Option "DPI" "96 x 96
inside my xorg.conf in the Screen section. But that didn’t to the trick. That used to work on Xorg 7.1 but not on 7.2. Tough luck.

I kept googling until I found out that I could start another X server like this:
% startx -- :1 -dpi 96

get the screen dimensions like this:
% xdpyinfo | grep dimensions
dimensions: 1280x1024 pixels (XXXxYYY millimeters)

and then paste the output of the previous command inside the Monitor section of the xorg.conf file like this:
DisplaySize XXX YYY

That did the trick. I can now enjoy 96×96 DPI fonts.

During the googling I found out that I can also have something like this inside the .Xdefaults file:
Xft.dpi: 96

Now, after more than 2 hours of messing around with ati-drivers and xorg.conf I am able to enjoy my beautiful desktop…pfffff.

Reminder to myself: Dont’ ever ever ever ever buy an ati card again.

P.S. I really hope that the 8.35.5 drivers are somehow fixed in the future so that I can use 1280×1024 if I ever need to update to that version.

iloog-7.04

Μετά από πολλή δουλειά και πολλές δοκιμές η έκδοση 7.04 του iloog είναι επιτέλους έτοιμη. Συνολικά περιέχονται 900 πακέτα σε αυτή την έκδοση!

Πολύτιμη βοήθεια, όχι πάντα με τη θέλησή τους :), σε αυτή την έκδοση προσέφεραν κυρίως οι Fuzz (με τεράστια διαφορά από τους υπόλοιπους :)), Nlord, Rad. Η βοήθεια ήταν είτε απεριόριστος χρόνος για beta testing ή ακόμα και δανεισμός του hardware τους για τη δοκιμή των 17 περίπου beta εκδόσεων που μεσολάβησαν από την έκδοση 7.02 μέχρι την 7.04. Πολλές νέες ιδέες μελών του ILUG, και όχι μόνο, ενσωματώθηκαν στη νέα έκδοση αυτού του liveCD.

Οι αλλαγές από την έκδοση 7.02 είναι πολλές. Εκτός από το αναμενόμενο update πάρα πολλών πακέτων (με πιο σημαντικά τα kernel-2.6.19.5, glibc-2.5, gcc-4.1.1,dbus-1.0.2 , udev-104,κτλ ), η νέα έκδοση έχει διορθώσει πολλά μικρά ή μεγάλα bugs που παρουσιαζόταν κατά τη χρήση του liveCD. Στην έκδοση αυτή έχει δωθεί πολύ μεγαλύτερη προσοχή από κάθε άλλη στην ομαλότερη λειτουργία κατά χρήση των προγραμμάτων.

Λόγω της αλλαγής kernel βελτιώθηκε ακόμα περισσότερο η καλή υποστήριξη υλικού, και σε συνδυασμό με την παρουσία και νέων firmwares μέσα στο CD κάνει πολύ πιο άνετη τη χρήση ασύρματων καρτών (ipw3945) και aDSL modems (sagem 800/840, crypto F200). Για τους χρήστες με WIDE οθόνες υπάρχει ειδικό section στο /etc/X11/xorg.conf και απαιτείται μόνο η αλλαγή ενός ονόματος στην 2η γραμμή αυτού του αρχείου. Μόνο οι χρήστες με τα νεώτερα intel chipsets ίσως χρειαστεί να τρέξουν πρώτα το 915resolution(περιέχεται στο liveCD) πρωτού κάνουν την αλλαγή στο /etc/X11/xorg.conf.

Διορθώθηκαν επίσης κάποια προβλήματα που είχε το config του isolinux με κάποια boot options. Επίσης προστέθηκαν καινούργια options όπως το cpusched και το restore.Το cpusched δίνει τη δυνατότητα επιλογής cpu scheduler κατά το boot, πχ cpusched=ondemand και το restore μπορεί να επαναφέρει από backup το home directory του χρήστη iloog, πχ restore=sda1.

Αισθητή είναι η βελτίωση στο boot time κατά 10-15% λόγω της βελτιστοποίησης τοποθέτησης των αρχείων πάνω στο CD image.

Προσοχή δώθηκε στην δημιουργία μικρών scripts για την διευκόλυνση των χρηστών σε μερικές απλές διαδικασίες. Τα scripts αυτά έχουν όλα το πρόθεμα “iloog-” οπότε μπορεί κανείς να τα εντοπίσει από command line γράφοντας iloog[tab][tab]. Μέσω ενός script είναι επίσης δυνατή η εγκατάσταση της database των πακέτων (/var/pkg/db) που χρησιμοποιήθηκαν για τη δημιουργία του iloog, ώστε να μπορεί κάποιος να προσθέσει και ένα δικό του πακέτο αν θέλει. Το script αυτό ίσως φανεί πιο χρήσιμο σε όσους θα ήθελαν να αντιγράψουν manually το iloog στο δίσκο τους (δεν προσφέρεται έτοιμο εργαλείο γι αυτό) και θέλουν να μπορούν να προσθέτουν και να αφαιρούν πακέτα μέσω του emerge σαν ένα κανονικό gentoo distro.

Περισσότερα στο changelog που περιέχεται στο liveCD (/etc/iloog/changelog)

To link για το iso καθώς και το νέο delta θα το βρείτε στo: http://ilug.void.gr/iloog/

Παρατηρήσεις και σχόλια στο forum του ILUG

iloog-7.02

Ύστερα από 2 μήνες δοκιμών και αλλαγών με την βοήθεια των agorf, cdimakop, Charmed[], Fuzz, mikeg, Rad, tasosos που είτε έκαναν beta testing είτε δάνεισαν εξοπλισμό, το νέο iloog LiveCD 7.02 είναι έτοιμο με πάρα πολλές αλλαγές σε σχέση με την παλαιότερη version 6.12.1.

Εκτός από τις καθιερωμένες ανανεώσεις πακέτων υπάρχουν πάνω από 80 καινούργια πακέτα σε σχέση με την έκδοση 6.12.1. Πολύ προσοχή δώθηκε στην καλύτερη υποστήριξη laptops με έμφαση στο power management. Πλέον o kernel υποστηρίζει ρυθμίσεις για cpu frequency και υπάρχουν μέσα utilities για την διευκόλυνση αυτών των ρυθμίσεων (cpufreq-set,κτλ). Προστέθηκαν επίσης αρκετά firmware για wireless κάρτες (Intel,broadcom,atmel,κτλ), modems (Sagem Fast 800) ώστε να μην χρειάζεται να τα κατεβάζετε από τις εταιρίες. Ο kernel υποστηρίζει πια πολύ περισσότερο hardware σε σχέση με προηγούμενες εκδόσεις.

Επίσης στο menu του fluxbox έχει προστεθέι μια μικρή περιγραφή για το κάθε πρόγραμμα, ώστε ακόμα και κάποιος που δεν ξέρει τις ονομασίες από τα προγράμματα να μπορεί να βρει αυτό που θέλει.

Για όσους διαθέτουν 16:9 οθόνες μπορούν ανοίγωντας το /etc/X11/xorg.conf να κάνουν μια μικρή αλλαγή στην 3η γραμμή και να υποστηρίζονται καλύτερα οι οθόνες τους (η αλλαγή περιγράφεται στα σχόλια της 3ης γραμμής του /etx/X11/xorg.conf). Για όσους αντιμετωπίζουν δυσκολίες με τον X server, και δεν ξέρουν πως να πειράξουν το /etc/X11/xorg.conf μπορούν να γράψουν: “vesachange.sh” και να αλλάξει ο driver αυτόματα σε “vesa”.

Μικρές αλλαγές υπάρχουν επίσης και στο backup/restore script (filetool.sh) το οποίο πλέον σώζει μόνο τις αλλαγές που γίνονται στο home directory, και δεν το σώζει ολόκληρο όπως παλιά, ώστε το backup να καταλαμβάνει λιγότερο χώρο.

Περισσότερες αλλαγές περιγράφονται στο αρχείο /etc/iloog/changelog μέσα στο LiveCD

Το νέο iso μπορείτε να το κατεβάσετε από την διεύθυνση http://ilug.void.gr/iloog/ . Στην ίδια σελίδα θα βρείτε και ένα μικρότερο delta αρχείο με το οποίο μπορείτε να μεταβείτε από την παλιότερη έκδοση 6.12.1 στην τελευταία 7.02.

Screenshots υπάρχουν στη σελίδα του iloog καθώς και στο flickr: http://www.flickr.com/photos/tags/iloog/

Δοκιμάστε το και πείτε μας την γνώμη σας στο forum του Ioannina Linux User Group 🙂

Cherry Cymotion Master Linux with Fluxbox

Some tips in getting Cherry Cymotion Master Linux (german layout image) to work with fluxbox (with Gentoo of course). This keyboard’s keys have a great feeling and a great “clickety click” sound. The 20% extra surface on the keys makes typing a lot easier but you need a couple of hours to get used to them. It’s worth it though.

First of all, don’t try to use the keyman software that Cherry provides. Just DON’T. Unless you ‘ve got LOTS of patience and some skills to fix the horrible configure/make scripts that it comes with. It’s horrible to set it up and you need to patch your kernel for it to work properly. What do you lose ? Just the K-key next to your Penguin Key (bye bye Windows Key) and the combinations that you can with the K-Key. This keyboard has SO many extra keys that you won’t need it (yet).

0) Create /etc/init.d/cherry with the following contents:
#!/sbin/runscript
start() {
ebegin "Setting up Cherry Keyboard CyMotion Master on PS/2"
# Search Eject Home An Aus Media
# Up/Right Down/left Cut Paste Copy Desktop1
# Desktop2 Desktop3 Redo Undo
#setkeycodes e065 136 e070 161 e032 172 e05f 143 e063 145 e06d 171 \
# e00b 177 e012 178 e017 137 e00a 135 e018 133 e071 148 \
# e02c 149 e072 202 e007 129 e008 131 e05b 200
setkeycodes e065 136 e070 161 e032 172 e05f 143 e063 145 e06d 171 \
e00b 177 e012 178 e017 137 e00a 135 e018 133 e071 148 \
e02c 149 e072 202 e007 129 e008 131
eend $?
}
stop() {
ebegin "Restoring defaults for PS/2 keyboard"
# Search Eject Home An Aus Media
# Up/Right Down/left Cut Paste Copy Desktop1
# Desktop2 Desktop3 Redo Undo
setkeycodes e065 217 e070 000 e032 150 e05f 142 e063 143 e06d 226 \
e00b 000 e012 000 e017 000 e00a 000 e018 000 e071 000 \
e02c 000 e072 000 e007 000 e008 000 e05b 125
eend $?
}

Make it executable: chmod +x /etc/init.d/cherry
Start it: /etc/init.d/cherry
and add it to your default runlevel: rc-update add cherry default (on gentoo)

1) Take a look at your /usr/share/X11/XKeysymDB. This file includes all the available keyboard mappings you can have.

2) Change your Keyboard Inputdevice in /etc/X11/xorg.conf to include these (works in my current Xorg 7.1):
Option "XkbModel" "cymotionlinux"
Option "XkbVariant" "nodeadkeys"

Restart your X server.

3) Create a .Xmodmap file in your home dir and fill it with mappings from /usr/share/X11/XKeysymDB. Mine looks like this:
! Internet-Keys (Back, Forward, Stop, Reload, Search)
keycode 234 = XF86Back
keycode 233 = XF86Forward
keycode 232 = XF86Stop
keycode 231 = XF86Refresh
keycode 122 = XF86Search
! Multimedia-Keys (Play/Pause, Stop, Back, Forward, Eject)
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 204 = XF86Eject
! XPress-Keys left (Up, Down, Cut, Paste, Copy)
keycode 220 = XF86ScrollUp
keycode 143 = XF86ScrollDown
keycode 188 = XF86Cut
keycode 192 = XF86Paste
keycode 248 = XF86Copy
! XPress-Keys right (List 1, List 2, List 3, Redo, Undo)
!keycode 159 = XF86Launch0
!keycode 151 = XF86Launch1
!keycode 171 = XF86Launch2
!keycode 138 = XF86Launch3
!keycode 135 = XF86Launch4
! Premium-Keys (Calculator, Email, Browser, On/Off)
keycode 161 = XF86Calculator
keycode 236 = XF86Mail
keycode 130 = XF86HomePage
keycode 199 = XF86LogOff
! Main-Keys (-, +, Mute, Media-Player)
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute
keycode 129 = XF86AudioMedia
! @-Key
keycode 116 = XF86Terminal

Do a:
xmodmap ~/.Xmodmap

You can test your multimedia keys using xev.
If you want fluxbox to automatically load these binding each time you logon, put “xmodmap ~/.Xmodmap” somewhere (NOT in the end) inside your ~/.fluxbox/startup

4) Edit your ~/.fluxbox/keys and map the new keys to actions like that:
None XF86Launch1 :Workspace 1
None XF86Launch2 :Workspace 2
None XF86Launch3 :Workspace 3
!
None XF86AudioPrev :ExecCommand audacious--rew
None XF86AudioPlay :ExecCommand audacious --play-pause
None XF86AudioNext :ExecCommand audacious --fwd
None XF86AudioStop :ExecCommand audacious --stop
None XF86Eject :ExecCommand audacious -j
!
None XF86AudioLowerVolume :ExecCommand amixer sset PCM 2-
None XF86AudioMute :ExecCommand amixer sset "Audigy Analog/Digital Output Jack" toggle
None XF86AudioRaiseVolume :ExecCommand amixer sset PCM 2+
None XF86AudioMedia :ExecCommand gmplayer
!
None XF86Calculator :ExecCommand gcalctool
None XF86Mail :ExecCommand /usr/bin/thunderbird
None XF86HomePage :ExecCommand /usr/bin/firefox
!
None XF86Terminal :ExecCommand mrxvt --loginShell

Restart Fluxbox. You should now be able to start applications using your multimedia keys on top and on the bottom. If you are using Gnome or KDE you can do all this with their own programs. I think the proper program in KDE is called khotkeys.

5) In order to use the side keys for more advanced functions like copy,paste,unde,redo,etc do the following:
Create /usr/share/X11/xkb/compat/cymotion with what you like. Mine looks like:
// $XFree86$
// XFree86 special keysyms
default partial xkb_compatibility "basic" {
interpret.repeat= True;
// Ctrl+C for Copy
interpret XF86Copy {
action = Redirect(Key=<AB03>, modifiers=Control);
};
// Ctrl+V for Paste
interpret XF86Paste {
action = Redirect(Key=<AB04>, modifiers=Control);
};
// Ctrl+X for Cut
interpret XF86Cut {
action = Redirect(Key=<AB02>, modifiers=Control);
};
// Ctrl+Pos1 for ScrollUp
interpret XF86ScrollUp {
action = Redirect(Key=<HOME>, modifiers=Control);
};
// Ctrl+End for ScrollDown
interpret XF86ScrollDown {
action = Redirect(Key=<END>, modifiers=Control);
};
// Ctrl+Shift+Z for Redo
interpret Redo {
action = Redirect(Key=<AB01>, modifiers=Shift+Control);
};
// Ctrl+Z for Undo
interpret Undo {
action = Redirect(Key=<AB01>, modifiers=Control);
};
// Backspace for Back (Firefox)
interpret XF86Back {
action = Redirect(Key=<BKSP>);
};
// Shift+Backspace for Forward (Firefox)
interpret XF86Forward {
action = Redirect(Key=<BKSP>, modifiers=Shift);
};
// ESC for Stop (Firefox)
interpret XF86Stop {
action = Redirect(Key=<ESC>);
};
// Ctrl+R for Reload (Firefox)
interpret XF86Reload {
action = Redirect(Key=<AD04>, modifiers=Control);
};
// Ctrl+F for Search Page (Firefox and most other applications)
interpret XF86Search {
action = Redirect(Key=<AC04>, modifiers=Control);
};
};

6) Edit /usr/share/X11/xkb/compat/complete and add inside it:
augment "cymotion"

Restart X.

And you should be done.

The process is a bit complicated but the result is very rewarding. The Cut/Copy/Paste with just one click is amazing, especially for Greek users because when someone with another keyboard switches the keyboard language to greek, “ctrl+c” becomes “ctrl+ψ” (ctrl+greek_psi) and copy/paste does not work any more (ctrl+insert and shift+insert are not very efficient shortcuts) . You can easily program Cymotion Master Linux keyboard though to send the keystrokes you want (that was what I did in /usr/share/X11/xkb/compat/cymotion) because there are so many extra keys to use 🙂

Here comes the result of all these (click to maximize):

References:
a) http://forums.gentoo.org/viewtopic-t-261126-highlight-cymotion.html
b) http://www.ubuntu-forum.de/thread.php?threadid=11319
c) http://my.opera.com/netzpirat/blog/show.dml/505978