Happy Birthday KDE!

Hello folks!

I know, there was a long time since my last post. I’m sorry.

I just want to congratulate everyone who is or was involved in make the KDE this fantastic software who is today!

Happy birthday KDE community!

 

 

Advertisements

Purging Configuration Files

Hi folks.

This is just a tip for clean up your Kubuntu (Debian Like) system.

The scenary: You installed a program (or any package) with Kpackagekit, and now you don’t want this program anymore so, you go on Kpackagekit and remove it. Simple and fast.

The problem: When you remove a program using the actual Kpackagekit, it’s remove “only” the program package with his man pages and other things. What it doesn’t remove is the configuration files about this program installed, and this configs files “eat” some disk space.

The solution: There are two useful ways to Kubuntu users “purge” this configuration files:

1- Later that you remove something using the Kpackagekit, run at your terminal:

$ dpkg --list | grep '^rc\b' | awk '{ print $2 }' | xargs sudo dpkg -P

2- Remove the program using the terminal:

$ sudo apt-get purge packageName

and later remove the dependencies (configuration files included) with:

$ sudo apt-get autoremove --purge

This function to remove the configuration files would be a great new feature to KpackageKit.

*The Moun (QApt) package manager already has this feature.

*If you use Ubuntu (with Gnome) the Synaptic already remove the configuration files, is just remove with the option “Mark to complete removel”, or, you can use the Ubuntu-Tweak to do that.

This command line tip was found here.

Calligra has been compiled

Hi folks.

Yesterday finally i compiled the Calligra Suite. Its very simple at all, just few steps and, done! The steps that I followed are here:

1– Install all dependencies for compilation process, at ubuntu I used:

$ sudo apt-get build-dep koffice

2– Download the latest tarball.
I’m not with internet at home right now, so i downloaded the latest tarball in a tar.gz file.

wget -c http://anongit.kde.org/calligra/calligra-latest.tar.gz

3– I created the follow directory structure:

$HOME/kde4/src/
source code
$HOME/kde4/build/calligra
directory that Calligra will be built in
$HOME/kde4/inst
directory that Calligra will be installed in.

To me $HOME is: /home/helder/

4– Unpack the tar.gz downloaded inside the directory: $HOME/kde4/src/

5– Execute the file initrepo.sh:

$ ./initrepo.sh

6– Run the command line:

$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo

7– Make it!

$ make -j4

My processor is a dual-core one, so i used the argumment -j4. If your processor is a quad-core, use -j8. This argumment will speed-up the compilation process.

8– To run the compiled programs are necessary these exports:

export KDEDIRS=$KDEDIRS:$HOME/kde4/inst
export PATH=$PATH:$HOME/kde4/inst/bin
export KDEHOME=$HOME/kde4/.kde

9– Then finally run the command above to create the menu entries:

$ kbuildsycoca4

10– And then type (at konsole) the program that you want to execute, in my case:

$ flow

building Calligra

This short step-by-step is completly done at: http://community.kde.org/Calligra/Building/Building_Calligra

I’m in SoK!

I’m very happy on these days! I had been accepted to KDE program called “Season of KDE” (SoK). I will help on Flow program. Flow is a program part of older KOffice, now called Calligra. This is awesome because I really like to work with computer graphics.

I wish can contribute with useful code on development. My mentor is Yue Liu, a very cool guy from “other side of world”, China!

So, i would like to thank to:
Lydia Pintscher: for accepting me into the program;
– Yue Liu: for accepting be my mentor.