Re: KDE Frameworks 5.82.0-1 available (Experimental)

2021-05-10 Thread Luc Castermans

so I used below, with XY the version installed at present:

apt install -t experimental `dpkg -l | fgrep 5.XY | awk '{print $2}'`

Regards,


Luc



Op 10-05-2021 om 21:14 schreef inkbottle:

On Monday, May 10, 2021 7:13:11 PM CEST Luc Castermans wrote:

hi,

I upgraded earlier today.  I observed no issues during and after upgrade.

Can you say what specific command line(s) you are using for the experimental
part of the upgrade.


Thanks!

Luc

Op ma 10 mei 2021 18:06 schreef inkbottle :

Hi all,

I've upgraded to Frameworks 5.82.0-1.

Below an edited transcript of what went well and what didn't.

Your suggestions about the right way to do it are welcome.

Chris



 5.82.0-1: apt update; apt -t unstable dist-upgrade; apt install -t
experimental plasma-desktop plasma-framework
 First run didn't work: plasmashell 100% cpu forever, had to
reboot.
 Second run seems okay.
 Do you have mixed versions?
 I'm not sure whether that upgraded all packages to 5.21.5 or 5.82
 Assuming you have the latest Plasma 5.21.5 installed, make sure no
5.21.4 packages are left: `dpkg -l | grep 5.21.4`
 Similarly for the frameworks.
 dpkg -l | grep -F "5.21.4" | wc -l ==> 72; dpkg -l | grep -F
"5.21.5"

| wc -l ==> 13

 What did I do wrong?
 Upgrading one package to 5.21.5 does not automatically upgrade all
others.
 So you would recommend this sort of command? `apt install -t
experimental $( dpkg -l | grep 5.20.5 | awk '/^ii/ {print $2}' )`
 It's the easiest for me. When you run stable/testing/unstable, you
don't
have this problem, because we usually upload all packages at once and
everything will then be upgraded.
 First thing would then be: `apt install -t experimental $( dpkg -l

grep 5.21.4 | awk '/^ii/ {print $2}' )`
 Running now the above line
 dpkg -l | grep -F "5.21.4" | wc -l ==> 0
 dpkg -l | grep -F "5.21" | grep -v -F "5.21.5"  ==> two packages
with
version numbers 5.212.0~alpha4-11 => unrelated
 Sounds good.
 Now verifying for framework
 dpkg -l | grep -F "5.78" | wc -l ==> 119
 dpkg -l | grep -F "5.78" | egrep -v 'libkf5|qml-mod' ==> it's all
KDE
stuff
 apt install -t experimental $( dpkg -l | grep -F "5.78.0" | awk
'/^ii/
{print $2}' )
 dpkg -l | egrep "5\.(78|79|80|81)" | wc -l ==> 0
 I should reboot now.





--

m.vr.gr.

Luc Castermans
mailto:luc.casterm...@gmail.com



Re: kwin wayland turn off screen (xset dpms force off)

2021-05-10 Thread inkbottle
On Sunday, May 9, 2021 2:27:32 AM CEST inkbottle wrote:
> On Friday, May 7, 2021 12:06:52 AM CEST inkbottle wrote:
> > On Thursday, May 6, 2021 9:30:54 AM CEST Grzegorz Szymaszek wrote:
> > > On Thu 06 May 2021 01:34:15 CEST, inkbottle wrote:
> > > > Also, the expected behavior would IMO the change the duration of the
> > > > screen off timer when the screen is locked. Like setting the timer to
> > > > 40
> > > > sec.
> > > 
> > > FWIW, .
> > 
> > Thanks.
> > Someone says  must be
> > addressed first.
> > Things might be different, with wayland.
> >  
> > > wa yland/>
> 
> The following line does succeed in conveniently setting `dpms` timer.
> 
> `kwriteconfig5 --file powermanagementprofilesrc --group AC --group
> DPMSControl -- key idleTime 60; qdbus org.kde.Solid.PowerManagement
> /org/kde/Solid/ PowerManagement
> org.kde.Solid.PowerManagement.refreshStatus`
> 
> And again, kwin-wayland seems more consistent than its x11 counterpart in
> the matter of turning the screen off, so, so far, the whole operation is
> far less painful than it was with x11 version.
> 
> See: https://bugs.kde.org/show_bug.cgi?id=340342
> for the command line.

I'm trying running the following in a terminal, and then locking the screen 
with Ctrl+Alt+L:

#! /bin/bash

# 
https://unix.stackexchange.com/questions/353998/run-script-on-screen-lock-in-kde

dbus-monitor --session "type='signal',interface='org.freedesktop.ScreenSaver'" 
|
  while read x; do
case "$x" in
  *"boolean true"*) 
