Re: Where to set KDEDIRS or alternative?
Am Montag, 13. Juli 2015, 14:10:15 schrieb Kevin Krammer: On Sunday, 2015-07-12, 19:53:38, Sune Vuorela wrote: On 2015-07-12, Brad Rogers b...@fineby.me.uk wrote: Oh, but /usr/local/kde4/bin *is* in the PATH on my system. And with=20 KDEDIRS set appropriately, KDE did find them there, too. I'm unclear on that; Was /usr/local/kde4/bin(1) included in the PATH setting and KDEDIRS _also_ referred to it, or did only KDEDIRS reference that specific directory? Not that it matter much; If the directory is in the PATH, IDK why things aren't being found there. KDEDIRS is needed to have sycoca4 pick up things like plugins and stuff. And very many apps is mostly built out of plugins. For example KDevelop, Kontact and Konqueror. My guess would be that there is a QT_PLUGIN_PATH variable or similar being used now. For me: martin@merkaba:~ cat .kde/env/kdedirs.sh #!/bin/bash if [ -z $KDEDIRS ]; then export KDEDIRS=/usr/local/ else export KDEDIRS=/usr/local/:$KDEDIRS fi if [ -z $QT_PLUGIN_PATH ]; then export QT_PLUGIN_PATH=/usr/local/lib/kde4 else export QT_PLUGIN_PATH=/usr/local/lib/kde4:$QT_PLUGIN_PATH fi only appears to work partly anymore with self compiled KDEPIM and Akonadi. KMail still says 4.14.10 version instead of the latest 4:4.14.5-1 packaged in experimental, but ps aux shows /usr/bin instead of /usr/local/bin as path. And akonadi also is loaded from /usr/bin. I didn´t even notice it. Ciao, -- Martin signature.asc Description: This is a digitally signed message part.
Re: Where to set KDEDIRS or alternative?
On Tuesday 14 July 2015 19:28:47 Martin Steigerwald wrote: Am Montag, 13. Juli 2015, 14:10:15 schrieb Kevin Krammer: On Sunday, 2015-07-12, 19:53:38, Sune Vuorela wrote: On 2015-07-12, Brad Rogers b...@fineby.me.uk wrote: Oh, but /usr/local/kde4/bin *is* in the PATH on my system. And with=20 KDEDIRS set appropriately, KDE did find them there, too. I'm unclear on that; Was /usr/local/kde4/bin(1) included in the PATH setting and KDEDIRS _also_ referred to it, or did only KDEDIRS reference that specific directory? Not that it matter much; If the directory is in the PATH, IDK why things aren't being found there. KDEDIRS is needed to have sycoca4 pick up things like plugins and stuff. And very many apps is mostly built out of plugins. For example KDevelop, Kontact and Konqueror. My guess would be that there is a QT_PLUGIN_PATH variable or similar being used now. For me: martin@merkaba:~ cat .kde/env/kdedirs.sh #!/bin/bash if [ -z $KDEDIRS ]; then export KDEDIRS=/usr/local/ else export KDEDIRS=/usr/local/:$KDEDIRS fi if [ -z $QT_PLUGIN_PATH ]; then export QT_PLUGIN_PATH=/usr/local/lib/kde4 else export QT_PLUGIN_PATH=/usr/local/lib/kde4:$QT_PLUGIN_PATH fi only appears to work partly anymore with self compiled KDEPIM and Akonadi. KMail still says 4.14.10 version instead of the latest 4:4.14.5-1 packaged in experimental, but ps aux shows /usr/bin instead of /usr/local/bin as path. And akonadi also is loaded from /usr/bin. I didn´t even notice it. Ciao, This is OK for KDE4. No longer appropriate for plasma5. Stuff in the kde4 folders is not accepted. -- To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/12718275.UCI08cBvjE@dovidhalevi
Re: Where to set KDEDIRS or alternative?
On Monday, 2015-07-13, 05:39:43, Sune Vuorela wrote: On 2015-07-12, Michael Schuerig michael.li...@schuerig.de wrote: In my case, without KDEDIRS being effective, desktop files below /usr/local/kde4 are no longer found. And so KDE doesn't know about these applications anymore. Yeah. desktop files is another thing put in sycoca. Hmm, applications' .desktop files should be in the XDG locations, i.e. in applications subdirectories of paths in $XDG_DATA_DIRS Cheers, Kevin signature.asc Description: This is a digitally signed message part.
Re: Where to set KDEDIRS or alternative?
On Sunday, 2015-07-12, 19:53:38, Sune Vuorela wrote: On 2015-07-12, Brad Rogers b...@fineby.me.uk wrote: Oh, but /usr/local/kde4/bin *is* in the PATH on my system. And with=20 KDEDIRS set appropriately, KDE did find them there, too. I'm unclear on that; Was /usr/local/kde4/bin(1) included in the PATH setting and KDEDIRS _also_ referred to it, or did only KDEDIRS reference that specific directory? Not that it matter much; If the directory is in the PATH, IDK why things aren't being found there. KDEDIRS is needed to have sycoca4 pick up things like plugins and stuff. And very many apps is mostly built out of plugins. For example KDevelop, Kontact and Konqueror. My guess would be that there is a QT_PLUGIN_PATH variable or similar being used now. Cheers, Kevin signature.asc Description: This is a digitally signed message part.
Re: Where to set KDEDIRS or alternative?
On Sunday 12 July 2015 17:14:52 Sune Vuorela wrote: On 2015-07-12, Michael Schuerig michael.li...@schuerig.de wrote: I'm using a few self-build KDE applications that are installed in /usr/local/kde4. In order for KDE to find them, I've added this path to KDEDIRS (in /etc/environment). With Plasma 5 this setting apparently has become obsolete. Is there another one that replaces it? http://jpwhiting.blogspot.fi/2014/11/autostart-in-plasma-5.html This seems to be an answer to an entirely different question. Michael -- Michael Schuerig mailto:mich...@schuerig.de http://www.schuerig.de/michael/ -- To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1698208.cDaad0TKjD@fuchsia
Re: Where to set KDEDIRS or alternative?
On Sun, 12 Jul 2015 20:50:19 +0200 Michael Schuerig michael.li...@schuerig.de wrote: Hello Michael, Yes, to keep them separated from other local stuff. So, self-imposed, then. Not unreasonable, of course. Although it does strike me as making a rod for your own back. IOW, making work for the sake of it. However, that's irrelevant to the problem at hand.. Oh, but /usr/local/kde4/bin *is* in the PATH on my system. And with KDEDIRS set appropriately, KDE did find them there, too. I'm unclear on that; Was /usr/local/kde4/bin(1) included in the PATH setting and KDEDIRS _also_ referred to it, or did only KDEDIRS reference that specific directory? Not that it matter much; If the directory is in the PATH, IDK why things aren't being found there. (1) In your original post you referred to /usr/local/kde4, not /kde/bin. A typo, perhaps? -- Regards _ / ) The blindingly obvious is / _)radnever immediately apparent It's your life so go your own way Questions And Answers - Sham 69 pgpInV410uaXt.pgp Description: OpenPGP digital signature
Re: Where to set KDEDIRS or alternative?
On Sunday 12 July 2015 19:53:38 Sune Vuorela wrote: On 2015-07-12, Brad Rogers b...@fineby.me.uk wrote: Oh, but /usr/local/kde4/bin *is* in the PATH on my system. And with=20 KDEDIRS set appropriately, KDE did find them there, too. I'm unclear on that; Was /usr/local/kde4/bin(1) included in the PATH setting and KDEDIRS _also_ referred to it, or did only KDEDIRS reference that specific directory? Not that it matter much; If the directory is in the PATH, IDK why things aren't being found there. KDEDIRS is needed to have sycoca4 pick up things like plugins and stuff. And very many apps is mostly built out of plugins. In my case, without KDEDIRS being effective, desktop files below /usr/local/kde4 are no longer found. And so KDE doesn't know about these applications anymore. Michael -- Michael Schuerig mailto:mich...@schuerig.de http://www.schuerig.de/michael/ -- To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1700176.uXUdeX2MLg@fuchsia
Re: Where to set KDEDIRS or alternative?
On 2015-07-12, Brad Rogers b...@fineby.me.uk wrote: Oh, but /usr/local/kde4/bin *is* in the PATH on my system. And with=20 KDEDIRS set appropriately, KDE did find them there, too. I'm unclear on that; Was /usr/local/kde4/bin(1) included in the PATH setting and KDEDIRS _also_ referred to it, or did only KDEDIRS reference that specific directory? Not that it matter much; If the directory is in the PATH, IDK why things aren't being found there. KDEDIRS is needed to have sycoca4 pick up things like plugins and stuff. And very many apps is mostly built out of plugins. For example KDevelop, Kontact and Konqueror. /Sune -- To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/mnugk2$qa5$1...@ger.gmane.org
Re: Where to set KDEDIRS or alternative?
On 2015-07-12, Michael Schuerig michael.li...@schuerig.de wrote: In my case, without KDEDIRS being effective, desktop files below /usr/local/kde4 are no longer found. And so KDE doesn't know about these applications anymore. Yeah. desktop files is another thing put in sycoca. /Sune -- To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/mnviuv$jmh$1...@ger.gmane.org
Re: Where to set KDEDIRS or alternative?
On 2015-07-12, Michael Schuerig michael.li...@schuerig.de wrote: I'm using a few self-build KDE applications that are installed in /usr/local/kde4. In order for KDE to find them, I've added this path to KDEDIRS (in /etc/environment). With Plasma 5 this setting apparently has become obsolete. Is there another one that replaces it? http://jpwhiting.blogspot.fi/2014/11/autostart-in-plasma-5.html /Sune -- To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/mnu7ac$h4l$1...@ger.gmane.org
Re: Where to set KDEDIRS or alternative?
On Sun, 12 Jul 2015 18:12:48 +0200 Michael Schuerig michael.li...@schuerig.de wrote: Hello Michael, /usr/local/kde4. Any particular reason for placing them there? Usually, self-built apps are placed in usr/local/bin which, as you probably know, is included in the $PATH, where anything can find them. -- Regards _ / ) The blindingly obvious is / _)radnever immediately apparent A friend of a friend he got beaten I Predict A Riot - Kaiser Chiefs pgpsbs0l3xLq4.pgp Description: OpenPGP digital signature
Re: Where to set KDEDIRS or alternative?
On Sunday 12 July 2015 18:16:19 Brad Rogers wrote: On Sun, 12 Jul 2015 18:12:48 +0200 Michael Schuerig michael.li...@schuerig.de wrote: Hello Michael, /usr/local/kde4. Any particular reason for placing them there? Yes, to keep them separated from other local stuff. Usually, self-built apps are placed in usr/local/bin which, as you probably know, is included in the $PATH, where anything can find them. Oh, but /usr/local/kde4/bin *is* in the PATH on my system. And with KDEDIRS set appropriately, KDE did find them there, too. Michael -- Michael Schuerig mailto:mich...@schuerig.de http://www.schuerig.de/michael/ -- To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/15304118.B2DrjXAPIx@fuchsia