Category Archives: Linux

Learning Python

It’s been almost a year since I first learned the basics of Ruby — which now I’ve forgotten by the way, but the interest in programming hasn’t declined. For the last couple of weeks I was trying to make my way around C, C++ or Java tutorials. Hopefully, it was my friend, Dimitris, who sent me a bunch of cool resources and  links from the Ioanna University, Department of Computer Science. Professor’s presentations, tutorials, syllabus and other valuable stuff for a newbie in programming. Despite all this great data, for some reason I kept digging about other languages and I found about Python out.

Continue reading

Thoughts on Ubuntu 8.10

Considering myself most times as an early adopter, this time with Ubuntu’s new version I didn’t upgrade as soon it was released. The problem is that the last weeks I don’t have too much free time to spend on computers and other things I like. Anyway, the point of the post is not whether I have or not spare time, but the brand new Ubuntu 8.10.

my Ubuntu Desktop 2

For you that you don’t have upgraded yet, I highly recommend it. There are two ways for upgrading, one with a clean install and the other from upgrading via your current installation (8.04 or 7.10 etc). Personally, I preffer the first way, in which the new OS is beeing complete installed and then works just as a brand new machine. In other words with a clean everything is beeing installed from scratch. You can find a very handy guide for a clean install in Irene’s blog (which in fact is in Greek but you can find the English version translated from Google Translate here).

Tons of new features and improvements are coming with Intrebix Ibex. First of all, 8.10 comes with full 3G support you easily move between wired and wireless connections onto 3G cellphone networks while travelling or if there is no wireless signal. There is also out of the box support for PSP, iPods and other MP3 players as well as built-in uploading support for Flickr via F-Spot Image Viewer. A very cool feature is Guest session, which creates a temporary password-less user account with restricted privileges like that the account cannot access any users’ home directories, nor permanently store data. One other killer-feature is the Live USB Creator, which is a built-in app for creating Live USBs for testing and installing Ubuntu, serving like Live CDs.

Regarding the technical overview, Ubuntu comes with the latest Gnome 2.24 desktop environment, with lots of bugs fixed like Nautilus which now has tabbed browsing and shows eject icons next to removable devices. File Roller (archive manager) now supports more file types like ALZ, RZIP, CAB and TAR.7Z. There is also the latest Linux kernel 2.6.27 which has fixed lots of bugs too. Intrebix Ibex comes with the new Network Manager version 0.7 which now supports management of 3G networks, multiple active devices at once, management of PPP and PPPOE connections as well as management of devices with static IP configurations. DKMS (Dynamic Kernel Module Support) allows kernel drivers to be automatically rebuilt when new kernels are released. This makes it possible for kernel package updates to be made available immediately without waiting for rebuilds of driver packages, and without third-party driver packages becoming out of date when installing these kernel updates. Finally, there is also the new Samba version, 3.2, which supports encrypted network transport, IPv6 protocol and better integration with the latest Windows clients and servers.

Using it in my machine for two days, I can see that Intrebix Ibex is much faster as the previous version I used the Gutsy Gibbon (7.10). I think that it’s defenitely one of the best Linux distros out there. My opinion is that this new version has made Ubuntu a bit more Mac-like, in the way that everything works together, no need for configurations etc. I don’t say that you must not do edit some settings here and there but at least there not as many as before. Concluding, I encourage you to upgrade with a clean install in Ubuntu 8.10 as you can feel the brand new Ubuntu experience.

Guest-post over Webz.gr

Σήμερα τα καλά παιδιά του Webz.gr δημοσίευσαν το guest-post μου με τίτλο “Γιατί τα Ubuntu δεν μπορούν να γίνουν το most used OS?”. Aν θέλετε clickάρετε να το δείτε και να πείτε τη γνώμη σας. Ένα μεγάλο ευχαριστώ στον Lexx και στον PanosJee που δέχτηκαν να το δημοσιεύσουν!

Cheers!

