Re: [kde] Change location of user cache in KDE 5

2016-07-07 Thread Duncan
Rex Dieter posted on Thu, 07 Jul 2016 19:57:47 -0500 as excerpted:

> Christoph Pleger wrote:
> 
>> Hello,
>> 
>> Kevin Kummer wrote:
>> 
 in KDE 4, the location of the user cache can be changed by setting
 KDEVARTMP in startkde. How can this be done in KDE 5?
>> 
>>> My guess would be XDG_CACHE_HOME
>> 
>> Unfortunately, no. I logged out, deleted /var/tmp/kdecache-${USER}, set
>> XDG_CACHE_HOME in /usr/bin/startkde and logged in again - a new
>> /var/tmp/kdecache-${HOME} had been created.
> 
> XDG_CACHE_HOME is respected only by qt5/kf5 applications and libraries.
> 
> kde4 runtime libraries still works the same as before (so you may want
> to set both KDEVARTMP and XDG_CACHE_HOME to achieve what you want).

And also... just /setting/ the var likely won't do it.  You will likely 
have to /export/ the var (which may have been done, but the post said 
set, without specifying export, so...).


-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] Change location of user cache in KDE 5

2016-07-07 Thread Rex Dieter
Christoph Pleger wrote:

> Hello,
> 
> Kevin Kummer wrote:
> 
>>> in KDE 4, the location of the user cache can be changed by setting
>>> KDEVARTMP in startkde. How can this be done in KDE 5?
> 
>> My guess would be XDG_CACHE_HOME
> 
> Unfortunately, no. I logged out, deleted /var/tmp/kdecache-${USER}, set
> XDG_CACHE_HOME in /usr/bin/startkde and logged in again - a new
> /var/tmp/kdecache-${HOME} had been created.

XDG_CACHE_HOME is respected only by qt5/kf5 applications and libraries.

kde4 runtime libraries still works the same as before (so you may want to 
set both KDEVARTMP and XDG_CACHE_HOME to achieve what you want).

-- Rex

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] Change location of user cache in KDE 5

2016-07-07 Thread Kevin Krammer
On Thursday, 2016-07-07, 14:06:55, Christoph Pleger wrote:
> Hello,
> 
> Kevin Krammer wrote:
> >> Unfortunately, no. I logged out, deleted /var/tmp/kdecache-${USER}, set
> >> XDG_CACHE_HOME in /usr/bin/startkde and logged in again - a new
> >> /var/tmp/kdecache-${HOME} had been created.
> > 
> > And setting KDEVARTMP doesn't work either?
> 
> Oops. Yes, it does, Surprised, because I read here
> https://bugs.kde.org/show_bug.cgi?id=356850 that KDEVARTMP does not change
> the location of the kdecache directory anymore. So, I did not even try
> before now.

You might have a mix of Qt4 based and Qt5 based KDE programs and one of the 
Qt4 based ones creates the dir according to the variable of that stack.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] Change location of user cache in KDE 5

2016-07-07 Thread Christoph Pleger
Hello,

Kevin Krammer wrote:

>> Unfortunately, no. I logged out, deleted /var/tmp/kdecache-${USER}, set
>> XDG_CACHE_HOME in /usr/bin/startkde and logged in again - a new
>> /var/tmp/kdecache-${HOME} had been created.

> And setting KDEVARTMP doesn't work either?

Oops. Yes, it does, Surprised, because I read here
https://bugs.kde.org/show_bug.cgi?id=356850 that KDEVARTMP does not change
the location of the kdecache directory anymore. So, I did not even try
before now.

Regards
  Christoph



___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] Change location of user cache in KDE 5

2016-07-07 Thread Christoph Pleger
Hello,

Kevin Kummer wrote:

>> in KDE 4, the location of the user cache can be changed by setting
>> KDEVARTMP in startkde. How can this be done in KDE 5?

> My guess would be XDG_CACHE_HOME

Unfortunately, no. I logged out, deleted /var/tmp/kdecache-${USER}, set
XDG_CACHE_HOME in /usr/bin/startkde and logged in again - a new
/var/tmp/kdecache-${HOME} had been created.

Regards
  Christoph

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] Change location of user cache in KDE 5

2016-07-06 Thread Kevin Krammer
On Wednesday, 2016-07-06, 10:31:05, Christoph Pleger wrote:
> Hello,
> 
> in KDE 4, the location of the user cache can be changed by setting
> KDEVARTMP in startkde. How can this be done in KDE 5?

My guess would be XDG_CACHE_HOME

See 
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Change location of user cache in KDE 5

2016-07-06 Thread Christoph Pleger
Hello,

in KDE 4, the location of the user cache can be changed by setting
KDEVARTMP in startkde. How can this be done in KDE 5?

Regards
  Christoph

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.