Why? What on a desktop PC uses it? Is it yet another overbearing openSUSE rpm dependency that isn't really a dependency?
There is some relationship with upower, removal of which wants to remove 35 Trinity packages.
Felix Miata wrote:
Why? What on a desktop PC uses it? Is it yet another overbearing openSUSE rpm dependency that isn't really a dependency?
I don't know what it is but there are many notebooks with SIM slot
There is some relationship with upower, removal of which wants to remove 35 Trinity packages.
Could be - if it is mobile it depends on battery.
On 2021-04-11 01:59:04 deloptes wrote:
Felix Miata wrote:
Why? What on a desktop PC uses it? Is it yet another overbearing openSUSE rpm dependency that isn't really a dependency?
I don't know what it is but there are many notebooks with SIM slot
There is some relationship with upower, removal of which wants to remove 35 Trinity packages.
Could be - if it is mobile it depends on battery.
Is it possible for Trinity to determine if the machine it's being installed into is a desktop or laptop machine? There seems to be an unwarranted assumption (not just by Trinity) that everything is a laptop machine any more.
Leslie
-- openSUSE Leap 15.2 x86_64 Qt: 3.5.0 TDE: R14.0.9 tde-config: 1.0
Anno domini 2021 Sun, 11 Apr 13:36:20 -0500 J Leslie Turriff scripsit:
On 2021-04-11 01:59:04 deloptes wrote:
Felix Miata wrote:
Why? What on a desktop PC uses it? Is it yet another overbearing openSUSE rpm dependency that isn't really a dependency?
I don't know what it is but there are many notebooks with SIM slot
There is some relationship with upower, removal of which wants to remove 35 Trinity packages.
Could be - if it is mobile it depends on battery.
Is it possible for Trinity to determine if the machine it's being installed into is a desktop or laptop machine? There seems to be an unwarranted assumption (not just by Trinity) that everything is a laptop machine any more.
Leslie
The easy way:
if [ -d /sys/class/power_supply/BAT0 ]; then echo LAPTOP; else echo MAYBENOLAPTOP; fi
The question is: what do you want to do with that information?
Nik
-- openSUSE Leap 15.2 x86_64 Qt: 3.5.0 TDE: R14.0.9 tde-config: 1.0 ____________________________________________________ tde-devels mailing list -- devels@trinitydesktop.org To unsubscribe send an email to devels-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@trinitydeskt...
On Sun April 11 2021 11:41:30 Dr. Nikolaus Klepp wrote:
if [ -d /sys/class/power_supply/BAT0 ]; then echo LAPTOP; else echo MAYBENOLAPTOP; fi
Works OK on newer laptops but not on some older models. Does it need ACPI/SuperFish?
FWIW we use Debian and our newer laptops don't have upower or libimobiledevice6 installed so the requirement in opensuse may possibly be an avoidable packaging artifact if someone wants to investigate further.
--Mike
Anno domini 2021 Sun, 11 Apr 12:06:30 -0700 Mike Bird via tde-devels scripsit:
On Sun April 11 2021 11:41:30 Dr. Nikolaus Klepp wrote:
if [ -d /sys/class/power_supply/BAT0 ]; then echo LAPTOP; else echo MAYBENOLAPTOP; fi
Works OK on newer laptops but not on some older models. Does it need ACPI/SuperFish?
Well, it works as long as there is some battery interface. I'm quite sure you need ACPI for this, in my case the thinkpad acpi kernel module. I have never seen a laptop with a battery that does not provide charging status and capacity information, so most likely any laptop that is supported by linux will be detected as laptop. What you cannot detect that way are UPS of any kind like in the raspberrypi laptop (pitop).
FWIW we use Debian and our newer laptops don't have upower or libimobiledevice6 installed so the requirement in opensuse may possibly be an avoidable packaging artifact if someone wants to investigate further.
I don't have upower or whatever laptop-special stuff on devuan installed, ether.
Nik
--Mike ____________________________________________________ tde-devels mailing list -- devels@trinitydesktop.org To unsubscribe send an email to devels-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@trinitydeskt...
J Leslie Turriff wrote:
Is it possible for Trinity to determine if the machine it's being installed into is a desktop or laptop machine? There seems to be an unwarranted assumption (not just by Trinity) that everything is a laptop machine any more.
But I am not sure that this will help solve the problem described by Felix Miata. IMO there should be metapackage laptop and another for desktop which makes things very complicated. The distros like Ubuntu OpenSuSE etc usually install more than you need and one should live with it or customize.