How To: Make Ubuntu Desktop & Panels look like Mac OSX

Όσοι χρησιμοποιείτε Ubuntu νομίζω θα σας αρέσει αυτό το post. Λοιπόν, όλοι λέμε ότι οι Mac έχουν το καλύτερο design και style. Γιατί να μην το φέρουμε αυτό το style και στο Ubuntu μας με μερικά “tweaks”, κρατώντας βέβαια το Gnome theme που χρησιμοποιούμε και χωρίς να χρησιμοποιήσουμε διάφορα άλλα προγράμματα ή extra themes.

Πρώτα απ’ όλα ξέρουμε ότι τα Ubuntu χρησιμοποιούν δύο panels (έναν πάνω και έναν κάτω). Ο πάνω λειτουργεί από default σαν quick launcher που βάζουμε προγραμμάτα αντί να τρέχουμε στα Applications και ο κάτω πάλι από default σαν window list, δηλαδή μας εμφανίζει τα ανοιχτά παράθυρα αλλά και τα υπόλοιπα desktops που έχουμε.

Το μόνο που θα κάνουμε είναι να αλλάξουμε λίγο το layout των δύο αυτών panels ώστε ο κάτω να γίνει σαν dockbar και να βάζουμε όλα τα προγραμμάτά μας (δηλαδή όσα θέλουμε) αλλά και να δείχνει τα ανοιχτά παράθυρα χωρίς να αλλάζουν οι διαστάσεις του. Ο πάνω panel θα χρησιμοποιηθεί κατά κάποιον τρόπο με το να έχει κάποια applets και την Notification area.

Το desktop μου με βάση το How To

Το desktop μου με βάση το How To - Δείτε το και σαν τελικό αποτέλεσμα - Κλικ για να το δείτε σε μεγαλύτερη ανάλυση

Με βάση λοιπόν το desktop μου στη φωτογραφία νομίζω καταλάβατε τη ενοούσα στη προηγούμενη παράγραφο για τα panels.

Ας αρχίσουμε λοιπόν με το πρώτο panel. Κάντε remove (δεξί κλικ>Remove from Panel) όλες τις εφαρμογές και apps που έχετε βάλει και αφήστε μόνο τη notification area μαζί με την ώρα, τον ήχο και το κουμπάκι του shutdown. Από το κάτω panel βγάλτε το Desktop Switcher και βάλτε το (δεξί κλικ>Add to Panel) στον πάνω panel ακριβώς δίπλα (δεξί κλικ>Move) από το βασικό μενού Applications, Places, System. Mετά κλειδώστε το (δεξί κλικ>Lock to Panel) ώστε να μην κουνηθεί καταλάθoς. Δίπλα από το Desktop Switcher βάλτε το Keyboard Indicator και ακριβώς από δίπλα βάλτε το System Monitor. Ρυθμίστε το (δεξί κλικ>Preferences) να δείχνει μόνο Processor, Memory, Network και System Load. Δίπλα από το System Monitor βάλτε το Netspeed applet (εάν δεν το έχετε κατεβάστε το από τα repos: sudo apt-get install netspeed). Όλα αυτά κάντε τα πάντα Lock to Panel για να μην αλλάζουν θέσεις καταλάθος. Εάν είστε ένας user και δεν μοιράζεστε το PC σας με κάποιον άλλο user τότε βγάλτε το User Switcher applet (είναι αυτό δίπλα από τον πορτοκαλί μεγεθυντικό φακό). Τώρα, δίπλα από τον Finder (ο φακός που λέγαμε) βάλτε το Network Monitor και δίπλα από αυτό το Force Quit applet. Με το τελευταίο κλείνετε ακαριαία κάποια εφαρμογή που κολάει. Μετά από όλα αυτά τα add/remove/move/locks στα apps κάντε δεξί κλικ σε μια ελεύθερη επιφάνεια του panel και πηγαίντε στο Properties. Εκεί στο Βackground tab επιλέξτε Solid Color, σαν χρώμα το άσπρο και από κάτω το Style σύρτε το λίγο μετά από το Transparent και λίγο πριν από το Opaque ώστε να είναι διαφανείς.

