:: Re: [DNG] BUG in desktop-base
Pàgina inicial
Delete this message
Reply to this message
Autor: tito
Data:  
A: dng
Assumpte: Re: [DNG] BUG in desktop-base
On Tue, 13 Apr 2021 18:20:37 -0400
fsmithred via Dng <dng@???> wrote:

> On 4/13/21 6:13 PM, tito via Dng wrote:
> > On Tue, 13 Apr 2021 23:19:06 +0200
> > aitor <aitor_czr@???> 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,
looking at my desktop there is no preferred value to be found
in /sys/class/drm/*.
The only value that looks good is in:
cat /sys/class/graphics/fb0/modes
U:1920x1080p-0

if it could be parsed and used in desktop-base script I cannot
say.

Ciao,
Tito