<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>LinuxQuestions.org - Blogs - gegechris99</title>
		<link>http://www.linuxquestions.org/questions/blog/gegechris99-210803/</link>
		<description>LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.</description>
		<language>en</language>
		<lastBuildDate>Fri, 24 May 2013 06:47:22 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://lqo-thequestionsnetw.netdna-ssl.com/questions/images/misc/rss.jpg</url>
			<title>LinuxQuestions.org - Blogs - gegechris99</title>
			<link>http://www.linuxquestions.org/questions/blog/gegechris99-210803/</link>
		</image>
		<item>
			<title>HOW-TO KMyMoney with XFCE desktop on Slackware 14.0 (32-bit edition)</title>
			<link>http://www.linuxquestions.org/questions/blog/gegechris99-210803/how-to-kmymoney-with-xfce-desktop-on-slackware-14-0-32-bit-edition-35142/</link>
			<pubDate>Sun, 18 Nov 2012 10:54:57 GMT</pubDate>
			<description><![CDATA[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...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
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).<br />
<br />
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.<br />
<br />
I'm pleased to share here how I proceeded to make Kmymoney work with a &quot;minimum&quot; number of KDE packages.<br />
<br />
<b>1) Install kmymoney and its dependencies:</b><br />
<br />
I installed the following packages from kde/ and kdei/ series:<br />
<br />
kde/kdelibs-4.8.5-i486-1<br />
kde/kdepimlibs-4.8.5-i486-1<br />
kde/oxygen-icons-4.8.5-i486-1<br />
kdei/kde-l10n-fr-4.8.5-noarch-1 - I'm french :)<br />
<br />
Using <a href="http://www.sbopkg.org" target="_blank" rel="nofollow">sbopkg</a> (a tool to automatically download, build and install a Slackware package), I installed the following packages:<br />
<br />
libraries/libalkimia-4.3.2-i486-1_SBo<br />
office/kmymoney-4.6.3-i486-1_SBo<br />
<br />
<b>2) Prepare the configuration files:</b><br />
<br />
I reinstalled my Kmymoney configuration file that I backed up before installing Slackware 14.0: <b>~/.kde/share/config/kmymoneyrc</b><br />
<br />
To get French settings for date, number, monetary symbols, I created file <b>~/.kde/share/config/kdeglobals</b> with the following content (append this content to the file if it already exists):<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 226px;
		text-align: left;
		overflow: auto">[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=</pre>
</div><b>3) Modify pinentry symlink</b><br />
<br />
My Kmymoney file is encrypted using gpg, so a pinentry dialog box shows up when I start kmymoney.<br />
<br />
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 <a href="http://slackware.osuosl.org/slackware-13.1/CHANGES_AND_HINTS.TXT" target="_blank" rel="nofollow">CHANGES_AND_HINTS.TXT</a> of 13.1 (but not in the next releases):<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="bbcodeblock" style="border:1px inset">
			
				If you are using the pinentry-gtk2 interface (for entering passphrases with<br />
  gpg-agent), be aware that there is a bug in the way scim-bridge and the<br />
  pinentry-gtk2 interact.  The result is that keyboard input does not register<br />
  with pinentry-gtk2.  For the time being, either change the /usr/bin/pinentry<br />
  symlink to use the qt or curses frontend, or don't use scim.
			
		</td>
	</tr>
	</table>
</div>So as user root, I did:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 66px;
		text-align: left;
		overflow: auto">cd /usr/bin/
