libera/#maemo-leste/ Thursday, 2023-02-23

freemangordonnorayr: will have a look at the issue07:41
freemangordonthe fuck? gdk3 gdk_keymap_get_entries_for_keycode() fails for GDK_KP_Enter08:21
freemangordonnorayr: issue should be fixed, please upgrade and test when you have a chance09:00
rafael2ksetxkbmap should work as expected09:35
uvos__i wonder if https://www.phoronix.com/news/Linux-Wake-Short-Task-CPU helps with our idle IPI wakeups10:02
uvos__and we can remove the core disableing hack again10:03
norayr>gdk3 gdk_keymap_get_entries_for_keycode() fails for GDK_KP_Enter11:19
norayrwooow11:19
norayrfreemangordon: thaaaank you! will do now.11:19
norayruvos, i am afraid it is intel/amd related.11:21
norayr>a new way to raise the vkb is needed now11:22
norayrmaybe two volume buttons together?11:22
uvos__its for amd and intel cpus, but that dosent mean we dont benefit, we use the same scheduler11:24
uvos__norayr: maybe, would be a bit hacky as the vol applet holds an exclusive grab on those keys in x1111:25
uvos__you would have to have some application outside of x11 implement the shortcut and perform the dbus call11:26
uvos__like mce maybe11:26
uvos__but i dont like this11:26
Wizzupsome gesture lib is probably necessary anyway11:38
Wizzuphttps://github.com/mqudsi/syngesture12:13
uvos__x11 recently got native support for libinput gestures via x extensions12:16
uvos__we def want to use that if gestures is the way12:16
Wizzupok12:22
Wizzupfreemangordon: thank you for looking into this12:33
Wizzupnorayr: is it fixed for you?12:33
Wizzupuvos__: do you have some link to this?12:57
Wizzuphttps://github.com/bulletmark/libinput-gestures ?12:58
norayrWizzup, freemangordon, YAY it is fixed!!!13:12
norayrgesture to minimize the window would be very nice to have. something like swipe in sailfish from the side, or swipe from the bottom like in gnome.13:13
norayrfolks, i can write a small gtk app for d4 torch. but should i do it if it only will work for d4? i can probably write a torch that can detect the device, and can work both on pp and d4.13:14
norayrfreemangordon, thank you so much for fixing this. this was extremely important for devices that do not have real keyboard. and for those who use non-latin layouts with onscreen keyboard.13:17
buZznorayr: ooo plz do13:17
buZzi was considering a pyqt program for it13:17
buZzbut anything, i'll use it a lot :)13:18
buZzusually just ctrl-r i2c13:18
buZz:D13:18
norayryeah, i have bash aliases now, ton for torch on, and toff for torch off, but that's not very useful.13:19
norayrok i'll do that. juts i was wondering what the devs think about having the device specific torch.13:20
norayror maybe there are already some implementations i could just port. but i don't know any.13:21
buZzis the torch on pp also a i2c device?13:27
buZzor is it exposed in /sys/class/leds13:27
norayrfreemangordon: why was dk3 gdk_keymap_get_entries_for_keycode() failing?13:37
freemangordonnorayr: see the commit message14:13
freemangordonhttps://github.com/maemo-leste/hildon-input-method-framework/commit/dd1142e8edb0cf50d10b6180bb2fc38331dbe3fe14:13
sicelopp torch is /sys/class/leds iirc14:23
sicelonorayr: if you do write that application, would you be interested to also cater for N900? the i2c stuff is almost similar. i documented both d4 and n900 torch commands in wiki14:24
sixwheeledbeastis the lanterne n900 app any use as a base?14:27
arno11yad (zenity fork) should do the trick to control torchlight with buttons14:40
arno11i already use it for cpu governors alsamixer brightness and other stuff14:40
arno11it works well to create gui with buttons or cursors14:41
arno11able to use dbus-send scripts with it14:41
arno11it only needs only few lines of bash to create usable gui14:43
siceloyes @yad. i wanted to make an fm transmitter gui using it ... (but as usual, time ...)14:56
sicelobecause fmtx is n900-specific for now, so probably not worth spending time writing a 'proper' gui for it14:57
arno11indeed14:57
uvos__please dont poke chip registers via i2c from userspace15:47
uvos__the chip in mapphones has a driver anyhow15:48
uvos__it just needs to be enabled, idealy exposed via v4l but i gues we can have it as a regular led driver at first15:48
uvos__Wizzup: https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/1815:55
uvos__https://wayland.freedesktop.org/libinput/doc/latest/gestures.html15:55
uvos__essentaly we would have h-d register for a swipe gesture on the root window15:56
uvos__and then kick the shortcut code when it happens15:56
uvos__ofc we have to check of xinput 2.4 support first15:56
freemangordonuvos__: I think we should not bother h-d for that, better have another daemon that does it16:14
freemangordonsystemui plugin?16:15
uvos__freemangordon: maybe, i gues its architecutally akward to have h-d manage global shortcuts but not global gestures16:19
uvos__since h-d has the code to perform these actions in itself, this code would have to be duplicated to make it be elswere16:19
uvos__moveing the shortcuts away from hd is also a bad idea since (ok this is maybe unrealisitc) if we port h-d to become a wayland wm, in wayland h-d is then the only entitiy that can implement global shortcuts or gestures, due to the design of wayland16:20
WizzupI think it would make sense for h-d to do it, since it also knows about the window atoms16:27
Wizzupand it knows about the full screen state, etc16:27
uvos__btw16:28
uvos__i upgraded to chimaera16:28
Wizzupfreemangordon: I will have most of this weekend for elogind porting btw, do you have some time too?16:28
uvos__and status menu volume is broken16:28
Wizzupuvos__: d4?16:28
uvos__yes16:28
Wizzuphmmm let me check16:28
uvos__on the one where i installed chimaera directly (No upgrade) it works16:28
uvos__btw qtwebbrowser dose not work in portrait on d416:29
uvos__imo we should remove the flag16:29
uvos__the url bar is broken when the keyboard is raised16:29
uvos__and the settings pannel is broken16:29
uvos__i gues it works on wider displays - this shows a futher defficany with the portrait flag, it dosent care about what the horizontal res is in portrait. the xwmh aspect ratio limits and min horizontal resolution hints are mutch better in this regard16:30
uvos__as they allow h-d to know if the window will render correctly at a given aspect ratio and resolution16:31
uvos__we should really just use those and ditch the nokia atoms16:31
Wizzupit works for me in portrait mode16:32
Wizzuplet me see if I see what you're seeing16:32
uvos__i mean it works in portrait if you horizontal resoluton in portrait is at least 64016:33
uvos__this is pretty usual behavior for desktop apps16:33
uvos__and a problem, because the nokia atoms have no way of telling h-d this, as opposed to ewmh16:34
freemangordonhmm, yeah, right (gestures)16:35
freemangordonWizzup: will be MIA during the weekend, sorry16:35
freemangordonnext week16:35
Wizzupok16:42
WizzupI will look at non-elogind things first then16:42
Wizzupbut it's def. the last chimaera blocker16:42
Wizzupuvos__: not opposed, but a lot of work for not too much gain atm I think16:42
uvos__ok16:43
uvos__but im going to update qtwebbrowser to the qt 5.18 version16:43
uvos__and drop this commit16:43
Wizzupif you drop it you will break it for pinephone16:43
uvos__unless you have a better idea16:43
Wizzupmaybe detect res and set it only in some cases16:44
Wizzupwould be nice not to break pinephone16:44
Wizzupsince it's so much more usable in portrait mode there16:44
uvos__i mean break is a strong word16:44
uvos__or?16:44
uvos__it wont go portrait16:44
Wizzupright16:44
Wizzupmeaning it will require sw blits for all rendering16:44
Wizzupas opposed to being fast :)16:44
uvos__oh right16:44
uvos__ok16:44
uvos__hmm16:45
WizzupI use it mostly in landscape on my d4 atm, but I didn't notice the url bar being broken16:47
uvos__imo the settings pannel is even worse16:48
uvos__the url bar you can at least use blind16:48
uvos__in portrait16:48
Wizzupdo you mean that you don't see what you type?16:48
Wizzupok, settings doesn't show the circles fully16:48
uvos__at all16:48
uvos__they are elipses byw :P16:48
Wizzup:D16:48
norayrso after last update the email client (forgot how maemo client is called) started actually to check and get notifications for emails.18:26
norayrand i see the notification on desktop, on a live wallpaper screen.18:27
Wizzupyep18:42
Kevanhello all19:08
uvoshildon-status-menu cant be debugged21:30
uvosit runs ok with just maemo-summoner hildon-status-menu.launch21:30
uvosbut with gdb attached it crashes with SIGILL in libcrypto21:30
uvosoh and 74e263f9a9a0c6a0911e927f9ee409dfde4a2bc6 dosent build at all21:36
uvosnothing gtk dose21:36
uvos /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations]21:37
freemangordonuvos: just continue on sigill22:33
freemangordonit is issue in lybcrypto, it tries to runtime-detect processor caps22:33
freemangordon*libcrypto22:33
Wizzupyup, that's openssl22:34

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!