Skip to main content

Posts

Showing posts from 2013

Installing Compiz on Debian Wheezy using Squeeze repo

NOTE1፡ It won't be possible to configure Compiz with "Compiz Config Setting Manager" because it requires python < 2.7(In Wheezy python is 2.7) NOTE2፡ Some metacity related packages will be lock - not upgradable(main problem compiz from squeezy expects "libmetacity-private0" but in wheezy this package has small difference - "libmetacity-private0a") 1. Add squeezy repo to source_list(you can comment it out after installation): sudo echo "deb http://ftp.ee.debian.org/debian/ squeeze main" >> /etc/apt/sources.list 2. Install compiz: sudo apt-get install -t oldstable compiz compiz-gnome compiz-gtk libmetacity-private0 compizconfig-backend-gconf  Now compiz should work the only thing is left - setup compiz: Use gconf-editor: sudo apt-get install gconf-editor gconf-editor OR edit directly compiz config file: vim ~/.config/compiz/compizconfig/Default.ini Example: cat ~/ .config/compiz/compizconfig/Default.ini [core]

Install compiz on Debian(wheezy) using debs

First check: https://wiki.debian.org/Compiz Packages to install: compiz-core                         compiz-gnome                        compiz-plugins                      compiz-plugins-default              compizconfig-backend-gconf          compizconfig-settings-manager       libboost-serialization1.46.1        libcompizconfig0                    libdecoration0                      libmetacity-private0                python-compizconfig  Idea is simple: search and download each package from http://packages.ubuntu.com/search?suite=precise&arch=i386&searchon=names&keywords=compiz-core  try to install it with sudo dpkg -i <package-name>.deb   NOTE : there might be some dependency problems but they can be solved with correct installation order. Except for compiz-gnome , it needs libmetacity-private0 and libwnck22 but these packages are quite new in wheezy so you can ignore them with this command:  sudo dpkg --ignore-depends=libmetacity-private0

Debian Gnome 3 run on ATI x1250

After installing latest Debian distribution(Wheezy) while starting for the first time GNOME 3 crashed. In " System settings " -> " Graphics " -> " Experience "  value was " Fallback ". Solution to fix this problem with my graphic card(ATI x1250) was found on: https://wiki.debian.org/AtiHowTo#Installing_proprietary_firmware Mainly install proprietary firmware: sudo apt-get install firmware-linux-nonfree And reboot PC. Now in " System settings " -> " Graphics " -> " Experience "  value is " Standard ".

Notification in Ubuntu is easy

Inside terminal you can use notify-send: notify-send "Message header" "Message body" In python you can execute native command like that: import os os.system('notify-send "Message header" "Message body"') More info from terminal: man notify-send notify-send --help