gimp 2.7.4 ppa

Thursday, 5. January 2012

 Um dieses PPA hinzuzufügen öffnet man entweder einen Terminal (Konsole) und kopiert folgende Zeilen…

sudo apt-add-repository http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu
sudo apt-get update
sudo apt-get install gimp

 

… oder man nimmt den grafischen Weg über den Paketmanager (Muon Packet Manager – Settings – Configure software sources – other software – add) und fügt folgendes PPA hinzu:

ppa:matthaeus123/mrw-gimp-svn/

 

Laut Entwickler könnte 2.7.4  das letzte Release vor der finalen Version 2.8 sein.

Der OneWindowMode scheint nun zu funktionieren !!

:)

solve account connection error on meego harmattan (n9)

Monday, 5. December 2011

After the upgrade of the n9 meego harmattan software to pr1.1, i ran into a problem with my accounts.

autoconnection didn’t work anymore, i had to do it manually and even then i had to try it twice till it worked.

 

With these three lines the connection problems are gone!

gconftool –recursive-unset /system/http_proxy
gconftool –recursive-unset /system/proxy
gconftool –recursive-unset /system/osso

Clonezilla on Kubuntu – simple install

Monday, 7. November 2011

sudo nano /etc/apt/sources.list

then add the following line:

deb http://drbl.sourceforge.net/drbl-core drbl stable

save changes to sources.list, get the gpg-key, add it, install clonezilla

wget http://drbl.sourceforge.net/GPG-KEY-DRBL
sudo apt-key add GPG-KEY-DRBL
sudo apt-get update
sudo apt-get install drbl clonezilla partclone

You’ll find the executable here:

/opt/drbl/sbin/clonezilla

Nokia N9 – Install Fennec aka Firefox mobile

Wednesday, 2. November 2011

first of all you need to activate the development mode in system settings, that allows you to install “non market” packages from different sources. you can now gain root access to your device with the command:   devel-su  (the default root password is “rootme”)

then you have to activate the following source: (if you like you can simply write it in your /etc/apt/sources.list file)

deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free

or..   you activate this source by installing this package: http://harmattan-dev.nokia.com/pool/harmattan-beta/free/h/harmattan-repository/

(tap on it in your webbrowser or download and install it with “dpkg -i packagename”)

fennec has some dependencies that can be solved with the help of this repository. to anticipate installation problems install libpango before you install fennec:

apt-get install libpango1.0-0

(you may have to run apt-get update first)

now you are ready to install fennec!

download it from here: http://www.my-meego.com/

or directly go to: http://shmerl.freeshell.net/dev/fennec/meego_harmattan/nightly/   and touch the file

(if something goes wrong or you have other dependency problems try “apt-get -f install” to solve those problems)

_________________________

one last tip from the meego forum:

in nightly Firefox sync service logging is enabled in heavy TRACE or DEBUG mode. It’s better to switch it off (unless you debug sync), because heavy I/O drains too much energy.

You can set (in about:config)
services.sync.log.appender.file.logOnError
services.sync.log.appender.file.logOnSuccess

both to false to disable logging, or play around with appender level keys, and set them to ERROR.

and of course… a screenshot (with flash content ^^ )

Apple Aluminium Keyboard – Ubuntu (switch fnmode/^/ä)

Saturday, 29. October 2011

Die erste Zeile löst das Problem der vertauschten Tasten für ^ und ä.

Die zweite Zeile “drückt” die fn taste sodass die F-Tasten wieder aktiv werden.


echo 0 |sudo tee /sys/module/hid_apple/parameters/iso_layout 
echo 2 |sudo tee /sys/module/hid_apple/parameters/fnmode

 

Um diese Änderung permanent zu machen tragt man diese zwei Zeilen entweder in die Datei /etc/rc.local ein um sie bei jedem Start zu laden oder besser:

 

echo -e 'options hid_apple fnmode=2 \noptions hid_apple iso_layout=0' |sudo tee /etc/modprobe.d/hid_apple.conf

sudo update-initramfs -u
sudo reboot

Diese Zeilen legen eine neue Datei im Verzeichnis /etc/modprobe.d/ an, über welche die Parameter bei jedem Systemstart initialisiert werden.

Kubuntu 11.10 KDENLIVE

Saturday, 29. October 2011

