[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: plasma 5 desktop scripting file locations / examples?
From:       Thom Castermans <thom.castermans () gmail ! com>
Date:       2017-03-01 7:58:31
Message-ID: CACpGtSYi7RQtKC-yAQeid9tH9yC-5d93XLymH+FxgxzwwvU=Dg () mail ! gmail ! com
[Download RAW message or body]

Hi Patrick,

Not sure how to do it personally, but at the moment, there are fairly
up-to-date KDE packages for Debian in testing, unstable and experimental.
You could check out how they did it there. There is also a mailinglist [1]
for KDE on Debian that you could ask your question on. The maintainers are
very friendly and helpful!

Hope that helps,
Thom

 1: https://lists.debian.org/debian-kde/

2017-03-01 0:46 GMT+01:00 Patrick Schleizer <patrick-mailinglists@whonix.org
>:

> Hi,
>
> I am Patrick, a maintainer of Whonix, which Whonix is a Linux derivative
> with at least several thousand users, that by default is using Debian
> with Debian KDE packages. Is it okay if I ask a few questions on how to
> pre-configure KDE as a Linux distribution?
>
> Are you aware of any example (Debian) packages that pre-configure
> plasma 5? These could help me to figure out the correct file locations
> and environment variables.
>
> In KDE 4, essentially the following worked.
>
> [1]
> /usr/share/whonix-gw-kde-desktop-conf/share/apps/plasma-desktop/init/00-
> defaultLayout.js
>
> [2]
> /etc/X11/Xsession.d/50whonix-gw-kde-desktop-conf:
> export KDEDIRS=/usr/share/whonix-gw-kde-desktop-conf/:$KDEDIRS
>
> I figured out how to make a kde settings package work with KDE 5. Here
> is an example. [3]
>
> [4]
> /etc/X11/Xsession.d/50kde-sounds-off
>
> if [ -z "$XDG_CONFIG_DIRS" ]; then
>    XDG_CONFIG_DIRS=/etc/xdg
> fi
> export XDG_CONFIG_DIRS=/usr/share/kde-sounds-off/:$XDG_CONFIG_DIRS
>
> [5]
> /usr/share/kde-sounds-off/knotifyrc
>
> But editing default plasmoids / plasma changes are a bit different? For
> example, how could one enable kde systray by default?
>
> The file that needs to be ultimately influenced is
> /home/user/.config/plasma-org.kde.plasma.desktop-appletsrc.
>
> I haven't found any documentation on kde.org on how to do that with
> KDE5. Please advice.
>
> Best regards,
> Patrick
>
> [1]
> https://github.com/Whonix/whonix-gw-kde-desktop-conf/
> blob/Whonix13/usr/share/whonix-gw-kde-desktop-conf/
> share/apps/plasma-desktop/init/00-defaultLayout.js
>
> [2]
> https://github.com/Whonix/whonix-gw-kde-desktop-conf/
> blob/Whonix13/etc/X11/Xsession.d/50whonix-gw-kde-desktop-conf
>
> [3] https://github.com/Whonix/kde-sounds-off
>
> [4]
> https://github.com/Whonix/kde-sounds-off/blob/master/etc/
> X11/Xsession.d/50kde-sounds-off
>
> [5]
> https://github.com/Whonix/kde-sounds-off/blob/master/usr/
> share/kde-sounds-off/knotifyrc
>
>

[Attachment #3 (text/html)]

<div dir="ltr"><div><div><div>Hi Patrick,<br><br></div>Not sure how to do it \
personally, but at the moment, there are fairly up-to-date KDE packages for Debian in \
testing, unstable and experimental. You could check out how they did it there. There \
is also a mailinglist [1] for KDE on Debian that you could ask your question on. The \
maintainers are very friendly and helpful!<br><br></div>Hope that \
helps,<br></div>Thom<br><br>  1: <a \
href="https://lists.debian.org/debian-kde/">https://lists.debian.org/debian-kde/</a><br></div><div \
class="gmail_extra"><br><div class="gmail_quote">2017-03-01 0:46 GMT+01:00 Patrick \
Schleizer <span dir="ltr">&lt;<a href="mailto:patrick-mailinglists@whonix.org" \
target="_blank">patrick-mailinglists@whonix.org</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi,<br> <br>
I am Patrick, a maintainer of Whonix, which Whonix is a Linux derivative<br>
with at least several thousand users, that by default is using Debian<br>
with Debian KDE packages. Is it okay if I ask a few questions on how to<br>
pre-configure KDE as a Linux distribution?<br>
<br>
Are you aware of any example (Debian) packages that pre-configure<br>
plasma 5? These could help me to figure out the correct file locations<br>
and environment variables.<br>
<br>
In KDE 4, essentially the following worked.<br>
<br>
[1]<br>
/usr/share/whonix-gw-kde-<wbr>desktop-conf/share/apps/<wbr>plasma-desktop/init/00-<wbr>defaultLayout.js<br>
 <br>
[2]<br>
/etc/X11/Xsession.d/50whonix-<wbr>gw-kde-desktop-conf:<br>
export KDEDIRS=/usr/share/whonix-gw-<wbr>kde-desktop-conf/:$KDEDIRS<br>
<br>
I figured out how to make a kde settings package work with KDE 5. Here<br>
is an example. [3]<br>
<br>
[4]<br>
/etc/X11/Xsession.d/50kde-<wbr>sounds-off<br>
<br>
if [ -z &quot;$XDG_CONFIG_DIRS&quot; ]; then<br>
     XDG_CONFIG_DIRS=/etc/xdg<br>
fi<br>
export XDG_CONFIG_DIRS=/usr/share/<wbr>kde-sounds-off/:$XDG_CONFIG_<wbr>DIRS<br>
<br>
[5]<br>
/usr/share/kde-sounds-off/<wbr>knotifyrc<br>
<br>
But editing default plasmoids / plasma changes are a bit different? For<br>
example, how could one enable kde systray by default?<br>
<br>
The file that needs to be ultimately influenced is<br>
/home/user/.config/plasma-org.<wbr>kde.plasma.desktop-appletsrc.<br>
<br>
I haven&#39;t found any documentation on <a href="http://kde.org" rel="noreferrer" \
target="_blank">kde.org</a> on how to do that with<br> KDE5. Please advice.<br>
<br>
Best regards,<br>
Patrick<br>
<br>
[1]<br>
<a href="https://github.com/Whonix/whonix-gw-kde-desktop-conf/blob/Whonix13/usr/share/whonix-gw-kde-desktop-conf/share/apps/plasma-desktop/init/00-defaultLayout.js" \
rel="noreferrer" target="_blank">https://github.com/Whonix/<wbr>whonix-gw-kde-desktop- \
conf/<wbr>blob/Whonix13/usr/share/<wbr>whonix-gw-kde-desktop-conf/<wbr>share/apps/plasma-desktop/<wbr>init/00-defaultLayout.js</a><br>
 <br>
[2]<br>
<a href="https://github.com/Whonix/whonix-gw-kde-desktop-conf/blob/Whonix13/etc/X11/Xsession.d/50whonix-gw-kde-desktop-conf" \
rel="noreferrer" target="_blank">https://github.com/Whonix/<wbr>whonix-gw-kde-desktop- \
conf/<wbr>blob/Whonix13/etc/X11/<wbr>Xsession.d/50whonix-gw-kde-<wbr>desktop-conf</a><br>
 <br>
[3] <a href="https://github.com/Whonix/kde-sounds-off" rel="noreferrer" \
target="_blank">https://github.com/Whonix/kde-<wbr>sounds-off</a><br> <br>
[4]<br>
<a href="https://github.com/Whonix/kde-sounds-off/blob/master/etc/X11/Xsession.d/50kde-sounds-off" \
rel="noreferrer" target="_blank">https://github.com/Whonix/kde-<wbr>sounds-off/blob/master/etc/<wbr>X11/Xsession.d/50kde-sounds-<wbr>off</a><br>
 <br>
[5]<br>
<a href="https://github.com/Whonix/kde-sounds-off/blob/master/usr/share/kde-sounds-off/knotifyrc" \
rel="noreferrer" target="_blank">https://github.com/Whonix/kde-<wbr>sounds-off/blob/master/usr/<wbr>share/kde-sounds-off/knotifyrc</a><br>
 <br>
</blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic