Re: [DNG] help: pyton script problem (after package upg?)

2021-04-12 Thread al3xu5
Fri, 9 Apr 2021 21:18:22 +0200 - al3xu5 :

> Hi all
> 
> Today, after last apt-get upgrade, the `speedtest` python script
> (package is `speedtest-cli`) returns errors:
> 
> [...]

As Ludovic has pointed out the problem seems to have been solved
upstream.
Thank you all.
al3xu5

-- 
Say NO to copyright, patents, trademarks and industrial design
restrictions!


Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8  B624 DA50 835B 2624 A36B


pgpqxYMChtsuW.pgp
Description: Firma digitale OpenPGP
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Screen flickering

2021-04-12 Thread spiralofhope
On Thu, 8 Apr 2021 17:32:30 +0200
Antony Stone  wrote:

> As for a repair, I have no idea what it's like trying to get inside
> Dell laptops.



On Thu, 8 Apr 2021 16:37:54 +0200
Bernard Rosset via Dng  wrote:

> ... Dell Latitude 7400 laptop I have ...

I'd gamble that it's easy to service it.

There probably won't be any gotchas like what Apple does to actively
sabotage repairs.


My notes from the Inspiron 3180 are really this simple:

1.  Turn it over to see its bottom

2.  In the middle there is a small plastic cap covering a screw.

3.  Carefully pry it up. Nine screws should be visible, remove them

4.  Place the laptop bottom-down

5.  Open it as you usually would (screen facing you, touchpad in front
of you)

6.  The edge closest to you dips down right in the middle. This
is what gives you a small opening with which you opened the laptop
a moment ago. Notice the top of the laptop is a plate with the
keyboard and touchpad in it.

7.  Pry up the keyboard-plate at the dip in the front. Be sure to use
a plastic flexible tool that is wide, otherwise you will damage the
plastic.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.4

2021-04-12 Thread Steve Litt
tito via Dng said on Sun, 11 Apr 2021 20:13:37 +0200

>V 1.4
>
>now with  supported DE's:
>
>1) GNOME
>2) LXDE
>3) LXQT 

But wait, there's more. Installing LXDE (and I think also LXQT, but not
sure) gives you the stellar excellence Openbox Window Manager, which I
use every day in collaboration with dmenu and UMENU2 to create the
ultimate keyboard driven workflow.

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] BUG in desktop-base

2021-04-12 Thread tito via Dng
Hi,
while trying and retrying buster to beowulf migrations I've seen this error pop 
up
a few times. Could this be considered a bug?

Setting up desktop-base (1:3.0) ...
... setting up desktop-base
... setting up desktop-base
/var/lib/dpkg/info/desktop-base.postinst: line 30: [: preferred: integer 
expression expected

Ciao,
Tito
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Script to migrate buster desktop to beowulf v1.5

2021-04-12 Thread tito via Dng
On Mon, 12 Apr 2021 15:00:22 -0400
Steve Litt  wrote:

> tito via Dng said on Sun, 11 Apr 2021 20:13:37 +0200
> 
> >V 1.4
> >
> >now with  supported DE's:
> >
> >1) GNOME
> >2) LXDE
> >3) LXQT 

V 1.5

now with  supported DE's:

1) GNOME
2) LXDE
3) LXQT
4) XFCE

and minor fixes and improvements.

Ciao,
Tito
 


migration.sh
Description: application/shellscript
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] BUG in desktop-base

2021-04-12 Thread aitor

Hi Tito,

On 12/4/21 21:35, tito via Dng wrote:

Hi,
while trying and retrying buster to beowulf migrations I've seen this error pop 
up
a few times. Could this be considered a bug?

Setting up desktop-base (1:3.0) ...
... setting up desktop-base
... setting up desktop-base
/var/lib/dpkg/info/desktop-base.postinst: line 30: [: preferred: integer 
expression expected


Can you give us the content of the following files [*]:

- /sys/class/drm/card*/modes

- /sys/class/graphics/fb*/modes

In the first case, you'll find values like:

1920x1080
1680x1050
1280x1024

...

As a result, the variable ${high} in the line nº30 of the postinst script:

if [ ${high} -ge 720 ]; then

will receive an integer (as expected), that is:

var="1920x1080"
high=${var##*x}  -> 1080

In the second case, you'll find values like:

U:1920x1080p-0

and they'll be processed in a different way, getting an integeras a result:

var="U:1920x1080p-0"
var=${var##*:}
var=${var%%p-*}
high=${var##*x}  -> 1080

Aitor.

[*] These files will be taken in consideration only when the content of 
the corresponding "status" files located in

each directory matches "connected".


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] BUG in desktop-base

2021-04-12 Thread tito via Dng
On Tue, 13 Apr 2021 02:06:05 +0200
aitor  wrote:

> Hi Tito,
> 
> On 12/4/21 21:35, tito via Dng wrote:
> > Hi,
> > while trying and retrying buster to beowulf migrations I've seen
> > this error pop up a few times. Could this be considered a bug?
> >
> > Setting up desktop-base (1:3.0) ...
> > ... setting up desktop-base
> > ... setting up desktop-base
> > /var/lib/dpkg/info/desktop-base.postinst: line 30: [: preferred:
> > integer expression expected
> 
> Can you give us the content of the following files [*]:
> 
> - /sys/class/drm/card*/modes
> 
> - /sys/class/graphics/fb*/modes
> 
> In the first case, you'll find values like:
> 
> 1920x1080
> 1680x1050
> 1280x1024
> 
> ...
> 
> As a result, the variable ${high} in the line nº30 of the postinst
> script:
> 
> if [ ${high} -ge 720 ]; then
> 
> will receive an integer (as expected), that is:
> 
> var="1920x1080"
> high=${var##*x}  -> 1080
> 
> In the second case, you'll find values like:
> 
> U:1920x1080p-0
> 
> and they'll be processed in a different way, getting an integeras a
> result:
> 
> var="U:1920x1080p-0"
> var=${var##*:}
> var=${var%%p-*}
> high=${var##*x}  -> 1080
> 
> Aitor.
> 
> [*] These files will be taken in consideration only when the content
> of the corresponding "status" files located in
> each directory matches "connected".
> 
> 

Hi,

 ls -laf /sys/class/drm/card0*
/sys/class/drm/card0:
.   card0-Virtual-6  power   card0-Virtual-7  card0-Virtual-3
..  card0-Virtual-4  dev card0-Virtual-5  card0-Virtual-1
uevent  card0-Virtual-2  device  subsystemcard0-Virtual-8

/sys/class/drm/card0-Virtual-1:
.  ..  uevent  enabled  power  dpms  device  subsystem  status  edid  modes

/sys/class/drm/card0-Virtual-2:
.  ..  uevent  enabled  power  dpms  device  subsystem  status  edid  modes

/sys/class/drm/card0-Virtual-3:
.  ..  uevent  enabled  power  dpms  device  subsystem  status  edid  modes

/sys/class/drm/card0-Virtual-4:
.  ..  uevent  enabled  power  dpms  device  subsystem  status  edid  modes

/sys/class/drm/card0-Virtual-5:
.  ..  uevent  enabled  power  dpms  device  subsystem  status  edid  modes

/sys/class/drm/card0-Virtual-6:
.  ..  uevent  enabled  power  dpms  device  subsystem  status  edid  modes

/sys/class/drm/card0-Virtual-7:
.  ..  uevent  enabled  power  dpms  device  subsystem  status  edid  modes


-r--r--r-- 1 root root 4096 Apr 13 07:50 /sys/class/drm/card0-Virtual-1/modes
-r--r--r-- 1 root root 4096 Apr 13 07:50 /sys/class/drm/card0-Virtual-2/modes
-r--r--r-- 1 root root 4096 Apr 13 07:50 /sys/class/drm/card0-Virtual-3/modes
-r--r--r-- 1 root root 4096 Apr 13 07:50 /sys/class/drm/card0-Virtual-4/modes
-r--r--r-- 1 root root 4096 Apr 13 07:50 /sys/class/drm/card0-Virtual-5/modes
-r--r--r-- 1 root root 4096 Apr 13 07:50 /sys/class/drm/card0-Virtual-6/modes
-r--r--r-- 1 root root 4096 Apr 13 07:50 /sys/class/drm/card0-Virtual-7/modes
-r--r--r-- 1 root root 4096 Apr 13 07:50 /sys/class/drm/card0-Virtual-8/modes

cat /sys/class/drm/card0-Virtual-1/modes
preferred
2560x1600
1920x1440
1856x1392
1792x1344
1920x1200
1600x1200
1680x1050
1400x1050
1280x1024
1440x900
1280x960
1360x768
1280x800
1152x864
1280x768
1024x768
800x600
640x480

cat /sys/class/drm/card0-Virtual-2/modes
preferred
2560x1600
1920x1440
1856x1392
1792x1344
1920x1200
1600x1200
1680x1050
1400x1050
1280x1024
1440x900
1280x960
1360x768
1280x800
1152x864
1280x768
1024x768
800x600
640x480

cat /sys/class/drm/card0-Virtual-3/modes
preferred
2560x1600
1920x1440
1856x1392
1792x1344
1920x1200
1600x1200
1680x1050
1400x1050
1280x1024
1440x900
1280x960
1360x768
1280x800
1152x864
1280x768
1024x768
800x600
640x480

cat /sys/class/drm/card0-Virtual-4/modes
preferred
2560x1600
1920x1440
1856x1392
1792x1344
1920x1200
1600x1200
1680x1050
1400x1050
1280x1024
1440x900
1280x960
1360x768
1280x800
1152x864
1280x768
1024x768
800x600
640x480

cat /sys/class/drm/card0-Virtual-5/modes
preferred
2560x1600
1920x1440
1856x1392
1792x1344
1920x1200
1600x1200
1680x1050
1400x1050
1280x1024
1440x900
1280x960
1360x768
1280x800
1152x864
1280x768
1024x768
800x600
640x480

cat /sys/class/drm/card0-Virtual-6/modes
preferred
2560x1600
1920x1440
1856x1392
1792x1344
1920x1200
1600x1200
1680x1050
1400x1050
1280x1024
1440x900
1280x960
1360x768
1280x800
1152x864
1280x768
1024x768
800x600
640x480

cat /sys/class/drm/card0-Virtual-7/modes
preferred
2560x1600
1920x1440
1856x1392
1792x1344
1920x1200
1600x1200
1680x1050
1400x1050
1280x1024
1440x900
1280x960
1360x768
1280x800
1152x864
1280x768
1024x768
800x600
640x480

cat /sys/class/drm/card0-Virtual-8/modes
preferred
2560x1600
1920x1440
1856x1392
1792x1344
1920x1200
1600x1200
1680x1050
1400x1050
1280x1024
1440x900
1280x960
1360x768
1280x800
1152x864
1280x768
1024x768
800x600
640x480

cat /sys/class/drm/card0-Virtual-1/status
connected

cat /sys/class/drm/card0-Virtual-2/status
disconnected

cat /sys/class/drm/card0-Virtual-3/status
disconnected

cat /sys/class/drm/card0-Virtual-4/status
disconnected

cat /sys/class/drm/card0-Virtual