Archive

Archive for the ‘Uncategorized’ Category

Moved my blog

2013/07/18 Comments off

This is my last post on wordpress.com.

I moved here: http://draptik.github.io/

Categories: Uncategorized

GNU/Emacs: Desktop Save with “Lazy Loading”

2012/03/27 Comments off

When using desktop-save-mode (
http://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Emacs-Sessions.html)

using desktop-restore-eager is a must:

(custom-set-variables
‘(desktop-save-mode t)
‘(desktop-restore-eager 5)
)

desktop-save-mode will load your last session. Setting desktop-restore-eager to 5 will only try to load and render the last 5 buffers while loading your saved buffers.

Emacs: murrine_style_draw_box: assertion `height >= -1′ failed

2010/11/02 Comments off

This nasty bug has been around for over a year: Calling Emacs on Ubuntu from the console outputs

murrine_style_draw_box: assertion `height >= -1′ failed

after every action within Emacs.

The solution is simple, but has not been integrated in the Ubuntu repository yet.

Here it is:

In the file

/usr/share/themes/Ambiance/gtk-2.0/gtkrc

change

GtkRange::trough-under-steppers = 0

to

GtkRange::trough-under-steppers = 1

For details see Bug #538541Bug #550532 and Resolving “murrine_style_draw_box: assertion `height >= -1′”

Categories: IT, linux, Uncategorized Tags: , , ,

Installing Adobe AIR and TweetDeck on Ubuntu 9.04

2009/06/17 1 comment

This is a short manual on how to install Adobe AIR and Adobe AIR applications such as TweetDeck on Ubuntu 9.04 (This instruction should also work with most up-to-date Linux distributions). Once you have confirmed that everything works (i.e. TweetDeck works), you can delete all downloaded files.

  1. Download Adobe AIR from their homepage: http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin
  2. Make AdobeAIRInstaller.bin executable

    $ chmod +x AdobeAIRInstaller.bin

  3. Install Adobe AIR

    $ sudo ./AdobeAIRInstaller.binThis will install Adobe AIR to /opt/Adobe AIR

  4. Download TweetDeck

    $ wget \
    http://tweetdeck.com/beta/TweetDeck_0_25_manual.air

  5. Install TweetDeck using Adobe AIR installer

    $ /opt/Adobe\ AIR/Versions/1.0/airappinstaller

  6. This will open a GUI installer and automatically start TweetDeck. Furthermore, a starter will be created on your desktop.
  7. The desktop starter is just a script. Here’s the content:

    ~/Desktop$ cat \
    tweetdeckfast.f9...21.1.desktop
    [Desktop Entry]
    Name=TweetDeck
    Comment=Welcome to TweetDeck - a unique way to view your twitter timeline
    GenericName=TweetDeck
    Exec='opt'/'TweetDeck'/bin'TweetDeck'
    Type=Application
    Terminal=false
    Icon=tweetdeckfast.f9...4c21.1
    StartupNotify=true
    X-KDE-StartupNotify=true
    Categories=Utility;
    X-AppInstall-Package=tweetdeckfast.f9..4c21.1
    X-AppInstall-Section=main

  8. To uninstall Adobe AIR and Adobe AIR applications, select “Programs” -> “Applications” -> Adobe AIR Uninstaller”. This will also automatically uninstall Adobe AIR applications (i.e. TweetDeck).

NAS-Box SS4000-E ignores partition table of plugged-in external harddrive

2009/05/26 Comments off

Intel’s NAS Box SS 4000-e ignores the partition table of external usb-drives if the latter is connected directly to the NAS-Box. Not nice, because my external USB-Drive is split into two FAT32 partitions.

This is not reflected by the “mount” command:

root# mount
...snipped some lines...
/dev/sdf1 on /nas/usbdisk1 type vfat (rw,nodiratime,gid=11578,fmask=0000,dmask=0000)

I’ll have to copy the data via intranet (slower than via USB).

Categories: Uncategorized Tags: , , , , ,

Accessing further (Windows) Partitions with Portable Ubuntu

2009/04/19 7 comments

If you’ve followed my blog on how to install Portable Ubuntu to your USB Stick, you might have noticed people asking “how do I access my other Windows partitions by default” or “How do I access partition X?”.

I’ve already answered this question in a reply to a post, but I will describe it here in detail.

Let us assume you have two partitions on your Windows machine: “C:” and “E:”. And you want to have access to both partitions once plugging in your Portable Ubuntu USB Stick.

  1. Add your changes to config\portable_ubuntu.conf by adding a line
    cofs2=e:\
  2. Add your changes to the /etc/fstab file by adding a line which almost duplicates the line containing cofs1:
    cofs2 /mnt/E cofs user,dmask=0777,fmask=0666 0 0

The order in which you do 1. and 2. does not matter: you have to restart your Portable Ubuntu again for it to work.