Archive Page 2

Asus eee 1000HE and Ubuntu Jaunty UNR (9.04)

Last week I installed Ubuntu Jaunty UNR on my Asus eee 1000HE. I followed the tutorial at ubuntu.com with a 1GB usb stick.

I inserted the USB with the Live-System. It started without any problems. During the live session the WLAN did not work (It worked after the complete install). I partitioned manually and used only sda1 as root (/) with ext4 as filesystem.

Drive d:\

After the complete install and reboot I did not found my drive d:\. It was not mounted automatically. To mount the drive permanently do the following:
sudo mkdir /media/data

Now append the following line to your /etc/fstab (You have to edit with sudo)
/dev/sda2    /media/data/    ntfs    defaults    0    2

Now you have to refresh your mount:
sudo mount -a

Using Ubuntu Jaunty on my Asus eee 1000he netbook

Universe was activated (uncommented) in /etc/apt/sources.list but the apt-cache was not refreshed yet. I needed Universe for gparted. You can easily refresh your apt-cache and get Universe by:sudo apt-get upddate

Most of the time I keep the brightness at the minimum. Sometimes (I do not know why) the brightness increases unexpected.

The Mouse works fine. I can use three fingers to right click and two fingers to simulate the mouse wheel – perfect :-).

If you want to get your normal Ubuntu Desktop you can switch to that mode easily by  Preferences ->Desktop Switcher. This tool seems to be buggy at the moment. I got troubles with Ubuntu, but I do not know if they were caused by the desktop.switcher.

If you want to install deb-packages in firefox there is no preconfigurred action. The best way ist to open the .deb with /usr/bin/gdebi-gtk.

Especially for eee there are the eee-tools.You can enable and disable WLAN, bluetooth, the camera and card reader, set some Hotkeys and set the performance level.To start the tools restart your computer or start eee-control-tray with <Alt>+<F2>.

Because the battery life was about two hours shorter than with windows (about 7 insteat of 9.5 hours) i wanted back to Windows. I also destroyed my desktop and do not know why, so the alternative was to reinstall Ubuntu.

Back to Windows

The 1000he has a nice “Quick Recovery System”. You can enter if you press <F9> three times after the boot (Normally I press it as long as the Screen showes up). After installing Ubuntu (and therefore Grub) you can enter the Quick Recovery System as the other operationg Systems (Windows XP) in your grub loader. The reinstall took about 20 Minutes (Did I say it is a really nice tool?). After rebooting Windows did not start anymore and Ubuntu was erased. I knew, that fixmbr was the key to get it running again, but the 1000he has no optical drive. So I searched for an alternative for fixmbr.

I found a pretty cool tool called Super Grub Disk (SGD). I booted the Ubuntu with my live USB-Stick and downloaded the SGD for USB.I followed the tutorial to get SGD on my USB-Stick. The 1GB Stick was to small, so I had to take another one. You can see your mounted USB-Sticks with mount

My Live USB-Stick with Ubuntu was /dev/sdb1 and the new one was /dev/sdc1. I think I did the following: Downloaded SGD for USB, extracted it to the root of my new USB stick and executed the following: (You should close your new USB-Stick window and read the tutorial mentioned above):cd /media/disk (your new usb-stick)
sudo -s
grub

In Grub now execute the following:
device (hd0) /dev/sdc
root (hd0,1) (Maybe it was hd0,0)
setup (hd0)
quit

If you get a Grub Error 18 your USB-Stick is probably too small.

No you can restart your computer with only the SGD-Stick in your laptop. I do not know what I clicked but maybe I followed Howto Boot Windows without problems. You can search samples for Boot problems or just try to navigate through the menu. For me that worked.

Version Control (Bazaar) for Web Developers

Bazaar UploadI searched a long time for a solution to develop my web pages on my Workstation and publish the changes via a version control system (vcs) to the webserver. I searched for remote checkout and other keywords and now I found a solution for Bazaar. I only have installed Bazaar on my desktop-PC an not on the server!

Installing Bazaar

If you are familiar with bazaar, you can skip this section an go to Upload-Plugin For Webdesign

sudo apt-get install bzr

I recommend to install bzr-gtk also to get Olive, a GUI for Bazaar.

Initializing

You can read the Mini Tutorial (Bazaar in five minutes), which is a nice introduction, to get started.

The first time you have to introduce yourself with:
bzr whoami "John Doe <john.doe@gmail.com>"

For every new project you have to go through this process, to initialize bazaar and add all files in the working directory:

cd /path/to/myproject
bzr init
bzr add

Upload-Plugin For Webdesign

First you have to install the bzr-upload plugin:

sudo apt-get install bzr-upload

Go to your project directory.

You always have three steps from changing your files to publishing:

  1. Change files
  2. Commit (Else you will receive the following: ERROR: Working tree “…” has uncommitted changes.)
  3. Upload