Μετά από όλα αυτά ώρα να πάμε στο κάτω panel. Εδώ εγώ θα σας πω λίγα πράματα, καθώς εσείς θα αποφασίσετε τι προγραμμάτα θέλετε στο κάτω panel που θα γίνει σαν dock. Όμως πρωτού βάλετε τα δικά σας προγράμματα βάλτε στο κάτω panel το Show Desktop από τα applets, και δίπλα από αυτό το Lock Screen. Δίπλα από αυτό βάλτε όλα τα προγράμματά σας. Tip: μπορείτε να βάλετε και σαν συντόμευση τον /home folder κάνωντας δεξί κλικ>Add to Panel και γράφωντας στο command “nautilus –no-desktop –browser %U” χωρίς τα εισαγωγικά φυσικά, το terminal κάνωντας την ίδια διαδικασία αλλά γράφωντας στο command “gnome-terminal”, το root terminal εάν είστε πιο έμπειρος χρήστης γράφωντας “gksu /usr/bin/x-terminal-emulator” στο command. Μην ξεχάσετε να βάλετε και το name και αν θέλετε και το description. Τέρμα δεξιά βάλτε και το Trash κάνοντας δεξί κλικ>Add to Panel και επιλέξτε το Trash. Μπορείτε να βάλετε και προγράμματα από το βασικό menu (Applications, Places, System) απλά κάνωντας Send to Panel στην εκάστοτε εφαρμογή. Αυτή θα πάει στο πάνω panel αλλά μπορείτε να την μεταφέρετε μετά στο κάτω. Π.χ., εγώ έτσι έχω βάλει τα Network Workgroups, Connect to a Server…, Network Tools, Network Configure, Calculator, το Open Office New Word Document (αν και θα το βγάλω λόγω του Google Docs), το File Manager και το Synaptics. Βέβαια το πιο σημαντικό είναι ο Window List. Δεν θα βάλουμε το κλασσικό list που βγάζει όλα τα ανοιχτά παράθυρα στο panel αλλά το Window Selector, το οποίο είναι μόνο ένα εικονίδιο που αν το πατήσουμε μας βγάζει τα ανοιχτά παράθυρα σαν drop-down menu (σε εμάς αφού είναι στο κάτω panel θα τα βγάζει προς τα πάνω). Είναι θέμα συνήθειας, καθώς εγώ δεν το χρησιμοποιώ καθόλου (μόνο “σε ώρα ανάγκης”) καθώς αλλάζω τα παράθυρα μόνο με alt+tab, super(windows logo)+q, super+tab (τα δύο τελευταία γίνονται μέσω του Compiz Fusion).

Αφού βάλατε όλα τα απαιτούμε προγράμματα και ότι άλλο χρειάζεστε τώρα σειρά έχει η αλλαγή layout του panel. Κάντε δεξί κλικ σε ένα ελεύθερο σημείο και πατήστε το Properties. Στο General tab, αλλάξτε το size στο 32 ή 35 εάν έχετε μεγάλη ανάλυση οθόνης, ξετσεκάρετε το Expand ώστε το panel να γίνει ακριβώς σαν dock και να μην καταλαμβάνει όλη την κάτω πλευρά. Μετά σύρτε το προς το κέντρο όπου θα κεντραριστεί μόνο του. Αν θέλετε τσεκάρετε το Autohide. Στο Background tab κάντε ότι και στο πάνω panel για το opacity.

Tώρα μπορείτε να θαυμάσετε το Mac-like desktop σας που παραμένει πιστό στα Gnome και Ubuntu traditions (lol). Εάν έχετε κάποια απορία, ερώτηση, remark, επισήμανση ή απλά θέλετε να πείτε τη γνώμη σας feel free to comment below ή/και να επικοινωνήσετε μαζί μου.