rm pinentry
ln -s pinentry-qt pinentry</pre>
</div>And that's all folks.</div>

]]></content:encoded>
			<dc:creator>gegechris99</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog/gegechris99-210803/how-to-kmymoney-with-xfce-desktop-on-slackware-14-0-32-bit-edition-35142/</guid>
		</item>
		<item>
			<title>HOW-TO KMyMoney2 on Slackware 13.0 (x86 32-bit)</title>
			<link>http://www.linuxquestions.org/questions/blog/gegechris99-210803/how-to-kmymoney2-on-slackware-13-0-x86-32-bit-2248/</link>
			<pubDate>Mon, 07 Sep 2009 13:19:19 GMT</pubDate>
			<description><![CDATA[Hello, 
 
I've compiled KMyMoney2 on Slackware 13.0 (32-bit) using feedbacks from these 2 threads in which it was reported that KMyMoney2 was...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I've compiled KMyMoney2 on Slackware 13.0 (32-bit) using feedbacks from these 2 threads in which it was reported that KMyMoney2 was successfully compiled on 64-bit but not on 32-bit:<br />
<br />
<a href="http://www.linuxquestions.org/questions/slackware-14/usr-local-lib-or-usr-local-lib64-742313/#post3618118">/usr/local/lib or /usr/local/lib64</a><br />
<br />
<a href="http://www.linuxquestions.org/questions/slackware-14/kmymoney2-slackware64-sbo-slackbuild-error-737743/#post3596770">Kmymoney2 Slackware64 Sbo Slackbuild Error</a><br />
<br />
So here's a little HOW-TO for those interested in this topic:<br />
<br />
<b><u>1) Install the kde3-compat packages</u></b><br />
<br />
Install at least the following packages from the <a href="http://slackware.osuosl.org/slackware-13.0/extra/kde3-compat/" target="_blank" rel="nofollow">extra/kde3-compat</a> directory:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 66px;
		text-align: left;
		overflow: auto">arts-1.5.10-i486-opt1.txz
kdelibs3-3.5.10-i486-opt1.txz
qt3-3.3.8b-i486-opt1.txz</pre>
</div><b>Important step</b>: After installing these kde3 compatibility packages,  logout from KDE and login again so that variable <b>QTDIR</b> is properly set.<br />
<br />
<u><b>2) Adapt the existing SBo SlackBuild script</b></u><br />
<br />
Grab the <a href="http://slackbuilds.org/slackbuilds/12.2/office/kmymoney2.tar.gz" target="_blank" rel="nofollow">KMyMoney2 SlackBuild</a> from <a href="http://www.slackbuilds.org/" target="_blank" rel="nofollow">www.slackbuilds.org</a> 12.2 repository.<br />
<br />
In file <b>kmymoney2.SlackBuild</b>, change the version and the architecture (<b><font color="Red">I could only succeed with i686 but not with i486</font></b>):<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 50px;
		text-align: left;
		overflow: auto">VERSION=${VERSION:-1.0.0}
ARCH=${ARCH:-i686}</pre>
</div>and change the configure part to (changes are in bold letters):<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 274px;
		text-align: left;
		overflow: auto">CFLAGS=&quot;$SLKCFLAGS&quot; \
CXXFLAGS=&quot;$SLKCFLAGS&quot; \
./configure \
  <b>--prefix=/opt/kde3 \
  --with-qt-dir=/opt/kde3/lib/qt3 \
  --with-qt-includes=/opt/kde3/lib/qt3/include \
  --with-qt-libraries=/opt/kde3/lib/qt3/lib \</b>
  --localstatedir=/var \
  --sysconfdir=/etc \
  --mandir=/usr/man \
  --${useofx}able-ofxplugin \
  --${useofx}able-ofxbanking \
  --disable-leak-check \
  --disable-pdf-docs \
  --disable-debug \
  --build=$ARCH-slackware-linux \</pre>
</div><u><b>3) Create an entry for the KDE4 menu</b></u><br />
<br />
Add the following at the begining of <b>doinst.sh</b>:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 98px;
		text-align: left;
		overflow: auto">( cd usr/share/applications/kde4 ; rm -rf kmymoney2.desktop )
( cd usr/share/applications/kde4 ; ln -sf /opt/kde3/share/applications/kde/kmymoney2.desktop kmymoney2.desktop )

( cd usr/share/icons/hicolor/32x32/apps ; rm -rf kmymoney2.png )
( cd usr/share/icons/hicolor/32x32/apps ; ln -sf /opt/kde3/share/icons/hicolor/32x32/apps/kmymoney2.png kmymoney2.png )</pre>
</div><u><b>4) Build the package</b></u><br />
<br />
Then proceed as usual to build the package.<br />
<br />
Done.<br />
<br />
I've been using Kmymoney2 on Slackware 13.0 for about 5 days without any issue. The only inconvenience is that I'm using the french language and due to the absence of the KDE3 kde-i18n-fr package, some labels are not translated.<br />
<br />
Any feedback from your own experience is welcome.</div>

]]></content:encoded>
			<dc:creator>gegechris99</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog/gegechris99-210803/how-to-kmymoney2-on-slackware-13-0-x86-32-bit-2248/</guid>
		</item>
	</channel>
</rss>
