Monday, April 28, 2014

Wheezy uses apt as favorite methode

Debian Etch, Lenny and Squeeze prefered aptitude for installing packages. This changed with Wheezy to apt-get.
In the past you can see at the log-files that the debian installer advices aptitude to install the packages (you could look at the log-files).

Now the installer uses apt, what the log-files confirm.

Wednesday, April 16, 2014

Installation day 14.04

At 14.04 was  my great Debian installation day, and i installed my work-computer with Debian 7.4, later at home my notebook with Debian 7.1 and desktop with Debian 7.0.

The cause for the different versions is that i used the DVD for installation and this were the available DVD at this moment.
The installation i only run from media without  a network-connection so that all packages are installed from local media.

After long time usind Debian Squeeze now i switch to Wheezy and enjoy the new user experience with Gnome3.

The installation was very easy and the hardware detection found at the work-computer and home-desktop everything that was installed. It work out of the box. At the notebook i must installed furter nonfree firmware packages with some dpkg -i commands. Wireless lan and graphic card was not found and so it run with gnome-classic.

The only difference i notice was that Debian 7.0 hat the ssh-server selected at tasksel, and with Debian 7.4 it was disabled as default.

Timely this day i recevied the current debian manual from Heike Jurzik.
The books to debian 5 & 6 i owned and the new one is realy fine to read for beginner and professionals. Very nice is that not only Gnome is described, the other enviroments and window manager like fwvm are a part of the book too.
Debian Book at Galileo Computing from Heike Jurzik

Thursday, April 10, 2014

Slideshow with non X Server

Slideshow for the shell 

Auf einem Server wollte ich nebenbei noch eine Slideshow mit Bildern laufen lassen.
At my server i would run a slideshow with pictures.
Because the server has no graphical enviroment i decieded to use the framebuffers.
As programm i installed "fbi"

aptitude install fbi 

The programm is part of the official debian repository.
For creating a framebuffer device the kernel need this parameter during boot:


This means 16 Bit colour and 1024x768 Pixel.

fbi -d /dev/fb0 -t 7 -u /daten/bilder/*.JPG 

With this command line i show all pictures from the directory /daten/Bilder for each 7 secounds a picture on the /dev/fb0 framebuffer device.
With -d i chose the device, -t are the time in secounds and -u the sources of the pictures.

That the scripts run in a ininity loop i create two shell-scripts:

while true
fbi -d /dev/fb0 -t 7 -u /daten/bilder/*.jpg

while true
sleep 30
killall fbi

The first script starts the fbi command and the loop garants, that if the programm is closed, it starts again. The secound scripts stops the fbi programm every 5 minutes (so that script 1 restart it) and with this it recognize the new pictures.