Re: [DNG] BUG in desktop-base

2021-04-13 Thread tito via Dng
On Tue, 13 Apr 2021 18:20:37 -0400
fsmithred via Dng  wrote:

> On 4/13/21 6:13 PM, tito via Dng wrote:
> > On Tue, 13 Apr 2021 23:19:06 +0200
> > aitor  wrote:
> > 
> >> Hi Tito,
> >>
> >> On 13/4/21 8:08, tito via Dng wrote:
> >>> cat /sys/class/drm/card0-Virtual-1/modes
> >>> preferred
> >>> 2560x1600
> >>> 1920x1440
> >>> 1856x1392
> >> The origin of the warning lies in the first line equal to
> >> "preferred", as you pointed out:
> >>
> >> /var/lib/dpkg/info/desktop-base.postinst: line 30: [: preferred:
> >> integer expression expected
> >>
> >> Imho, it should be considered a bug because the script ignores the 
> >> preferred value, going ahead with the *else* statement.
> >>
> >> Cheers,
> >>
> >> Aitor.
> >>
> >>
> > 
> > Hi,
> > so next question is: is it devuan or debian bug?
> > 
> > Ciao,
> > Tito
> > ___
> 
> Devuan. We fork desktop-base. You could file a bug report, or you
> could just tell me. I have control over line 30 and all the others.
> What should I do with it? Where and how can the script get the
> preferred value?
> 
> Thanks,
> fsmithred
Hi,
To be honest I don't know.. I just have seen this while testing my
migration script for the different DEs. It could be just a quirk of the
Virtulabox virtualized hardware that doesn't happen in the real world.
I really don't know. The display in the X session thinks to be
800x600@60Hz but offers all resolutions up to 2560x1600 and 
correctly resizes to them if selected. 

Ciao,
Tito

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


Re: [DNG] BUG in desktop-base

2021-04-13 Thread fsmithred via Dng
On 4/13/21 6:13 PM, tito via Dng wrote:
> On Tue, 13 Apr 2021 23:19:06 +0200
> aitor  wrote:
> 
>> Hi Tito,
>>
>> On 13/4/21 8:08, tito via Dng wrote:
>>> cat /sys/class/drm/card0-Virtual-1/modes
>>> preferred
>>> 2560x1600
>>> 1920x1440
>>> 1856x1392
>> The origin of the warning lies in the first line equal to
>> "preferred", as you pointed out:
>>
>> /var/lib/dpkg/info/desktop-base.postinst: line 30: [: preferred:
>> integer expression expected
>>
>> Imho, it should be considered a bug because the script ignores the 
>> preferred value, going ahead with the *else* statement.
>>
>> Cheers,
>>
>> Aitor.
>>
>>
> 
> Hi,
> so next question is: is it devuan or debian bug?
> 
> Ciao,
> Tito
> ___

Devuan. We fork desktop-base. You could file a bug report, or you could
just tell me. I have control over line 30 and all the others. What should
I do with it? Where and how can the script get the preferred value?

Thanks,
fsmithred

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


Re: [DNG] BUG in desktop-base

2021-04-13 Thread tito via Dng
On Tue, 13 Apr 2021 23:19:06 +0200
aitor  wrote:

> Hi Tito,
> 
> On 13/4/21 8:08, tito via Dng wrote:
> > cat /sys/class/drm/card0-Virtual-1/modes
> > preferred
> > 2560x1600
> > 1920x1440
> > 1856x1392
> The origin of the warning lies in the first line equal to
> "preferred", as you pointed out:
> 
> /var/lib/dpkg/info/desktop-base.postinst: line 30: [: preferred:
> integer expression expected
> 
> Imho, it should be considered a bug because the script ignores the 
> preferred value, going ahead with the *else* statement.
> 
> Cheers,
> 
> Aitor.
> 
> 

Hi,
so next question is: is it devuan or debian bug?

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


Re: [DNG] BUG in desktop-base

2021-04-13 Thread aitor

Hi Tito,

On 13/4/21 8:08, tito via Dng wrote:

cat /sys/class/drm/card0-Virtual-1/modes
preferred
2560x1600
1920x1440
1856x1392
The origin of the warning lies in the first line equal to "preferred", 
as you pointed out:


/var/lib/dpkg/info/desktop-base.postinst: line 30: [: preferred: integer 
expression expected

Imho, it should be considered a bug because the script ignores the 
preferred value, going ahead with the *else* statement.


Cheers,

Aitor.


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

2021-04-13 Thread tito via Dng
> > 
> > >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
>  

v 1.6

now with  supported DE's:
 
1) GNOME
2) LXDE
3) LXQT
4) XFCE
5) KDE

and minor fixes and improvements.

Two serious question arise  now?

1) should echo "ALWAYS_SET_PATH true" > /etc/default/su 
be added to the script to restore old su behaviour or
 should that be left to the user
2) should non-free and contrib repos be added to sources.list
or should that be left to the user

List members' opinion about that would be appreciated.

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] Dependency of KDE on lightdm or slim

2021-04-13 Thread tito via Dng
On Tue, 13 Apr 2021 15:48:03 +0200
tito via Dng  wrote:

> Hi,
> 
> is there a reason task-kde-desktop 3.53 has a dependency
> on lightdm or slim?
> I ask because I have xfce and kde installed on beowulf and use sddm
> to manage the display and never experienced problems or missed
> funcionality.
> 
> Ciao,
> Tito

I intended 3.54-devuan4.

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


[DNG] Dependency of KDE on lightdm or slim

2021-04-13 Thread tito via Dng
Hi,

is there a reason task-kde-desktop 3.53 has a dependency
on lightdm or slim?
I ask because I have xfce and kde installed on beowulf and use sddm
to manage the display and never experienced problems or missed
funcionality.

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


Re: [DNG] BUG in desktop-base

2021-04-13 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