Re: [kde] Change background

2016-07-07 Thread Duncan
Kevin Krammer posted on Thu, 07 Jul 2016 13:08:56 +0200 as excerpted:

> On Thursday, 2016-07-07, 10:43:54, Christoph Pleger wrote:
>> Hello,
>> 
>> Duncan wrote:
>> >> in KDE 5, is it possible to change the background image which is
>> >> shown during the login animation and after activation of the
>> >> screensaver?
>> > 
>> > Yes, but there's actually three places to change the two different
>> > elements, depending on exactly what you want to change.  All three
>> > are in kde system settings.
>> 
>> Thank you very much, I managed to make the desired changes.
>> 
>> Is it also possible to change the settings for all users at once?
> 
> If you find the files that were changed you should be able to replicate
> that in the respective file in a more systemwide location.

Yes.  Kde5 looks in a number of places for its settings, including both 
user and system locations.  The user locations are probably going to be 
in $XDG_CONFIG_HOME, which (from memory, mine is customized and I don't 
want to look it up ATM) defaults to ~/.config/share/.  The system 
location(s) normally default to XDG_CONFIG_SYSTEM (again, from memory, 
something close tho), which in turn defaults to /usr/share/.

Some distros change these defaults, however.

See the freedesktop.org common desktop specifications for more.

-- 
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 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] Disable the option to create a new session

2016-07-07 Thread Duncan
Kevin Krammer posted on Thu, 07 Jul 2016 09:34:03 +0200 as excerpted:

> On Thursday, 2016-07-07, 05:53:22, Duncan wrote:
>> Christoph Pleger posted on Wed, 06 Jul 2016 14:27:54 +0200 as
>> excerpted:
>> > Hello,
>> > 
>> > in KDE 5, after the screensaver was started, an option to start a new
>> > session is shown. Is it possible to disable the possibility to start
>> > a new session, maybe also to not show the option?
>> 
>> I don't know how to set this one, but I know what you're asking must be
>> possible, because I don't have the new session option here. =:^/
> 
> It might require some support/cooperation from the login manager.
> E.g. if you run without login manager or of the login manager doesn't
> provide the necessary D-Bus (?) interface, then the option might be
> missing.

Good point.  I'm on gentoo, and I have USE flags (that control 
dependencies at build-time, etc) off, unless I know I need them on for 
some reason.

I do run systemd, but I have policy-kit turned off and not installed, 
along with another USE flag IDR on some plasma5 package IDR ATM, that 
IIRC /was/ documented as being required for session switching, etc.

So it might not be a normal user option, but rather, it could be an 
option that shows up if you've built the appropriate plasma5 component 
against the appropriate dependencies, as most binary-based distributions 
would, that doesn't show up if you haven't, thus explaining my lack of 
that option, here.

-- 
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.

[kde] Reloading previous session type of a user in KDE 5

2016-07-07 Thread Christoph Pleger
Hello,

with kdm, when a user logged in after choosing a session type, the
selected type was saved in ${HOME}/.dmrc. At the next login, the saved
type was loaded from ${HOME}/.dmrc, so that a user always had the same
session type, as long as he did not select something else.

That does not work with sddm. For the root user, is it possible to
re-introduce that feature?

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] Disable the option to create a new session

2016-07-07 Thread Christoph Pleger
Hello,

Kevin Krammer wrote:

>> in KDE 5, after the screensaver was started, an option to start a new
>> session is shown. Is it possible to disable the possibility to start a new
>> session, maybe also to not show the option?

> Could be possible through applying an action restriction.
> action/switch_user according to this
> https://mail.kde.org/pipermail/enterprise/2016-May/08.html

Thank you, that works.

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 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 background

2016-07-07 Thread René J . V . Bertin
On Wednesday July 06 2016 14:03:18 Christoph Pleger wrote:


>in KDE 5, is it possible to change the background image which is shown
>during the login animation

This used to be trivial with kdm, which in its traditional, unthemed version 
also looked much better than (fugly, fugly) sddm. But it seems to have gone 
MIA, sadly.

R
___
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] Disable the option to create a new session

2016-07-07 Thread Kevin Krammer
On Thursday, 2016-07-07, 05:53:22, Duncan wrote:
> Christoph Pleger posted on Wed, 06 Jul 2016 14:27:54 +0200 as excerpted:
> > Hello,
> > 
> > in KDE 5, after the screensaver was started, an option to start a new
> > session is shown. Is it possible to disable the possibility to start a
> > new session, maybe also to not show the option?
> 
> I don't know how to set this one, but I know what you're asking must be
> possible, because I don't have the new session option here. =:^/

It might require some support/cooperation from the login manager.
E.g. if you run without login manager or of the login manager doesn't provide 
the necessary D-Bus (?) interface, then the option might be missing.

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] Disable the option to create a new session

2016-07-07 Thread Kevin Krammer
On Wednesday, 2016-07-06, 14:27:54, Christoph Pleger wrote:
> Hello,
> 
> in KDE 5, after the screensaver was started, an option to start a new
> session is shown. Is it possible to disable the possibility to start a new
> session, maybe also to not show the option?

Could be possible through applying an action restriction.
action/switch_user according to this
https://mail.kde.org/pipermail/enterprise/2016-May/08.html

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.