64-bit Flash Plugin / Java 64-Bit für Firefox

Posted in Ubuntu & Co on Januar 13th, 2010 by osfight

(Ubuntu 9.10 – Karmic Koala, 2.6.31-16-generic 64Bit, Gnome 2.28.1, Firefox 3.57)

Flash

1. ndiswrapper 32-Bit Flash Plugin entfernen, dafür in einem Terminal:

apt-get remove flashplugin-nonfree --purge

2.  64-Bit Flash Plugin für Linux von der Adobe Labs Seite herunterladen

wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz

3. Die Datei in den Mozilla Plugin Ordner entpacken:

sudo tar -xzf libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz -C /usr/lib64/mozlla/plugins

Gibt man nun in Firefox about:plugins in der Adressleiste ein, sollte folgendes zu sehen sein: 

 

Java

In einem Terminal muss dafür nur

sudo apt-get install sun-java6-plugin

eingegeben werden. Mit about:plugins in Mozillas Adressleiste, sollte Java dann aufgelistet sein:

Tags: , , , ,

Linux ist für 64-Bit optimiert

Posted in News on Januar 6th, 2010 by osfight

Die Profis von Phoronix.com haben für uns die Performance eines 32-Bit Linux Kernels gegen einen 32-Bit PAE Kernel gegen ein 64-Bit Kernel getestet. Das finale Ergebnis: Ein 64-Bit Linuxkernel ist den 32-Bit Brüdern bei nahezu allen Tests teilweise haushoch überlegen uns es gibt keinen Grund nicht auf 64-Bit System umzusteigen.

Getestet wurd mit einem Lenovo Thinkpad T61 und installiertem Ubuntu 9.10 und Kernelversion 2.6.31. Wenn die Tests auch theoretischer Natur sind, erreicht die Leistungssteigerung bei einigen Benchmarks mehr als 1000% und ist doch recht beeindruckend. Bei keinem der 14 Messungen war der 64-Bit Kernel unterlegen und mit nativer 64-Bit Java und Flash Unterstützung steht auf Linux 64-Bit mehr im Weg.

Tags: , , ,

Thunderbird 3.0 und Lightning auf Ubuntu 9.10

Posted in Linux, Ubuntu & Co on Januar 5th, 2010 by osfight

Thunderbird 3 is wesentlich besser als die alte Version und wer deshalb nicht warten möchte, bis die offizielle Version in den Ubuntuquellen übernommen wird, kann folgendes tun:

1. In einem Terminal mit sudo die PPA Quellen / den Authentifizierungsschlüssel hinzfügen

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa

2. APT updaten und Thunderbird 3.0 installieren

sudo apt-get update && apt-get install thunderbird-3.0

3. Lightning installieren

Thunderbird 3.0 benötigt Lightning > 0.9, dafür muss die passende XPI-Datei heruntergeladen werden.

32-Bit (i686)

1. Lightning XPI herunterladen (rechts klick → speichern unter)

http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b1rc1/linux-i686/lightning.xpi

2. Thunderbird 3.0 (heißt aber Shredder nach Installation), starten und unter Tools → Get Addons → Install die XPI Datei auswählen und diese installieren, Shredder neustarten und fertig.

64-Bit (x64)

1. 64-Bit Lightning XPI herunterladen (rechts klick → speichern unter)

http://www.zaera-holo.net/builds/lightning-1.0pre-linux-x86_64.xpi/lightning.xpi

2. Thunderbird 3.0 (heißt aber Shredder nach Installation), starten und unter Tools → Get Addons  nach Nightly Tester Tools suchen, diese installieren und Shredder neustarten.

3. Nach Shredder Neustart Tools → Get Addons → Install die 64-Bit Lightning XPI Datei auswählen und installieren, Shredder neustarten und fertig.

Anmerkung: Thunderbird 3.0 in Deutsch

Leider habe ich noch nicht rausgefunden, wie ich für die Installation von Thunderbird 3.0 und Lightning 1.0 die Deutsche Sprache einstelle.

Tags: , , ,

Grub reparieren nach Windows installation / Grub upgraden

Posted in Linux, Ubuntu & Co on Januar 4th, 2010 by osfight

Hier gibt es eine tolle Anleitung wie man Grub / Grub2 schnell repariert, nachdem man zum Beispiel Windows 7 installiert hat.

1. Ubuntu 9.10 Live CD starten und ein gnome-terminal öffnen.

2. Folgende Ordner als root (sudo -s) so erstellen:

mkdir /mnt/dev /mnt/proc

3.  Jetzt mounten wir alles wie folgt:

mount /dev/sda3 /mnt
mount --bind /dev /mnt/dev
mount -- bind /proc /mnt/proc

/dev/sda3 ist in diesem Fall die root-Partition von meinem installierten Linux (nicht die Live CD). Falls ihr nicht wisst welche das bei euch ist, einfach das Programm os-prober in einer Konsole ausführen und die Windows / Linuxpartition werden euch aufgelistet.

4. Chroot in die Linuxumgebung

chroot /mnt

5. Jetzt befindet man sich in seiner Linuxinstallation und nicht mehr in der LiveCD und kann einfach die Befehle

grub-install /dev/sda
update-grub

ausführen. Bei grub-install keine Partition angeben, also keine Zahl hinter dem sda! Reboot und fertig.

Anmerkung: Extra Bootpartition

Hat meine eine extra Bootpartition, zum Beispiel auf /dev/sda1, muss man NACH Schritt vier zuerst die Bootpartition mounten:

mount /dev/sda1 /boot

und dann Schritt fünf ausführen.

Anmerkung: Grub auf Grub2 upgraden

Die obige Anleitung funktioniert auch um Grub auf Grub2 zu upgraden. Dazu muss man noch folgende Schritte AB Schritt 4 ausführen (beachte aber Anmerkung Extra Bootpartition):

5. Grub entfernen

apt-get autoremove grub grub-pc

6. Karmic Pakete hinzufügen

Sollte Grub2 nicht in den Quellen sein, da man sich zum Beispiel auf  Jaunty befindet (Ubuntu 9.04), muss man vorher noch unter /etc/apt/sources.list die Zeile

deb http://de.archive.ubuntu.com/ubuntu/ jaunty main restricted

in

deb http://de.archive.ubuntu.com/ubuntu/ karmic main restricted

verändern und ein apt aktualisieren:

apt-get update

7. Grub2 installieren und Anleitung auf dem Schirm folgen

apt-get install grub2

Tags: , , ,

N900 wird ausgeliefert

Posted in News on November 11th, 2009 by osfight

Wie soeben bekanntgeben, wird das Nokia N900 endlich ausgeliefert.

Preise:

amazon.com $559.99

amazon.de 599.97€

nokia USA $649

nokia Deutschland 599€

(Nur zur Information: Das Nokia N900 ist wohl das meist erwartete Smartphone seit des durchschlagenden Erfolges von Apples Iphone.)

Mehr Informationen: maemo.nokia.com/n900/,

Tags: , , ,

Caveats for a Karmic Koala Upgrade

Posted in Linux, Ubuntu & Co on November 4th, 2009 by osfight