Um Kdenlive unter Kubuntu 11.10 verwenden zu können muss man auf das SVN ppa von sunab zurückgreifen und diese aktuelle Version installieren. Darüber hinaus empfehle ich auch gleich die Quellen von “Medibuntu” hinzuzufügen und die w64codecs (bzw w32codecs) ebenfalls zu installieren.


sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

sudo apt-add-repository ppa:sunab/kdenlive-svn
sudo apt-get update
sudo apt-get install kdenlive libdvdcss2 w64codecs

Firefox ppa (ubuntu)

Thursday, 29. September 2011

auf diese weise bleibt man immer am neuesten stand
glhf!

sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
sudo apt-get install firefox

ecryptfs – kleiner hinweis damits das nächste mal klappt ^^

Sunday, 21. August 2011

ecryptfs-mount-private   im alten verschlüsselten  userverzeichnis ausführen, passphrase eintippen und schon ist es entschlüsselt und die daten sind einsehbar … oder?

in den meisten fällen.. nope!

mit etwas glück reicht es den user mit dem selben namen am system anzulegen, zu diesem zu wechseln und dann den befehl auszuführen. Dieser befehl wird nämlich versuchen das homeverzeichnis des derzeit angemeldeten users zu entschlüsseln. (ist man also als root angemeldet so wird versucht /root zu entschlüsseln anstelle /home/user )

hat man zb. die komplette alte systemplatte mit homeverzeichnis zb. über usb angehängt kann man auch lässig mit chroot ins alte system wechseln, dort zu dem bewussten user werden und mit ecryptfs-mount-private im verschlüsselten verzeichnis dieses entschlüsseln..

bei chroot sollte man folgendes VOR dem chroot ins alte / nicht vergessen sonst wirft ecryptfs fehler aus:

(in diesem beispiel ist das alte / unter /media/test/ gemountet)

sudo mount --bind /sys /media/test/sys/
 sudo mount --bind /proc /media/test/proc/
 sudo mount --bind /dev /media/test/dev/
 sudo mount -o bind /dev/shm /media/test/dev/shm/

jquery – maphighlight – highlight already highlighted area

Monday, 25. July 2011

oke.. thisone is a very special usecase – but who knows – maybe it helps somebody who’s trying to accomplish the same shit :)

i am using jquery map highlight and jquery metadata to highlight html areas on a country map ..

first of all: every country in “countryresult list” gets permanently highlighted in a special color.  (the js code is mixed with djangos template language – it will work without it if you change the relevant parts) then a “hover” event is set to each highlighted area that will highligt it again on hover in a slightly different way.

thats all !

$(document).ready(function() {

   {% for c in countryresult_list %}
      $('area[title="{{c.ccode}}"]').addClass('{strokeWidth:1,strokeColor:"ffffff", fillColor:"{{c.map_color}}",fillOpacity:0.5,alwaysOn:true}');

     $('area[title="{{c.ccode}}"]').hover(
         function(){
         var d = $(this).data('maphilight') || {};
         d.fillOpacity=0.7;
         $(this).data('maphilight', d).trigger('alwaysOn.maphilight');
    },
   function () {
       var d = $(this).data('maphilight') || {};
       d.fillOpacity=0.5;
       $(this).data('maphilight', d).trigger('alwaysOn.maphilight');
   }
   );

  {% endfor %}

});

(KDE) Kate syntax highlighting sucks !!

Sunday, 24. July 2011

obviously there is no other way to speed up kate than avoiding looooong lines (gt than ~1000 characters)

kate sucks hard when it comes to long lines and there is nothing the developers can do about it, because it’s an issue of QT – so nokia (or digia ) will have to fix that…

so rather than writing one single line (opening a jquery minimized library will kill kate if you are lucky) you should write something like that:

countrylist =[
["AS","AF","AFG","4","Afghanistan, Islamic Republic of"],
["EU","AL","ALB","8","Albania, Republic of"],
["AN","AQ","ATA","10","Antarctica (the territory South of 60 deg S)"],
["AF","DZ","DZA","12","Algeria, People's Democratic Republic of"],
["OC","AS","ASM","16","American Samoa"],
["EU","AD","AND","20","Andorra, Principality of"],
["AF","AO","AGO","24","Angola, Republic of"]
]

 

let’s hope for a quick fix (there is no such problem in older kde 3 versions of kate)