Joon's blog

Python | openSUSE | LaTeX

Archive for the ‘linux’ Category

openSUSE 11.4: How to sync Google Calendar and Contact with Kontact using Akonadi

with 2 comments

The following post: setting-up-google-calendar-with-kontact-or-korganiser-using-akonadi has very nice instruction with screenshots. Only package name and proxy settings are different in openSUSE.

  • Open up Akonadi Configuration, and click on Add… if you don’t see Akonadi Google Calendar Resourse, then you have to restart akonadiserver.
  • If you see that, then open korganizer and (this is pretty much copied from the above post)
  1. Right Click on Calendars and click on Add Calendar …
  2. Select Akonadi
  3. Click on Manage Calendar Sources
  4. Click add
  5. Select Akonadi Google Calendar Resource
  6. Enter your email and password and select ok
  • If akondadi google account shows “invalid password” right after you inputted the id and password, then go to Personal SettingsNetwork SettingsProxy and check Connect to the Internet directly. Then the login should work.
  • After this, adding a new address book with  Akonadi Google Contacts Resourse is straightforward.

Written by joon

June 1st, 2011 at 6:04 pm

KDE 4.6.3: workaround for Plasma panels don’t resize to fit screen height or width

without comments

This is a workaround for Bug 265051:Plasma panels don’t resize to fit screen height or width … , and it is just Karsten’s workaround. I put it here for the record.

This happens in KDE 4.6.3 (possibly in other versions as well)

For this you need xdotool. It is in openSUSE:11.4:Contrib/standard repo for openSUSE 11.4.
1-Click Install

You need to make following two files:
panel.js

1
panelById(panelIds[0]).length = screenGeometry(0).width;

resize-kde-panel.sh

1
2
3
4
5
#!/bin/bash
qdbus org.kde.plasma-desktop /MainApplication loadScriptInInteractiveConsole
/home/......./panel.js
xdotool key ctrl+e
xdotool key alt+F4

You need to modify the path to “panel.js” file in the second line.

Now make resize-kde-panel.sh executable:

1
chmod +x resize-kde-panel.sh

Then whenever the panel needs resizing (potentially after connecting/disconnecting external monitor), just run that shell and it will resize itself.
You can make an application of this shell and run it in GUI mode as well.

Written by joon

May 21st, 2011 at 2:30 pm

Posted in kde,linux,opensuse

Tagged with , ,

openSUSE 11.4: Installation of IPython 0.11.dev

without comments

Successful with openSUSE 11.4 x64 and IPython 0.11.dev

1. download

git clone git://github.com/ipython/ipython.git

2. dependencies

libzmq0
pyzmq

IPython 0.11.dev needs newer version of pyzmq than the one in the openSUSE repos.
You can install it with easy_install:

sudo easy_install pyzmq

If it fails because of libzmq0 version, then force the pyzmq version to be 2.0.10.1:

sudo easy_install pyzmq==2.0.10.1

3. compile & Install

sudo python setup.py install

Written by joon

May 12th, 2011 at 4:48 pm

openSUSE 11.4: Installation of Scribes

with 5 comments

http://scribes.sourceforge.net

1. Dependencies

  • gnome-common
  • gnome-doc-utils-devel
  • python-gnome-extras

(Of course, install other dependencies of those libraries as well.)
 

2. Compile & Install

bzr branch lp:scribes
cd scribes

chmod +x autogen.sh   # this might be necessary

./autogen.sh
make
sudo make install

Successful with openSUSE 11.4 and Scribes version 0.4-dev-build954

Written by joon

March 23rd, 2011 at 10:40 pm