I was just into upgrading to the newest Ubuntu 9.10 release, Karmic Koala, launched on Oct. 30th. However, there are some issues which should be considered:

  • Ipods are not recognized by Banshee & Co anymore due to the change from HAL to Device-Kit, but some people work already on a fix for this problem (Bug #382941 -high priority) and a not too pretty workaround is explained at bugzilla
  • the window list application crash for vertical gnome panels is still existing, an upcoming fix is still unknown, but a workaround is easy and should work for Karmic Koala (not tested yet)
  • more?
Tags: , ,

Quick and Dirty CVS

Posted in How to, Linux, Programming on Oktober 22nd, 2009 by Crasic

CVS is an easy way to manage programming projects. It keeps track of who changed what and when, as well as saving old versions. I’ll explain how to get a CVS server up and running in 5-10 minutes.

1. Install the server/repo

For Debian/Ubuntu this is fairly straight forward. “apt-get install cvs” should do the trick. Those on other distribuitions should use whatever package manager their distribution uses. Install from source if you like to complicate things, or are running gentoo.

2. Set up the server/repo

Decide on a directory that you want to hold all your CVS modules (i.e. your projects). Typically this is /cvs or /usr/local/cvsroot but it doesnt matter.

Export this directory as the CVSROOT environment variable, this is done with the simple command
$ export CVSROOT=/path/to/cvs/root

(NOTE: this works for bash/csh/ksh, zsh should use the setenv command) You should also add this export statement either to your user init script (~/.bashrc) or the global init script (/etc/profile). So you don’t have to export the variable every time you use cvs on the server.

Run the command
$ cvs init
in order to initialize your cvs repository.

3. Configure the server/repo

CVS does not like having its files edited in the repo, in order to avoid conflicts, its a good idea to checkout the CVSROOT package (this holds all the configuration files) and then comit those changes rather than just editing the files in the package directly. So lets do this (and at the same time we can test if the repo is set up properly.

$ chvs checkout CVSROOT

should display an output like the following

U CVSROOT/checkoutlist
U CVSROOT/commitlist

Try editing some file, (add a space in a comment), save the file and type

$ cvs commit -m "first commit"

The -m is to indicate a short comment for the commit, otherwise cvs would open up the editor specified by the $EDITOR environmental variable to edit the comment.

If it doesnt work. Make sure that your user has write access to the cvs directory. The easiest way to set this up is to create a group (cvs) and to change the cvsroot directory to that groups ownership and to add your user to the group.

4.  Setting up remote access

Set up the proper permissions and users to allow remote reading and writing of the files.

Create a user named cvs-admin in the group cvs (or something along those lines). Go over to the cvs root directory and run the following 2 commands

$ chown -R :cvs .
$ chmod -R g+s .

The first one changes the owning group of the directory (and all of its files) to the cvs group. The second one makes it so that any newly created files will maintain the cvs group ownership (that way if many different users add files they will all still be readable and checkoutable by everyone

In order to get the server runing we need to edit some system config files. Make sure that the following line is in /etc/services

cvspserver       2401/tcp   #CVS network server

Then add the following line to /etc/inet.conf

cvspserver      stream  tcp     nowait  cvs-admin    /usr/bin/cvs cvs --allow-root=/cvs pserver

Also make sure to edit any firewall scripts to allow traffic on port 2401. Restart the inet service and everything should be runnning

5. Adding users

cvs does let you remotely log-in via a local user, but this is insecure, and doesnt work too well when you have a non root owner for the server process. If you don’t mind the security problem (i.e. on a local network), you can simply change the inet.conf to start the service as root instead of cvs-admin and add the names of the users you want to edit to the “writers” files and those who are read only to the “readers” file. (more on this in a second)

If you want the extra security OR you want to add users who don’t have a local account (i.e. windows users logging in remotely) you need to make a passwd file for the repository.

Checkout CVSROOT again (if you have deleted the previous checkout). Create a file named  passwd, a file named readers, and a file named “writers” and add the names of those users that you want to have write access to your repository (either local or remote) to writers.  If a writer/reader doesnt have a local account associated with them, or you decided to run the service from non-root account (which is recomended) you need to add an entry to the passwd file.

The passwd file has entries in the following format

username:password:systemuser

If the proccess is running as non-root then it has no rights to change the user of the attempted read, therefore any user other than the cvs-admin user in the systemuser field will cause the attempted checkout/commit to fail. If you are running a non-root cvs server all the entries should have the following format

john:43eEPdlpnUmb6:cvs-admin

The first field is the user name, the second is the encrypted password. The easiest way to generate this field is to use the htpasswd utility that is installed if you have apache installed on your server, otherwise you can use this utility that can generate the entry for you.

After creating and editing the readers/writers/passwd files we need to tell the cvs repository to include those files in the configuration, edit the checkoutlist file and add 3 lines to it, “passwd”, “readers”, “writers” with no quotes.

Now we just need to add those files and commit to the module with the following command:

$ cvs add writers
$ cvs add readers
$ cvs add passwd
$ cvs commit -m "Added passwd and users"

6. Client Configuration

The last thing left is to configure your client to access the cvs repo. luckily this is fairly straight forward.

For one off checkouts you can use the following commands

$ cvs -d :pserver:username@server:/path/to/cvs/root login
$ cvs -d :pserver:username@server:/path/to/cvs/root checkout MODULE
$ cvs -d :pserver:username@server:/path/to/cvs/root logout

For a regular cvs repository it would be easier to set the CVSROOT variable to point to the server/user that you need.

$ export CVSROOT=:pserver:username@server:/path/to/cvs/root

After which you can simply use the commands without specifying the server everytime

$ cvs login
$ cvs checkout MODULE
$ cvs logout

Remember to save the export either to /etc/profile or ~/.bashrc to save the exported variable next time you log in.

7. Anonymous CVS

There are two ways of doing this, depending on which way your server is configured. If you have it running as root, then you have to create an anonymous user

$ useradd anonymous -s /bin/false
$ adduser anonymous cvs

The reason I add anonymous to the cvs group is because even a read-only user needs to have write permissions to create a lockfile. There are ways around it but I havent figured them out.

In the passwd file add the following line  – anonymous:

If you are running the server as non-root, then you should add the following line to the passwd file

anonymous::cvs-admin

In either case, make sure to add the anonymous user to the readers file.
To make sure its working properly, log in as anonymous and try commiting a change, it should fail.

Tags:

$300 / 300€ eReader

Posted in Linux on Oktober 11th, 2009 by osfight

I assembled an overview with the current state-of-the-art eReader, for decision making. The information are mainly taken from the product websites, spec sheets  and wikipedia.com.

Updated Nov. 2009

Amazon Kindle 2 Txtr Sony PRS-600 Cybook Opus
Price $259 (179€) $463 (319€) $299.99 (207€) $250 (173€)
Screen Size (in) 6 6 6 5
Resolution 800 x 600 800 x 600 800 x600 800 x600
Color Depth (Grayscale) 4Bit (16) 4Bit (16) 3Bit (6) 3Bit (6)
DPI / PPI 166.7 166.7 166.7 200
Touch Display No No Yes No
Weight 289g 300g 286g 150g
Height (mm) 203 151 3Bit (6) 151
Width (mm) 135 131 122 108
Depth (mm) 76 12 10.1 10
Internal Memory 2GB 64MB 512MB 1GB
Extandable Memory No MicroSD (8 GB) MicroSD ,Stick Pro Duo MicroSD
Native Reading Formats Azw, Txt, MOBI (no DRM) PDF,
HTML, Office, ePub, ?
ePub (DRM), PDF
(DRM), BBeB (DRM), JPEG, PNG, GIF, BMP, TXT, RTF
ePub (no DRM),
PDF (no DRM), HTML, TXT, JPG,
GIF, PNG
Native Audio Formats Audible, MP3 None MP3,
AAC
None
USB Yes Yes Yes Yes
Wi-Fi No 802.11 b/g No No
3G EVDO Modem (Whispernet) Yes No No
Bluetooth No Yes No No
NFC 2.4GHz No Yes No No
Battery Capacity (mAh) 1530 2500 ? 1000
Battery Replacable No ? No Yes
CPU Freescale ARM-11 Freescale ARM-11 Freescale ARM-11 Samsung S3C2440
ARM920T
CPU Speed (MHz) 532 532 532 400
RAM Memory (MB) 32 64 128 32
Operating System Linux Linux Linux Linux
G-Sensor (Rotation) No Yes Yes Yes
Speakers Yes No No No
Audio Jack Yes No Yes None

Numlock Einstellungen unter Win XP

Posted in Windows, Windows XP on September 29th, 2009 by osfight

Unter StartAusfuehren regedit findet man unter

HKEY_USERS\.DEFAULT\Control Panel\Keyboard

den Key

InitialKeyboardIndicators.

Setzt man den Wert auf 0, deaktiviert Windows beim hochfahren alle Feststelltasten standardmäßig, darunter CapsLock und NumLock.

Alternativ kann man sich den Regkey  numlock einfach per Doppelklick in die Registry uebernehmen und beim naechsten Neutstart stoeren die Tasten nicht mehr.

Tags: , , , ,

Neue Skype Version für Linux

Posted in Linux on September 27th, 2009 by osfight

(Ubuntu 9.04 – Jaunty Jackelope, Kernel 2.6.28-15-server 32Bit, Gnome 2.26.1, Skype Beta 2.1.0.47)

Seit kurzem gibt es eine neue Skype Version für Linux die man hier herunterladen kann. Nachdem seit weit über einem Jahr nichteinmal Updates nachgereicht worden sind, Versucht die derzeitige Beta Version 2.1.0.47 einiges besser zumachen. Zu den wichtigsten Neuerungen zählen

  • SMS Support
  • native Pulseaudio Unterstützung
  • High Quality Video Unterstützung
  • Unterstützung für Skypes High Qualtiy Audio Codec SILK.

Kleine Änderungen beinhalten u.a. ein überarbeitetes Chat Fenster, Tagging von Kontakten, Änderung des Skype Icons und des Statusmenüs. Im Skype Linux Blog wird noch mit einigen Mythen aufgeräumt, so gibt es keine 64Bit Version, aber eine 32Bit Version mit den benötigten Abhängigkeiten für 64Bit-System.

Updaten von Skype Beta

Skype-Deb herunterladen und per Doppelklick installieren.

Möchte man Skype mit Pidgin verwenden empfiehlt sich das Plugin von Eion Robb skype4pidgin.

Installation skype4pidgin

wget http://eion.robbmob.com/skype4pidgin.deb && sudo dpkg -i skype4pidgin.deb

Zuletzt: Niemand sollte jemals Vergessen, dass es die Skype Limited nahezu zwei Jahre gedauert hat, die Linuxcommunity mit einer adequaten Skype Version zu versorgen, wenn auch Beta, und dabei ein durchaus interresante Kommentareansammlung von Meinungen im wohl meist kommentierten Blogeintrag hervorgebracht wurde.

(Blogeintrag als PDF Skype Blog Entry, 2009Jan21).

Tags: , ,
This website uses a Hackadelic PlugIn, Hackadelic SEO Table Of Contents 1.7.3.