HOW-TO KMyMoney with XFCE desktop on Slackware 14.0 (32-bit edition)
Hello,
With the recent release of Slackware 14.0, I switched my desktop from KDE to XFCE. Don't get me wrong, I like KDE but it's starting to feel a bit slow on my main laptop (Acer Aspire 7220: AMD Semprom 3500+ 1.8 GHz - RAM 4GB DDR2).
I didn't upgrade from my previous OS (Salix 13.37), but rather made a clean installation. Because I'm using Kmymoney to manage my personal finances and I didn't want to install all the KDE packages just for that application, I made a little bit of research.
I'm pleased to share here how I proceeded to make Kmymoney work with a "minimum" number of KDE packages.
1) Install kmymoney and its dependencies:
I installed the following packages from kde/ and kdei/ series:
kde/kdelibs-4.8.5-i486-1
kde/kdepimlibs-4.8.5-i486-1
kde/oxygen-icons-4.8.5-i486-1
kdei/kde-l10n-fr-4.8.5-noarch-1 - I'm french
Using sbopkg (a tool to automatically download, build and install a Slackware package), I installed the following packages:
libraries/libalkimia-4.3.2-i486-1_SBo
office/kmymoney-4.6.3-i486-1_SBo
2) Prepare the configuration files:
I reinstalled my Kmymoney configuration file that I backed up before installing Slackware 14.0: ~/.kde/share/config/kmymoneyrc
To get French settings for date, number, monetary symbols, I created file ~/.kde/share/config/kdeglobals with the following content (append this content to the file if it already exists):
3) Modify pinentry symlink
My Kmymoney file is encrypted using gpg, so a pinentry dialog box shows up when I start kmymoney.
The first time I tried to open my file, I couldn't enter the passphrase in the pinentry dialog box. As I'm using scim, I remembered that on previous releases, there was a conflict with scim and pinentry. In fact, the last reminder about this issue is available in the CHANGES_AND_HINTS.TXT of 13.1 (but not in the next releases):
So as user root, I did:
And that's all folks.
With the recent release of Slackware 14.0, I switched my desktop from KDE to XFCE. Don't get me wrong, I like KDE but it's starting to feel a bit slow on my main laptop (Acer Aspire 7220: AMD Semprom 3500+ 1.8 GHz - RAM 4GB DDR2).
I didn't upgrade from my previous OS (Salix 13.37), but rather made a clean installation. Because I'm using Kmymoney to manage my personal finances and I didn't want to install all the KDE packages just for that application, I made a little bit of research.
I'm pleased to share here how I proceeded to make Kmymoney work with a "minimum" number of KDE packages.
1) Install kmymoney and its dependencies:
I installed the following packages from kde/ and kdei/ series:
kde/kdelibs-4.8.5-i486-1
kde/kdepimlibs-4.8.5-i486-1
kde/oxygen-icons-4.8.5-i486-1
kdei/kde-l10n-fr-4.8.5-noarch-1 - I'm french
Using sbopkg (a tool to automatically download, build and install a Slackware package), I installed the following packages:
libraries/libalkimia-4.3.2-i486-1_SBo
office/kmymoney-4.6.3-i486-1_SBo
2) Prepare the configuration files:
I reinstalled my Kmymoney configuration file that I backed up before installing Slackware 14.0: ~/.kde/share/config/kmymoneyrc
To get French settings for date, number, monetary symbols, I created file ~/.kde/share/config/kdeglobals with the following content (append this content to the file if it already exists):
Code:
[Locale] Country=fr DateFormat=%A %d %B %Y DateFormatShort=%d-%m-%Y DecimalSymbol=, Language=fr MonetaryDecimalSymbol=, MonetaryThousandsSeparator= NegativeMonetarySignPosition=1 NegativePrefixCurrencySymbol=false PositiveMonetarySignPosition=1 PositivePrefixCurrencySymbol=false ThousandsSeparator=
My Kmymoney file is encrypted using gpg, so a pinentry dialog box shows up when I start kmymoney.
The first time I tried to open my file, I couldn't enter the passphrase in the pinentry dialog box. As I'm using scim, I remembered that on previous releases, there was a conflict with scim and pinentry. In fact, the last reminder about this issue is available in the CHANGES_AND_HINTS.TXT of 13.1 (but not in the next releases):
Quote:
If you are using the pinentry-gtk2 interface (for entering passphrases with
gpg-agent), be aware that there is a bug in the way scim-bridge and the
pinentry-gtk2 interact. The result is that keyboard input does not register
with pinentry-gtk2. For the time being, either change the /usr/bin/pinentry
symlink to use the qt or curses frontend, or don't use scim.
gpg-agent), be aware that there is a bug in the way scim-bridge and the
pinentry-gtk2 interact. The result is that keyboard input does not register
with pinentry-gtk2. For the time being, either change the /usr/bin/pinentry
symlink to use the qt or curses frontend, or don't use scim.
Code:
cd /usr/bin/ rm pinentry ln -s pinentry-qt pinentry
Total Comments 1
Comments
-
Thanks for this...really useful.
It worked fine on my Slackware64 14.0 setup just as well (parts 1 & 2 anyway, I didn't need part 3).
regards,
rkfbPosted 07-21-2013 at 04:14 PM by rkfb