echo SCREEN_LOCKED;
kwriteconfig5 --file powermanagementprofilesrc --group AC --group 
DPMSControl --key idleTime 60;
qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement 
org.kde.Solid.PowerManagement.refreshStatus
;;  
  *"boolean false"*)
echo SCREEN_UNLOCKED;
kwriteconfig5 --file powermanagementprofilesrc --group AC --group 
DPMSControl --key idleTime 600;
qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement 
org.kde.Solid.PowerManagement.refreshStatus
;;  
esac
  done
  







Re: KDE Frameworks 5.82.0-1 available (Experimental)

2021-05-10 Thread inkbottle
On Monday, May 10, 2021 7:13:11 PM CEST Luc Castermans wrote:
> hi,
> 
> I upgraded earlier today.  I observed no issues during and after upgrade.

Can you say what specific command line(s) you are using for the experimental 
part of the upgrade.

> 
> Thanks!
> 
> Luc
> 
> Op ma 10 mei 2021 18:06 schreef inkbottle :
> > Hi all,
> > 
> > I've upgraded to Frameworks 5.82.0-1.
> > 
> > Below an edited transcript of what went well and what didn't.
> > 
> > Your suggestions about the right way to do it are welcome.
> > 
> > Chris
> > 
> > 
> > 
> >  5.82.0-1: apt update; apt -t unstable dist-upgrade; apt install -t
> > experimental plasma-desktop plasma-framework
> >  First run didn't work: plasmashell 100% cpu forever, had to
> > reboot.
> >  Second run seems okay.
> >  Do you have mixed versions?
> >  I'm not sure whether that upgraded all packages to 5.21.5 or 5.82
> >  Assuming you have the latest Plasma 5.21.5 installed, make sure no
> > 5.21.4 packages are left: `dpkg -l | grep 5.21.4`
> >  Similarly for the frameworks.
> >  dpkg -l | grep -F "5.21.4" | wc -l ==> 72; dpkg -l | grep -F
> > "5.21.5"
> > 
> > | wc -l ==> 13
> > 
> >  What did I do wrong?
> >  Upgrading one package to 5.21.5 does not automatically upgrade all
> > others.
> >  So you would recommend this sort of command? `apt install -t
> > experimental $( dpkg -l | grep 5.20.5 | awk '/^ii/ {print $2}' )`
> >  It's the easiest for me. When you run stable/testing/unstable, you
> > don't
> > have this problem, because we usually upload all packages at once and
> > everything will then be upgraded.
> >  First thing would then be: `apt install -t experimental $( dpkg -l
> > 
> > grep 5.21.4 | awk '/^ii/ {print $2}' )`
> >  Running now the above line
> >  dpkg -l | grep -F "5.21.4" | wc -l ==> 0
> >  dpkg -l | grep -F "5.21" | grep -v -F "5.21.5"  ==> two packages
> > with
> > version numbers 5.212.0~alpha4-11 => unrelated
> >  Sounds good.
> >  Now verifying for framework
> >  dpkg -l | grep -F "5.78" | wc -l ==> 119
> >  dpkg -l | grep -F "5.78" | egrep -v 'libkf5|qml-mod' ==> it's all
> > KDE
> > stuff
> >  apt install -t experimental $( dpkg -l | grep -F "5.78.0" | awk
> > '/^ii/
> > {print $2}' )
> >  dpkg -l | egrep "5\.(78|79|80|81)" | wc -l ==> 0
> >  I should reboot now.






Re: KDE Frameworks 5.82.0-1 available (Experimental)

2021-05-10 Thread Luc Castermans
hi,

I upgraded earlier today.  I observed no issues during and after upgrade.

Thanks!

Luc

Op ma 10 mei 2021 18:06 schreef inkbottle :

> Hi all,
>
> I've upgraded to Frameworks 5.82.0-1.
>
> Below an edited transcript of what went well and what didn't.
>
> Your suggestions about the right way to do it are welcome.
>
> Chris
>
>
>
>  5.82.0-1: apt update; apt -t unstable dist-upgrade; apt install -t
> experimental plasma-desktop plasma-framework
>  First run didn't work: plasmashell 100% cpu forever, had to reboot.
>  Second run seems okay.
>  Do you have mixed versions?
>  I'm not sure whether that upgraded all packages to 5.21.5 or 5.82
>  Assuming you have the latest Plasma 5.21.5 installed, make sure no
> 5.21.4 packages are left: `dpkg -l | grep 5.21.4`
>  Similarly for the frameworks.
>  dpkg -l | grep -F "5.21.4" | wc -l ==> 72; dpkg -l | grep -F
> "5.21.5"
> | wc -l ==> 13
>  What did I do wrong?
>  Upgrading one package to 5.21.5 does not automatically upgrade all
> others.
>  So you would recommend this sort of command? `apt install -t
> experimental $( dpkg -l | grep 5.20.5 | awk '/^ii/ {print $2}' )`
>  It's the easiest for me. When you run stable/testing/unstable, you
> don't
> have this problem, because we usually upload all packages at once and
> everything will then be upgraded.
>  First thing would then be: `apt install -t experimental $( dpkg -l
> |
> grep 5.21.4 | awk '/^ii/ {print $2}' )`
>  Running now the above line
>  dpkg -l | grep -F "5.21.4" | wc -l ==> 0
>  dpkg -l | grep -F "5.21" | grep -v -F "5.21.5"  ==> two packages
> with
> version numbers 5.212.0~alpha4-11 => unrelated
>  Sounds good.
>  Now verifying for framework
>  dpkg -l | grep -F "5.78" | wc -l ==> 119
>  dpkg -l | grep -F "5.78" | egrep -v 'libkf5|qml-mod' ==> it's all
> KDE
> stuff
>  apt install -t experimental $( dpkg -l | grep -F "5.78.0" | awk
> '/^ii/
> {print $2}' )
>  dpkg -l | egrep "5\.(78|79|80|81)" | wc -l ==> 0
>  I should reboot now.
>
>
>
>
>


KDE Frameworks 5.82.0-1 available (Experimental)

2021-05-10 Thread inkbottle
Hi all,

I've upgraded to Frameworks 5.82.0-1.

Below an edited transcript of what went well and what didn't.

Your suggestions about the right way to do it are welcome.

Chris



 5.82.0-1: apt update; apt -t unstable dist-upgrade; apt install -t 
experimental plasma-desktop plasma-framework
 First run didn't work: plasmashell 100% cpu forever, had to reboot.
 Second run seems okay.
 Do you have mixed versions?
 I'm not sure whether that upgraded all packages to 5.21.5 or 5.82
 Assuming you have the latest Plasma 5.21.5 installed, make sure no 
5.21.4 packages are left: `dpkg -l | grep 5.21.4`
 Similarly for the frameworks.
 dpkg -l | grep -F "5.21.4" | wc -l ==> 72; dpkg -l | grep -F "5.21.5" 
| wc -l ==> 13
 What did I do wrong?
 Upgrading one package to 5.21.5 does not automatically upgrade all 
others.
 So you would recommend this sort of command? `apt install -t 
experimental $( dpkg -l | grep 5.20.5 | awk '/^ii/ {print $2}' )`
 It's the easiest for me. When you run stable/testing/unstable, you don't 
have this problem, because we usually upload all packages at once and 
everything will then be upgraded.
 First thing would then be: `apt install -t experimental $( dpkg -l | 
grep 5.21.4 | awk '/^ii/ {print $2}' )`
 Running now the above line
 dpkg -l | grep -F "5.21.4" | wc -l ==> 0
 dpkg -l | grep -F "5.21" | grep -v -F "5.21.5"  ==> two packages with 
version numbers 5.212.0~alpha4-11 => unrelated
 Sounds good.
 Now verifying for framework
 dpkg -l | grep -F "5.78" | wc -l ==> 119
 dpkg -l | grep -F "5.78" | egrep -v 'libkf5|qml-mod' ==> it's all KDE 
stuff
 apt install -t experimental $( dpkg -l | grep -F "5.78.0" | awk '/^ii/ 
{print $2}' )
 dpkg -l | egrep "5\.(78|79|80|81)" | wc -l ==> 0
 I should reboot now.






Krunner can't actually search for files

2021-05-10 Thread yaros
Hello,

I have problem with searching files with krunner/k-menu. It started after 
upgrade Plasma to version 5.21.1 and nothing changed until today:
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-6-amd64
OS Type: 64-bit
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 1080 Ti/PCIe/SSE2

I have similar problem https://bugs.kde.org/show_bug.cgi?id=388857 
There is no solution (recreaiting baloo index doesn't work for me). I checked 
my configuration, and cant't find what is wrong:

cat ~/.config/krunnerrc 
[PlasmaRunnerManager]
migrated=true

[Plugins]
CharacterRunnerEnabled=false
DictionaryEnabled=false
Kill RunnerEnabled=false
PIM Contacts Search RunnerEnabled=true
PowerDevilEnabled=false
Spell CheckerEnabled=true
appstreamEnabled=false
baloosearchEnabled=true
bookmarksEnabled=true
browserhistoryEnabled=true
browsertabsEnabled=true
calculatorEnabled=true
desktopsessionsEnabled=true
katesessionsEnabled=false
konsoleprofilesEnabled=false
krunner_appstreamEnabled=true
kwinEnabled=true
locationsEnabled=true
org.kde.activitiesEnabled=true
org.kde.datetimeEnabled=true
org.kde.windowedwidgetsEnabled=false
placesEnabled=true
plasma-desktopEnabled=true
recentdocumentsEnabled=true
servicesEnabled=true
shellEnabled=true
skroogeaddoperationEnabled=false
unitconverterEnabled=true
webshortcutsEnabled=true
windowsEnabled=true

Baloo search is working fine:
yaros@DebYan:~$ baloosearch spalanie
/home/yaros/majne papiren/spalanie
/home/yaros/majne papiren/spalanie/spalanie honda coupe2.ods
/home/yaros/majne papiren/spalanie/spalanie honda crx del sol.ods
/home/yaros/majne papiren/spalanie/spalanie honda coupe.ods
/home/yaros/majne papiren/spalanie/spalanie thalia.ods
/home/yaros/majne papiren/spalanie/spalanie honda.ods
/home/yaros/majne papiren/!old/spalanie.xls
Upłynęło: 0,336583 msecs

Dbus communication looks ok:
yaros@DebYan:~$ qdbus --literal org.kde.runners.baloo /runner 
org.kde.krunner1.Match "spalanie" 
[Argument: a(sssida{sv}) {[Argument: (sssida{sv}) "/home/yaros/majne 
papiren/spalanie/spalanie honda coupe2.ods", "spalanie honda coupe2.ods", 
"application-vnd.oasis.opendocument.spreadsheet", 30, 0.75, [Argument: a{sv} 
{"category" = [Variant(QString): "Arkusz kalkulacyjny"], "subtext" = 
[Variant(QString): "~/ma
jne papiren/spalanie"], "urls" = [Variant(QStringList): 
{"file:///home/yaros/majne%20papiren/spalanie/spalanie%20honda%20coupe2.ods"}]}]],
 [Argument: (sssida{sv}) "/home/yaros/majne papiren/spalanie/spalanie honda crx 
del sol.ods", "spalanie honda crx del sol.ods", 
"application-vnd.oasis.opendocument.spreadsheet
", 30, 0.7, [Argument: a{sv} {"category" = [Variant(QString): "Arkusz 
kalkulacyjny"], "subtext" = [Variant(QString): "~/majne papiren/spalanie"], 
"urls" = [Variant(QStringList): 
{"file:///home/yaros/majne%20papiren/spalanie/spalanie%20honda%20crx%20del%20sol.ods"}]}]],
 [Argument: (sssida{sv}) "/home/yaros/majne 
papiren/spalanie/spalanie honda coupe.ods", "spalanie honda coupe.ods", 
"application-vnd.oasis.opendocument.spreadsheet", 30, 0.65, [Argument: a{sv} 
{"category" = [Variant(QString): "Arkusz kalkulacyjny"], "subtext" = 
[Variant(QString): "~/majne papiren/spalanie"], "urls" = [Variant(QStringList): 
{"file:///home/
yaros/majne%20papiren/spalanie/spalanie%20honda%20coupe.ods"}]}]], [Argument: 
(sssida{sv}) "/home/yaros/majne papiren/spalanie/spalanie thalia.ods", 
"spalanie thalia.ods", "application-vnd.oasis.opendocument.spreadsheet", 30, 
0.6, [Argument: a{sv} {"category" = [Variant(QString): "Arkusz kalkulacyjny"], 
"subtext
" = [Variant(QString): "~/majne papiren/spalanie"], "urls" = 
[Variant(QStringList): 
{"file:///home/yaros/majne%20papiren/spalanie/spalanie%20thalia.ods"}]}]], 
[Argument: (sssida{sv}) "/home/yaros/majne papiren/spalanie/spalanie 
honda.ods", "spalanie honda.ods", 
"application-vnd.oasis.opendocument.spreadsheet", 3
0, 0.55, [Argument: a{sv} {"category" = [Variant(QString): "Arkusz 
kalkulacyjny"], "subtext" = [Variant(QString): "~/majne papiren/spalanie"], 
"urls" = [Variant(QStringList): 
{"file:///home/yaros/majne%20papiren/spalanie/spalanie%20honda.ods"}]}]], 
[Argument: (sssida{sv}) "/home/yaros/majne papiren/!old/spalanie
.xls", "spalanie.xls", "application-vnd.ms-excel", 30, 0.5, [Argument: a{sv} 
{"category" = [Variant(QString): "Arkusz kalkulacyjny"], "subtext" = 
[Variant(QString): "~/majne papiren/!old"], "urls" = [Variant(QStringList): 
{"file:///home/yaros/majne%20papiren/!old/spalanie.xls"}]}]], [Argument: 
(sssida{sv}) "/hom
e/yaros/majne papiren/spalanie", "spalanie", "inode-directory", 30, 0.75, 
[Argument: a{sv} {"category" = [Variant(QString): "Katalog"], "subtext" = 
[Variant(QString): "~/majne papiren"], "urls" = [Variant(QStringList): 
{"file:///home/yaros/majne%20papiren/spalanie"}]}]], [Argument: (sssida{sv}) 
"/home/yaros/tmp/
krunner problem wyszukiwanie", "krun