Thursday, May 3, 2012

Installing LibreOffice.org on openSUSE 12.1 LXDE

openSUSE 12.1 comes with LibreOffice. 3.3 by default. To enable LibreOffice 3.5 on openSUSE 12.1 you can either download the RPMs from the LibreOffice site and manually install or add the LibreOffice Unstable Repo

zypper ar -f http://download.opensuse.org/repositories/LibreOffice:/Unstable/openSUSE_12.1/ LO

Refresh the repo

zypper ref LO


You can then install LibreOffice from Yast. Remember to add the libreoffice-gnome package or the LibreOffice will look butt ugly.

If you are using the LXDE flavour of Ubuntu, Lubuntu, remember to add libreoffice-gtk for the same reason.

Enjoy!

Tuesday, April 24, 2012

LXDE and Compiz - urggh

I enable Compiz and Emerald on my Centos 6.2 desktop at work. Didn't know what got into me but I then decided that Compiz would be awesome on my openSUSE 12.1 LXDE. After installing the necessary packages and changed the Windows Manager to Compiz from lxsessions-edit (Desktop Sessions Settings in GUI speak) I rebooted.

Logged in OK but quickly discovered that Windows' top panels were missing and no matter what I did, I could not type anything.

Argghhh....

Well edited ~/.config/lxsession/LXDE/desktop.conf  file and changed the window_manager = line back to openbox-lxde , logged out and in and all is well now...CLI roxx!

Thursday, April 19, 2012

openSUSE 12.1 - Choppy Fullscreen Flash Playback

Been a fan of openSUSE on thing that always got on my nerves was the choppy full screen Flash playback on browsers. Fedora worked fine and so does Ubuntu - I mean openSUSE is awesome all round but WTF is wrong with it?

Well to reduce its choppiness - edit /boot/grub/menu.lst and on the kernel line remove quiet and vga=0x317.

The bootspalsh will be lost but the choppiness is gone. This has only been tested in Intel 915 chipsets. Can't guarantee that it'll work on others. but it is worth a shot.

Saturday, April 7, 2012

Installing LibreOffice 3.5 on openSUSE 12.1

openSUSE 12.1 does not have LibreOffice 3.5 in any compatible repos. Being a PM LibreOffice is an indispensable tool to me and this being a still MS Office dominated world, I find that LibreOffice 3.5 has a slightly better compatibility with MSO than 3.4x.

The long and short of it , if you want LibreOffice 3.5 you gotta download from http://libreoffice.org extract the tarballs and install the RPMs. It installed fine and should work but then I encountered:


error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

I had another WTF moment until after sometime I found out from an unrelated topic that you need to do a

zypper in libpng12-0 libpng14-14

And all was fine.

Saturday, March 31, 2012

Installing Skype on Fedora 16 64-bit

Skype has no 64-bit version for Linux. And since it is now a Microsoft company I am unsure whether there will be any newer version beyond the current 2.20 Beta.

To get it installed on my Fedora 16 64-bit proved to be quite a trying task. After downloading the Fedora RPM, one would think that a simple

yum install skype-2.2.0.35-fedora.i586.rpm

Could have done the trick. Instead I got a

[ericyeoh@harkonen ~]$ skype
skype: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory


After trawling through some websites I finally found out that there are some dependencies required. This site provided the answer.

In short you need to:

yum install glibc.i686 qt.i686 qt-x11.i686 libXv.i686 alsa-lib.i686 libXScrnSaver.i686

And I got Skype running. And now I await the next instructions from my overlords via Skype...

Thursday, February 9, 2012

When LibreOffice decides to not work

I did a distro upgrade of my openSUSE 12.1 (zypper dup) and ran into a fatal error when tryong to launch any LibreOffice app,

The application cannot be started.
[context="shared"] caught unexpected exception!


I had one of those WTF moments until I Googled and found out that you only need to delete the .libreoffice/ hidden directory in your $HOME to resolve it. Now I can get back being a happy typist!


Sunday, December 4, 2011

Screen Lock in LXDE

After using LXDE on my work computer for over a month now, I can only say, wow! But some things I took for granted like locking the screen using keystrokes when I was on GNOME doesn't work out of the box.

To enable screen lock using keystrokes on LXDE, edit the ~/.config/openbox/lxde-rc.xml file and put in the following:

<keybind key="C-A-l">
     <action name="Execute">
           <command>xscreensaver-command -lock</command>
     </action>
    

Log off and on and you will be able to lock the screen with Ctrl-Alt-L