The upload-Process is the only new thing. To upload the first time type the following command (and replace the capitalized words):

bzr upload ftp://USERNAME@DOMAIN/DIRECTORY

So you may have a command like the following:

You will now see something like this:

guru@guru-desktop:/media/www$ bzr upload ftp://v12345@exaple.com/
FTP v12345@example.com password:
No uploaded revision id found, switching to full upload
Uploading index.php
Uploading style/default.css
Uploading ...
Uploading .htaccess
guru@guru-desktop:/media/www$

Bazaar remembers the location, so for the next upload you can go with only

bzr upload

You now will receive something like the following:

guru@guru-desktop:/media/www$ bzr upload
Using saved location: ftp://v12345@example.com/
FTP v12345@example.com password:
Uploading style/default.css
guru@guru-desktop:/media/www$

Source: http://bazaar-vcs.org/BazaarForWebDevs

HowTo install ttf-font in Ubuntu

Going to font:/// in Nautilus is obsolte.

You can drag your .ttf-file into .fonts in your home-directory to install that font only for this username:

copy myfont.ttf ~/.fonts

or you can drag it to /usr/share/fonts/truetype to install it for all users:

sudo cp myfont.ttf /usr/share/fonts/truetype

Note: If you have Openoffice opened, it may crash after you installed your font the second way.

You may need to run fc-cache to rebuild the font cache:

fc-cache

HowTo: Print pdf in Ubuntu Intrepid Ibex (8.10)

I don’t know why, but cups-pdf does not work for me any more. There is now an easier way than to set up and print with cups-pdf.

You do not need to configure anything 🙂 Just do as you would had installed a Printer (File -> Print) and select Print to file an as output format: pdf. Press Print and you are done 🙂

bildschirmfoto-drucken

Source: http://wiki.ubuntuusers.de/Druckwerkzeuge

Get your photos from iPhone to Windows XP (or Ubuntu)

Because I am forced to use Windows, so I can use iTunes and sync my iPhone this post is about Windows 😉

iTunes does provide a solution to get your pictures from your PC to the iPhone but not vice versa. After a lot of searching the cheapest solution was to use Windows XPs Scanner and Cameras Tool. I opened it but the iPhone did not show up.

After a lot of searching more I found the solution: You have to unlock your iPhone and then connect it to your PC. (I have a 1minute auto-lock with code → paranoid ugh?).

Then you can find your iPhone in your Workspace and in the Scanners and Cameras applet.

Because I only need to sync my pictures from the iPhone to my PC and not in the other direction I did the following:

  • Go to Control-Panel and Open Scanners and Cameras.
  • Hold Alt-Key and double click your “Apple iPhone” (or right click and select Properties)
  • Choose the tab “Events” and select the option to save the picture to the folder of your choice.
  • Click OK.

Every time you connect your iPhone (unlocked) your pictures should be synced from the iPhone to your PC one-way.

PS: In Ubuntu this works also! Just connect your (unlocked, not jailbroken) iPhone to your Ubuntu-PC and use it like a normal camera.

Never buy a Lexmark Printer!

Christmas 🙂

One present was a AIO Lexmark X6575 Printer with WLAN, etc. The installation process seamed to be easy. I installed the printer from a Windows PC, by inserting the CD and clicking Next a few times. BTW: The program asked me if I want to install the printer per WLAN or per USB, where I clicked WLAN. The answer: Connect your printer with an USB-Cable :-O

While the printer (maybe) works fine on Windows there seems to be no way to get it running under Linux or especially under Ubuntu. The OpenPrinting Community says the Lexmarks X6575 is only a paperweight.

Even Wine does not work for the installer because the installer says I only have 4294967295 MHz of the required 800 MHz.

Installation Lexmark 6500 series with Wine under Ubuntu

Installation Lexmark 6500 series with Wine under Ubuntu

Conclusion: Never buy a Lexmark Printer if you are working with Linux/Ubuntu! If you get it as present you may install it your Windows VirtualBox-Client, share it and use it from Ubuntu.

Does anybody have an ppd-file for that printer? The printer installer in Ubuntu may works with such a driver.

add to del.icio.us : Add to Blinkslist : add to furl : Digg it : add to ma.gnolia : Stumble It! : add to simpy : seed the vine : : : TailRank : post to facebook

Hard Space in Openoffice Write 3.0

Today I installed Openoffice 3.0 in my Ubuntu Hary, (but I used  bittorrent 😉 )

I wanted to insert a non-breaking space by pressing <Ctrl>+<Space>. That did not work. However the answer was easy:

First I tried to insert it per Menu: Insert > Formatting Mark > Nonbreaking space. Oh, ther is a new shortcut: <Ctrl>+<Shift>+<Space>.

Here you can read why they changed the shortcut. (same key combination on every OS)