planetmuch
the IT my bike and me…
Linux Setup for freaks…
Posted by on May 14, 2012
- install Arch Linux (x64) -> use a stable filesystem type, for instance jfs or ext4
- install proper graphics hardware drivers and xorg-server
- get a lightweight desktop environment (like xfce4, openbox)
- install linux-ck kernel for better performance
- install verynice for better performance
- install lightweight software I recommend or get some inspiration from the wiki
- when updating the system with pacman -Syu, be sure to block some software from being upgraded (see my config for details)
more resources:
- check this video to see a well configured xfce desktop
How to compile a kernel under Ubuntu Server x64
Posted by on May 9, 2012
quick and dirty (do at your own risk – no warranty!):
1. be sure to have “ncurses-dev” installed (“apt-get install ncurses-dev”) otherwise “make menuconfig” won’t work!
2. get the kernel sources – check the Ubuntu Site for details
3. if you got a source archive file like “linux-source-3.0.0.tar.bz2″, extract it with the command “tar xjvf linux-source-3.0.0.tar.bz2″
this might take a while and will consume lots of disk space (after compiling the directory will have a size of about 8GB)
4. change to the directory the Makefile is located (in my case “cd src/linux-source-3.0.0″)
5. “make menuconfig” (configure your kernel – Don’t change to much unless you are an expert, it happens quite often that the result isn’t working…)
6. “make” (compiles the kernel)
7. “make modules” (compiles the kernel modules)
8. “sudo make modules_install” (installs the modules)
9. “sudo make install” (installs the kernel and does some other useful stuff on Ubuntu Server, like editing grub.cfg for you)
10. your new kernel should be installed properly (check contents of directory “/boot” and grub config “/boot/grub/grub.cfg” if you are unsure)
11. do a reboot via “sudo reboot”
12. if you are lucky, the system can be booted with the freshly compiled kernel
Useful Eclipse Plugins
Posted by on May 3, 2012
Today I got a recommendation for some Eclipse Plugins, which I want to share with you.
This is useful to adjust the text size for your needs. (on high resolution screens the default font size might for example be to small…)
Adds a vim like editing mode to Eclipse, which can be turned on and off through a simple button.
The Plugins can be installed via Help -> Install new Software… -> Add Button -> Fill in the URL you got from the projects page
-> Press OK -> now you can choose the Plugin and install it (during installation Eclipse will tell you that the package is not signed – this is not an error)
How to get videos from Youtube as mp3 under Linux
Posted by on February 23, 2012
I just wanted to show you how I do this under (Arch) Linux.
For ripping the stuff off from youtube.com there are several possibilities (e.g. youtube-dl),
however I use firefox with the addon Video DownloadHelper for this.
With this addon you can download any video from youtube in the desired quality.
When the download of foo.flv has finish, simply execute the following command to get bar.mp3
(you will need ffmpeg and lame for this):
ffmpeg -i foo.flv -vn -ar 44100 -ac 2 -ab 192k bar.mp3
After a short period of time (depending on your systems speed) you should have a decent
mpeg layer 3 file (constant bitrate) for your mp3 player.
Some thoughts about my Google Android G1
Posted by on October 31, 2011
Over the last weeks I was really unhappy about the performance of my Android G1 (bought 23.08.2009).
1. Some Applications freeze during usage and you are asked if you want to shut it down
2. The current firmware version is 1.6 which is far away from being up to date. The vendor simply doesn’t care…
3. Internal memory is not enough to use the device properly and applications can not be installed onto SD card! (remember -> 1.6)
These are my additional applications:
Battery Widget, Taschen lampe, Wifi Analyzer, IMDB, Stoppuhr, wetter.com, Maps, GPS Tracker, tCallBlocking Lite,
K-9 Mail, klickTel, Meebo IM, Multilang Dictionary, Google News, Note Everything, Pkt Auctions eBay, Places Directory, The Weather Channel
Perhaps I’ll try upgrading my phone to a higher Android version…
My current Linux Desktop
Posted by on September 17, 2011
Howto: Fahrenheit unter Windows 7 x64 spielen / Play Fahrenheit on Windows 7 x64
Posted by on August 25, 2011
Fahrenheit (aka Indigo Prophecy) is an entertaining Adventure Game, which feels like playing in a movie.
I bought it some years ago, but nowadays, on newer Windows versions, it won’t run without some effort.
So here is the howto (only tested for the European Version) :
1. Copy the whole DVD to your Harddrive
2. Make sure UserAccountControl (UAC) is turned off
3. Replace Fahrenheit.msi in the Directory you copied with this one
4. Rightclick on setup.exe and select run as administrator
5. When the setup asks for creating a link on your desktop, say NO
6. Get the European patch for version 1.1 from here and install it
7. Try to run the game
8. If this doesn’t work out, get the no-cd fix from here and apply it
optional:
If you are annoyed by the long Intro, which is played every time you start the game, get the fix from here
Have fun!
Other ressources:
Must-Have Software für den GNU/Linux Desktop
Posted by on June 16, 2011
Über die letzten Jahre habe ich viele verschiedene GNU/Linux Distributionen ausprobiert (dazu ein ander mal mehr…).
Die folgende Aufstellung könnte evtl. für jemanden interessant sein, der auch gerne schlanke Software benutzt.
System Tools:
- htop – ein etwas hübscheres Pendant zu top
- smartmontools – aktuelle SMART-Werte der Fesplatte auslesen (Temperatur, Betriebsstunden, usw.)
- mlocate – praktisch um Dateien im System schnell aufzufinden (vor dem ersten Suchlauf muss updatedb als root ausgeführt werden)
- cfdisk – zum Partitionieren der Festplatte
- zsh – diese Shell hat einige nützliche Funktionen gegenüber der Standard Shell bash (siehe Kommentare)
Editoren:
- vim – mächtiger Editor, der in der einfachen Ausführung (vi) auf quasi jedem Unix-System vorinstalliert sein sollte
Bildbetrachter:
- mirage - ist ein GTK+ Bildbetrachter, der mir ganz gut gefällt.
- Eye of Gnome und
- Shotwell kann man sich aber auch mal ansehen.
- xv ist für den Aufruf aus der Shell heraus ganz praktisch.
Multimedia:
- mplayer – ein guter Mediaplayer, der die gängigen Formate abspielt (*.mp3 *.ogg *.avi *.mkv *flv, usw.) gibt es auch mit GUI, die mir persönlich aber nie gefallen hat.
- umplayer – das ganze mit GUI… besser geht es kaum!
- xbmc – wenn es mal besonders schick aussehen soll – bietet sich im Wohnzimmer an.
Außerdem noch…
- vlc – hierzu braucht man nicht viel sagen. Spielt im Prinzip alles an Mediadateien ab und lässt sich gut bedienen
- xine – auch ein guter Mediaplayer, habe ich immer als Fallback installiert
Es gibt noch einen Haufen andere Video-/Mediaplayer – fast jede große Desktopumgebung (z.B. KDE oder Gnome) bringt ihre eigenen mit.
Mir persönlich haben diese Player nie richtig zugesagt, zumal alle paar Monate meist wieder ein anderer mitgeliefert wird…
Eine Ausnahme für mich wäre allerdings
- gxine – basierend auf GTK+ und sehr schlicht gehalten (bietet sich an, wenn man xfce oder Gnome als Desktop benutzt)
Videoschnitt:
- OpenShot – wohl einer der besten Videoeditoren unter Linux. Hier mal ein Beispiel, das mir recht gut gefallen hat.
Musikplayer:
Auch zum Musik abspielen verwende ich meistens mplayer (s.o.) auf dem Terminal, aber es geht auch anders:
- audacious - einfacher Musikplayer, der xmms bzw. dem alten winamp unter Windows ähnelt – unterstützt auch alte winamp themes
- deadbeef – optisch noch schlichter gehalten (ähnlich gxine, s.o.)
Kommunikation:
- centerim – Kommandozeilen-Client für verschiedene Chatprotokolle, wie z.B. icq, aim, msn, jabber, usw.
- irssi – Client auf der Kommandozeile für irc
- Claws-Mail – klassischer grafischer Email-Client, der gängige Kontentypen (POP3, IMAP, usw.) abfragen kann
- Skype – sehr verbreitete Kommunikationsplattform, leider ist mir die Software schon ein paar mal abgestürzt und hat das Betriebssystem gleich mitgerissen :/
Webbrowser:
Hier gehen die Meinungen sicher mindestens so heftig auseinander, wie im Bereich der Betriebssysteme oder Editoren…
Meine aktuellen Favoriten sind:
- chromium – sehr schneller Browser, der bei entsprechender Benutzung sehr viel flüchtigen Speicher (RAM) verbraucht. Sinnvolle Addons: Adblock Plus, Neat Bookmarks, Speed Dial, iReader. Leider fehlt hier das geniale Addon Video DownloadHelper, mit dem man auf verschiedenen Seiten die eingebetteten Videos einfach herunterladen kann. Das Addon gibt es bisher nur für den Browser
- firefox – hier gibt es nicht viel zu sagen. Solider und recht schneller Browser mit einem großen Angebot an Addons.
Außerdem gibt es noch…
- midori – schlanker WebKit Browser und gut zum Testen von PHP/HTML5 Seiten
SW-Entwicklung:
Folgendes kann ich empfehlen:
- gcc (C) und g++ (C++) zum kompilieren von Konsolenanwendungen
- Eclipse für die Entwicklung größerer Programme
- Android-SDK, falls man für Android Geräte entwickeln möchte (die Entwicklung findet auch hier in Eclipse statt)
Organisation:
- Taskwarrior – Verwaltung von Aufgaben auf der Kommandozeile
Hi Folks!
Posted by on February 9, 2011
In meinem Blog planetmuch.wordpress.com wird es vor allem um diese Themen gehen:
- IT und alles was damit zu tun hat
- Mein Motorrad aus Italien (nein, keine Ducati)
- Mein Studium an der Fachhochschule Worms
