Software Developer

Saturday, November 10, 2007

My New Lightweight Desktop


During this week I have decided to upgrade my system on a week end. Wanted to get smth new. So thought to upgrade my Edgy to latest Gutsy. But just for fun at half an hour installed yesterday xubuntu-desktop. And it is amazing! It is really LIGHTWEIHGT, saves all the features that I like in gnome and has some new that is really cool!
Also it has it's own Compositor - that hasn't so many effects as Beryl or Compiz, but do you really use it?
So my wish to start to upgrade to Gutsy disappear. At least for the next week. XFCE is now my default session on my laptop!


Thursday, August 30, 2007

my current sources list on my ubuntu

# Automatically generated sources.list
# http://www.ubuntu-nl.org/source-o-matic/
#
# If you get GPG errors with this sources.list, locate the GPG key in this file
# and run these commands (where KEY is replaced with that key)
#
# gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY
# gpg --export --armor KEY | sudo apt-key add -
#
# If you don't know what to do with this file, read
# https://help.ubuntu.com/community/Repositories/CommandLine

# Ubuntu supported packages
# GPG key: 437D05B5
deb http://nl.archive.ubuntu.com/ubuntu edgy main restricted
deb http://nl.archive.ubuntu.com/ubuntu edgy-updates main restricted
deb http://security.ubuntu.com/ubuntu edgy-security main restricted

deb-src http://nl.archive.ubuntu.com/ubuntu edgy main restricted
deb-src http://nl.archive.ubuntu.com/ubuntu edgy-updates main restricted
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted

# Ubuntu community supported packages
# GPG key: 437D05B5
deb http://nl.archive.ubuntu.com/ubuntu edgy universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu edgy-updates universe multiverse
deb http://security.ubuntu.com/ubuntu edgy-security universe multiverse

deb-src http://nl.archive.ubuntu.com/ubuntu edgy universe multiverse
deb-src http://nl.archive.ubuntu.com/ubuntu edgy-updates universe multiverse
deb-src http://security.ubuntu.com/ubuntu edgy-security universe multiverse

# Seveas' Ubuntu Packages
# GPG key: 1135D466
deb http://seveas.theplayboymansion.net/seveas edgy-seveas all

deb-src http://seveas.theplayboymansion.net/seveas edgy-seveas all

# Ubuntu backports project
# GPG key: 437D05B5
deb http://nl.archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse

deb-src http://nl.archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse

# Kubuntu.org bleeding edge Koffice
# GPG key: DD4D5088
deb http://kubuntu.org/packages/koffice-latest edgy main

deb-src http://kubuntu.org/packages/koffice-latest edgy main

# Kubuntu.org bleeding edge amaroK
# GPG key: DD4D5088
deb http://kubuntu.org/packages/amarok-latest edgy main

deb-src http://kubuntu.org/packages/amarok-latest edgy main

# Upstream Wine
# GPG key: 387EE263
deb http://wine.budgetdedicated.com/apt edgy main

deb-src http://wine.budgetdedicated.com/apt edgy main

# Upstream Opera
# GPG key: 6A423791
deb http://deb.opera.com/opera etch non-free

# Upstream Beryl
# GPG key: ed8a569e
deb http://media.blutkind.org/xgl/ edgy main-edgy

deb-src http://media.blutkind.org/xgl/ edgy main-edgy

deb http://ubuntu.beryl-project.org/ edgy main

# Medibuntu multimedia packages
# GPG key: 0C5A2783
deb http://medibuntu.sos-sts.com/repo/ edgy free non-free

deb-src http://medibuntu.sos-sts.com/repo/ edgy free non-free

# Canonical Commercial packages
# GPG key: 437D05B5
deb http://archive.canonical.com edgy-commercial main

deb-src http://archive.canonical.com edgy-commercial main


#AUTOMATIX REPOS START

deb http://www.getautomatix.com/apt edgy main

deb http://archive.canonical.com/ubuntu edgy-commercial main

deb http://archive.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
#AUTOMATIX REPOS END

## Avant Window Navigator
deb http://download.tuxfamily.org/syzygy42/ edgy avant-window-navigator
deb-src http://download.tuxfamily.org/syzygy42/ edgy avant-window-navigator


## Fonts
deb http://www.telemail.fi/mlind/ubuntu edgy fonts
deb-src http://www.telemail.fi/mlind/ubuntu edgy fonts


## NTFS http://linux.cpms.ru/page.php?id=162
## wget http://flomertens.keo.in/ubuntu/givre_key.asc -O- | sudo apt-key add -
deb http://givre.cabspace.com/ubuntu/ edgy main main-all
deb http://ntfs-3g.sitesweetsite.info/ubuntu/ edgy main main-all
deb http://flomertens.keo.in/ubuntu/ edgy main main-all

## rus mp3 tags
## sudo wget http://rusxmms.sf.net/ubuntu/rusxmms/key.gpg -O - | sudo apt-key add -
## sudo wget ttp://rusxmms.sf.net/ubuntu/rusxmms/key.gpg-q -O - | sudo apt-key add -
deb http://rusxmms.sourceforge.net/ubuntu/rusxmms dapper main
#deb http://ubuntu.root.od.ua/rusxmms edgy main


# Eternity Screensaver
deb http://parker1.co.uk/apt edgy main
deb-src http://parker1.co.uk/apt edgy main

Wednesday, August 29, 2007

The best iconset for ubuntu

http://www12.asphost4free.com/yop12345/download.htm

how to make skype more "gnomeish"

Also have found a fine article about how to make skype more "gnomeish" :
http://ubuntuos.com/?p=29#comments

(Had this question quite a long time :) ).

keep your theme consistent when running apps as root

Just want to add a simple post, not to forget in the future how easy you can keep your theme consistent when running apps as root:
sudo rm -R /root/.themes
sudo rm -R /root/.icons
sudo ln -s /home/$USER/.themes /root
sudo ln -s /home/$USER/.icons /root

Wednesday, August 22, 2007

How did I improve fonts rendering on my Ubuntu Edgy

I have already been almost 3 months working only with linux ubuntu, and I really love it! Just decided right now to make some short articles where I will try to collect some thoughts about how did I achieve different results.

This is how does it look right now on my laptop:


The first thing that I really didn't like when you just install Ubuntu - it is font. So this is what have I done to improve that.

First we need to add some new repos to our sources list. Open gnome-terminal and type:

gksudo gedit /etc/apt/sources.list


If you have edgy - add this lines:

deb http://www.telemail.fi/mlind/ubuntu edgy fonts
deb-src http://www.telemail.fi/mlind/ubuntu edgy fonts


Or if you have Fiesty:

(Fiesty)
deb http://www.telemail.fi/mlind/ubuntu feisty fonts
deb-src http://www.telemail.fi/mlind/ubuntu feisty fonts


After that we need to add gpg keys:

gpg --keyserver subkeys.pgp.net --recv-keys 937215FF
gpg --export --armor 937215FF | sudo apt-key add -


Then update/upgrade:

sudo aptitude update
sudo aptitude upgrade


We installed all the updates, so now we need to reconfigure our fonts:

sudo dpkg-reconfigure fontconfig-config

Choose next options: Native, Automatic, No bitmapped fonts

After that:

sudo dpkg-reconfigure fontconfig


Now we create a fonts.conf file in our home directory:

sudo gedit ~/.fonts.conf

and add next lines there:

<fontconfig>
<match target="font">
<test name="weight" compare="more"><const>medium</const></test>
<edit mode="assign" name="autohint"><bool>false</bool></edit>
</match>
</fontconfig>


You also can add this peace of code directly to the /etc/fonts/fonts.conf. But i prefer the previous method.

After that we need to make some changes to /etc/X11/xorg.conf file. By the way - don't forget to make a backup of the xorg.conf file, just for emergency.

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_my_todays_backup
gksudo gedit /etc/X11/xorg.conf

In Monitor section we need to add:

DisplaySize 370.4 277.8 #1400x1050

this is for 1400x1050 resolution or

DisplaySize 381 238.125 #1440x900

(This is exactly my case right now:). By the way , if you have another resolution - just use this formula to count your numbers:
X = [horizontal resolution] X 25.4 / 96;
1400 х 25.4 / 96 = ~370.4
Y = [vertical resolution] X 25.4 / 96;
1050 х 25.4 / 96 = ~277.8

So that's it!
Just close and save everything. Type Ctrl-Alt-Bksp (to reload Gnome) and see the result. For me it was really impressive.

Monday, June 11, 2007

Where I leave


this is my hotel here. (You can see it on the left side)

Wednesday, May 16, 2007

Мое первое сообщение

Ну что ж.
Пора начать вести свою страничку?