Icons in Gnome shell

Another small extension that give you some control on your gnome-shell. 

 IconManager (maybe this name is not adequate) lets you to manage icons that will appear in your top panel. It can be useful when you want to move Tomboy or gnote icon and remove at the same time icons for bluetooth, a11y (accessibility), display, network manager.




Get repository:
git clone https://MrTheodor@github.com/MrTheodor/gnome-shell-ext-icon-manager.git

and follow the instruction in INSTALL file.


How to use?

1. run dconf-editor
Press Alt+F2, type dconf-editor

2. Find settings
org/gnome/shell/extensions/icon-manager

3. Edit key
* top-bar: put icons that you want to remove from top-bar or move from tray bar

4. To accept changes you need to restart gnome-shell
Alt+F2, type r

Repository: 
https://github.com/MrTheodor/gnome-shell-ext-icon-manager 

Skype and Gnome-Shell

I am fascinated by new Gnome 3. Not only let's say foreground is interesting but also what is behind. The whole concept of desktop, application oriented GUI, also gnome-shell seems to be very useful. Everything looks very easy.
One of nice feature is to set global presence of user. I think that this idea came up firstly with Ubuntu or previous version of GNOME. In fact I have never used it until now. When you switch your presence to Busy, whole system instantly will stop bothering you with some notification. 
Signal about presence  is emitted by SessionManager via DBus mechanism. This is another smart idea in GNOME. Of course programs need to watch for this signal. Empathy (or telepathy), Pidgin are prepared to observe presence signal. To be completely happy I have to force Skype to observe presence signal.
Cause extensions for Gnome-shell are written in JavaScript language (yes, it is the same JavaScript which is used by web developers) so writing new one is not so difficult. This short extension for gnome-shell, link presence signals from SessionManager with Skype.

How to install?

Simply download extension:
git clone https://github.com/MrTheodor/gnome-shell-ext-SkypeNotification.git

mkdir -p ~/.local/share/gnome-shell/extensions
cp -r gnome-shell-ext-SkypeNotification/SkypeNotification@krajniak.info ~/.local/share/gnome-shell/extensions
next restart gnome-shell by pressing Alt+F2 and typing r
Reposistory for plugin: https://github.com/MrTheodor/gnome-shell-ext-SkypeNotification

Mendeley with Fedora 14 on 64 bit


I was looking for tool which apart of storing citation reference, will also index my pdf files on hard disk and gives some interface to search for articles, organize them in some groups and  Mendeley do all of this tasks. It is a very useful academic reference tool for organize your scientific articles in one place. What is more, pdf reader has tool for making annotation in pdf and after that can export pdf with those additional information.

Mendeley has got also web interface arrange in the way of social application, so there is a list of your friends, groups, some kind of twitter like tool.  The user can also create own profile with some information. What is more interesting, is the synchronization between desktop application and web application so it can be use to share data with co-workers.


Problems with Mendeley on Fedora 14 64-bit

After switched to Fedora, I had problem with using Mendeley. First problem was with missing libssl.so.0

/home/teodor/download/apps/mendeleydesktop-0.9.9-rc1-linux-x86_64/bin/../lib/mendeleydesktop/libexec/mendeleydesktop.x86_64: error while loading shared libraries: libssl.so.0: cannot open shared object file: No such file or directory


simple solution is to link library from /usr/lib/ to lib/ in Mendeley dir.

ln -s /usr/lib64/libssl.so.10 lib/libssl.so.0


One remark, if your system is 32-bit, you need to link from /usr/lib/ instead of lib64
Second problem is with Qt library. Mendeley throw errors when it tries to connect to the server

QSslSocket: cannot call unresolved function SSLv3_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function ERR_error_string
QSslSocket: cannot call unresolved function SSLv3_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function ERR_error_string
QSslSocket: cannot call unresolved function SSLv3_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function ERR_error_string
QSslSocket: cannot call unresolved function SSLv3_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function ERR_error_string

Solution is very simple, you need to remove Qt files from lib/ in Mendeley directory. After that Mendeley will start to using Qt libraries from your system instead of those distributed with it.

rm lib/libQt*


Enjoy using Mendeley

game of life in javascript

Life is hard to understand, but here you can play in it ;)
Game of Life

I was wondering how to use this new html5 canvas element so I wrote this piece of code. Enjoy!


How to convert bin/cue to iso

I always forget how to convert cue cd image to iso. So in fact this note is for my memory.
Converting to iso format can be done by using bchunk. Ubuntu users have this program in repository so the procedure is very simple
  1. sudo apt-get install bchunk
  2. bchunk CDImage.bin CDImage.cue CDImage
That's all.