IRC log of #maemo for Wednesday, 2018-04-04

*** dafox has quit IRC00:04
*** Oxyd76 has joined #maemo00:27
*** Oxyd76 has quit IRC00:29
*** Venemo has quit IRC01:05
*** Pali has quit IRC01:19
*** phlixi has quit IRC01:29
*** phlixi has joined #maemo01:31
*** phlixi has quit IRC01:35
*** phlixi has joined #maemo01:35
*** HRH_H_Crab has quit IRC01:44
*** phlixi has quit IRC01:44
*** enyc has quit IRC01:45
*** mquin has quit IRC01:45
*** enyc has joined #maemo01:45
*** florian has quit IRC01:46
*** phlixi has joined #maemo01:47
*** mquin has joined #maemo01:47
*** phlixi has joined #maemo01:48
*** HRH_H_Crab has joined #maemo01:50
*** phlixi has quit IRC01:52
*** phlixi has joined #maemo01:53
*** phlixi has joined #maemo01:59
*** auenf has quit IRC02:00
*** xy2_ has quit IRC02:00
*** auenf has joined #maemo02:00
*** auenf has quit IRC02:03
*** auenfx8 has joined #maemo02:03
*** florian_kc has quit IRC02:07
*** phlixi has quit IRC02:11
*** phlixi has joined #maemo02:11
*** florian has joined #maemo02:15
*** themule has joined #maemo02:16
*** themule has quit IRC02:19
*** Kilroo has joined #maemo02:38
*** jon_y has quit IRC02:42
*** jon_y has joined #maemo02:44
*** Oxyd76 has joined #maemo02:48
*** jon_y_ has joined #maemo02:57
*** jon_y has quit IRC02:57
*** jon_y_ is now known as jon_y02:57
*** pkill9 has quit IRC03:05
*** tm has quit IRC03:17
*** tm has joined #maemo03:19
*** phlixi has quit IRC03:19
*** phlixi has joined #maemo03:20
*** pagurus` has quit IRC05:01
*** Kabouik_ has quit IRC05:31
*** trumee has quit IRC06:00
*** trumee has joined #maemo06:02
*** Oxyd76 has quit IRC06:03
*** Oxyd76 has joined #maemo06:03
*** Vajb has quit IRC06:05
*** DocScrutinizer05 is now known as uptopdownbottom06:46
*** uptopdownbottom is now known as DocScrutinizer0506:47
*** Oxyd76 has quit IRC07:16
*** Oxyd76 has joined #maemo07:19
*** Oxyd76 has quit IRC07:22
*** Oxyd76 has joined #maemo07:24
*** Oxyd76 has quit IRC07:29
*** Oxyd76 has joined #maemo07:34
*** Oxyd76 has joined #maemo07:40
*** Oxyd76 has quit IRC07:43
*** Oxyd76 has joined #maemo07:45
*** spiiroin has quit IRC07:50
*** Vajb has joined #maemo07:58
*** ecloud is now known as ecloud_wfh08:16
*** Kilroo has quit IRC08:21
*** spiiroin has joined #maemo08:21
*** Venemo has joined #maemo08:43
*** deepy- is now known as deepy08:48
*** geaaru has quit IRC09:17
*** FalconSpy has left #maemo09:18
*** FalconSpy has joined #maemo09:18
*** dafox has joined #maemo09:25
*** phlixi has quit IRC09:29
*** phlixi has joined #maemo09:30
*** l_bratch has quit IRC09:34
*** l_bratch has joined #maemo09:34
*** vectis has quit IRC09:45
*** dafox has quit IRC09:49
*** Oxyd76 has joined #maemo10:05
*** rah_ is now known as rah10:08
*** florian_kc has joined #maemo10:12
*** florian_kc has quit IRC10:31
*** Oxyd76 has quit IRC10:40
*** Oxyd76 has joined #maemo10:41
bencohmreow~10:44
bencohany idea how I should check screen state (blank vs on) from an application?10:45
KotCzarny~phone-control10:46
KotCzarny~phonecontrol10:46
infoboti guess phonecontrol is http://wiki.maemo.org/Phone_control10:46
*** Oxyd76 has joined #maemo10:46
KotCzarnyhmm10:46
bencohYeah, but ... 1. not sure that's what I'm looking for 2. I wonder if there is some hildon/osso function to do it10:46
KotCzarnynothing there10:46
KotCzarnynah, it wasnt for you10:46
KotCzarnyjust didnt remember the link10:46
bencoh?10:47
KotCzarnyhttp://wiki.maemo.org/Phone_control#Query_lock_state_of_screen_and_keys10:47
KotCzarnymaybe that?10:47
bencohI don't think so10:47
KotCzarnyWill return locked or unlocked depending on lock state10:47
bencohI want to vibrate even if device is unlocked, as long as screen is blanked10:47
bencoh(after blanking timeout for instance)10:47
bencohI'd happily check Conversation source, but we don't have it :(10:47
bencohhmm ... maybe I can check symbols though10:48
KotCzarnyi think you can check some widget source10:48
KotCzarnyor nokia programming hints10:49
bencohthose pages seem pretty empty to me10:49
KotCzarnythey usually have to stop updating when screen blanked10:49
*** Oxyd76 has quit IRC10:49
bencohU osso_hw_set_display_event_cb in rtcom-messaging-ui10:49
*** geaaru has joined #maemo10:50
KotCzarnyfun, links on http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide use nokia.com10:51
bencohyeah :/10:51
*** Oxyd76 has joined #maemo10:52
MaxdamantusI think you should be able to tell the state by looking at something in the associated sysfs node.10:52
KotCzarnywould be nice to convert them into archive.org links10:52
MaxdamantusThough maybe if you're writing an actual application, it should go through something else.10:52
KotCzarnymaxd: well, he simply wants to know lcd power state10:53
KotCzarnyso sys might be the way10:53
*** Oxyd76 has quit IRC10:53
KotCzarnyas long it's user readable10:53
Maxdamantus/sys/class/backlight/acx*/brightness10:54
bencoheww10:54
Maxdamantusthe lock switch seems to just set that to 010:54
KotCzarnywhy eww? fastest and lightest i guess10:55
MaxdamantusThough I guess theoretically it might be logical for it to set it to 0 anyway (eg, if there's full sunlight, which means the backlight is pointless)10:55
Maxdamantus(though ime, full sunlight means maximum brightness, not minimum)10:55
KotCzarnyoh, right10:56
KotCzarnyhttp://web.archive.org/web/20110622052725/http://nds2.fds-forum.nokia.com/p/d/fds_forum/a3187f95-ad88-4233-b0ef-a182da3ec1c7/Hildon_2_2_Widget_UI_Specification_v1_0_en.pdf/Hildon_2_2_Widget_UI_Specification_v1_0_en.pdf?fdptoken=1308806843_faa0c37acd80f5e2645b6b6625fd02b810:56
bencohoh, neat10:56
*** Oxyd76 has joined #maemo10:57
KotCzarnyit might still work directly too, without archive.org10:57
bencohnothing related to what I'm looking for in this doc though10:59
bencohoriginal link no longer works10:59
*** Oxyd76 has quit IRC11:01
*** Oxyd76 has joined #maemo11:02
bencohinteresting ... rtcom-messaging-ui (conversation) does not even use libnotify ...11:05
bencohworse than that, looks like they implemented some builtin notification mechanism11:06
*** Oxyd76 has quit IRC11:06
*** Oxyd76 has joined #maemo11:07
KotCzarnyhttp://web.archive.org/web/20120126154837/http://nds2.fds-forum.nokia.com/p/d/fds_forum/55bf1016-809c-411d-8384-83361c073452/Maemo_5_Desktop_Widget_UI_Guidelines_v1_1_en.pdf/Maemo_5_Desktop_Widget_UI_Guidelines_v1_1_en.pdf?fdptoken=1327679314_94d31f4121f17468bd5ad741025d64d711:08
KotCzarnydarn, i recall there was some pdf/page that was talking about when to update widget contents11:09
KotCzarnyjust cant seem to find it11:09
*** Oxyd76 has quit IRC11:10
*** Oxyd76 has joined #maemo11:13
*** jskarvad has joined #maemo11:15
*** jskarvad has quit IRC11:15
*** jskarvad has joined #maemo11:15
bencohalright, so ... there is a MCE dbus request for that (#define MCE_DISPLAY_STATUS_GET   "get_display_status")11:48
*** Oxyd76 has quit IRC11:51
*** Oxyd76 has joined #maemo11:53
spiiroinbencoh: get initial state with that "get_display_status" mce method call and then track changes by listening to "display_status_ind" mce signals11:54
*** florian has quit IRC11:58
spiiroinbencoh: should be documented in mce-dev. I have no idea where maemo version is located, but for mer docs should apply for these "shared ancestry" parts: https://git.merproject.org/mer-core/mce-dev/blob/master/include/mce/dbus-names.h#L22211:58
*** Oxyd76 has joined #maemo11:58
*** florian has joined #maemo11:58
*** florian has quit IRC12:01
*** florian has joined #maemo12:01
*** Oxyd76 has joined #maemo12:04
*** Oxyd76 has quit IRC12:05
MaxdamantusHm. I imagine optimally you would know to not bother updating just through X11.12:05
*** Oxyd76 has joined #maemo12:09
*** Oxyd76 has joined #maemo12:10
MaxdamantusVisibilityNotify event, serial 32, synthetic NO, window 0x2c00001, state VisibilityFullyObscured12:12
MaxdamantusWonder if that event appears in response to locking the screen.12:13
MaxdamantusNope.12:14
spiiroiniirc maemo mce just blanks/unblanks the screen via fbdev ioctls - whether xserver can tap to that, ... I do not recall12:14
bencohspiiroin: you're right about fbdev ioctls12:14
spiirointhis is one of the parts that was heavily modified in mer - mce syncs blank/unblank with wayland compositor (in lipstick)12:14
*** Oxyd76 has joined #maemo12:15
bencohat least for the opensource version12:15
*** Oxyd76 has quit IRC12:15
*** Oxyd76 has joined #maemo12:16
spiiroinwell, maemo mce is basically mer mce without few years worth of changes12:16
bencohyeah12:16
MaxdamantusWindows don't even seem to be unmapped when switching to other ones on maemo.12:17
Maxdamantusor notified of any obscuring.12:17
bencohuh, what?12:17
bencohah12:18
bencohMaxdamantus: are you playing with xev?12:18
Maxdamantusso there's no way for a window to know that its contents are completely irrelevant at the moment.12:18
Maxdamantusbencoh: yes.12:18
MaxdamantusI would imagine it should probably either unmap or denote obscurity of the window when switching to another one.12:18
Maxdamantusand then map/unobscure it when the user goes to the window selection UI.12:19
* Maxdamantus wonders what other fancy compositing DEs do.12:21
* Maxdamantus just uses xmonad on his desktops.12:21
bencohalright, so I can either rely on MCE and send a dbus message to query display state before sending every notification, or rely on libosso and register callback to receive device change event (osso_hw_set_event_cb)12:23
bencoh(and hope that system_inactivity_ind really reflects display status as mentioned in documentation)12:23
MaxdamantusYay for use of non-standard APIs where existing protocols already solve problems.12:24
bencohMaxdamantus: do you actually know of any standard API to do this?12:24
Maxdamantusbencoh: X1112:24
Maxdamantusbencoh: but as I said, the WM on Maemo doesn't send any useful events.12:24
bencohhuhu, I wondered about that one, but ... I'd rather not kludge a gtk/hildon codebase12:25
Maxdamantus(or unmap the window, which results in Xorg creating the event)12:25
spiirointhat libosso stuff is probably just wraps mce dbus interface (for display status)12:25
bencohspiiroin: could be. The thing is that the idea of waiting for mce to answer on every chat message doesn't sound too good to me12:28
bencohso registering / caching state on every update might be better12:28
spiiroinbencoh: the normal way to do this is: install "display_status_ind" signal listener, do one "get_display_status" query -> you have initial state and are notified about changes12:29
bencohthis is bothering me, for instance https://bugzilla.redhat.com/show_bug.cgi?id=61731012:29
bencohspiiroin: I see ... thanks :)12:29
spiiroinbencoh: ... and do that query asynchronously while at it ;-)12:30
bencohnow the question is ... can I store display state somewhere in this pidgin-libnoityf plugin12:30
bencohspiiroin: with enough motivation I'd probably rewrite that plugin, but .... meh ;)12:30
*** juiceme_ has joined #maemo13:07
*** florian_kc has joined #maemo13:07
*** FalconSpy_ has joined #maemo13:07
*** DocScrutinizer05 has quit IRC13:09
*** spiiroin has quit IRC13:09
*** ketas- has joined #maemo13:09
*** Mek_ has joined #maemo13:09
*** stryngs_ has joined #maemo13:10
*** Maxdaman1us has joined #maemo13:11
*** Vajb_ has joined #maemo13:11
*** ArGGu^^_ has joined #maemo13:11
*** esaym has joined #maemo13:11
*** zama_ has joined #maemo13:11
*** Gizmokid2010 has joined #maemo13:14
*** pkill9 has joined #maemo13:15
*** florian has quit IRC13:15
*** trumee has quit IRC13:15
*** freemangordon has quit IRC13:15
*** esaym153 has quit IRC13:15
*** Mek has quit IRC13:15
*** ArGGu^^ has quit IRC13:15
*** zama has quit IRC13:15
*** Vajb has quit IRC13:15
*** juiceme has quit IRC13:15
*** Maxdamantus has quit IRC13:15
*** ketas has quit IRC13:15
*** Gizmokid2005 has quit IRC13:15
*** FalconSpy has quit IRC13:15
*** aloril has quit IRC13:15
*** stryngs has quit IRC13:15
*** Gizmokid2010 is now known as Gizmokid200513:16
*** aloril has joined #maemo13:17
*** Maxdaman1us is now known as Maxdamantus13:17
*** zama_ has quit IRC13:20
*** zama_ has joined #maemo13:20
*** zama_ is now known as zama13:20
*** pkill9 has quit IRC13:20
*** freemangordon has joined #maemo13:22
*** spiiroin has joined #maemo13:24
*** Kabouik has joined #maemo13:32
*** Kabouik_ has joined #maemo13:38
*** Kabouik has quit IRC13:38
*** eMHa_ has quit IRC13:51
*** trumee has joined #maemo13:51
*** Venemo has quit IRC14:00
*** auenfx8 has quit IRC14:01
*** auenf has joined #maemo14:03
*** pkill9 has joined #maemo14:06
*** Venemo has joined #maemo14:20
*** Juesto has quit IRC14:24
*** Oxyd76 has joined #maemo14:36
*** Oxyd76 has quit IRC14:41
*** Oxyd76 has joined #maemo14:41
*** Oxyd76 has quit IRC14:43
*** xes has quit IRC14:46
*** Oxyd76 has joined #maemo14:46
*** Oxyd76 has quit IRC14:51
*** eMHa_ has joined #maemo14:53
*** jskarvad has quit IRC14:55
*** Oxyd76 has joined #maemo14:57
*** jskarvad has joined #maemo15:00
*** jskarvad has quit IRC15:00
*** jskarvad has joined #maemo15:00
*** Oxyd76 has quit IRC15:06
*** halftux has joined #maemo15:58
*** pkill9 has quit IRC16:13
*** florian_kc is now known as florian16:14
*** pkill9 has joined #maemo16:15
*** xes has joined #maemo16:20
*** pkill9 has quit IRC16:28
*** eMHa_ has quit IRC16:37
*** Juesto has joined #maemo16:42
*** pkill9 has joined #maemo16:44
*** Kabouik_ has quit IRC16:50
*** Kabouik has joined #maemo16:50
*** xy2_ has joined #maemo16:54
*** DocScrutinizer05 has joined #maemo16:59
*** Oxyd76 has joined #maemo17:23
*** Oxyd76 has quit IRC17:23
*** inz has quit IRC17:24
*** inz has joined #maemo17:24
*** Oxyd76 has joined #maemo17:28
*** Oxyd76 has quit IRC17:32
*** Oxyd76 has joined #maemo17:33
*** DocScrutinizer05 has quit IRC17:35
*** DocScrutinizer05 has joined #maemo17:37
*** Oxyd76 has quit IRC17:37
*** Oxyd76 has joined #maemo17:39
*** Oxyd76 has quit IRC17:39
*** Oxyd76 has joined #maemo17:44
*** Oxyd76 has joined #maemo17:44
*** Oxyd76 has quit IRC17:49
*** eMHa has joined #maemo18:06
*** jskarvad has quit IRC18:22
*** Pali has joined #maemo18:25
*** inz has quit IRC18:28
*** inz has joined #maemo18:29
*** thuttu77 has quit IRC18:35
*** jskarvad has joined #maemo18:36
*** jskarvad has quit IRC18:36
*** jskarvad has joined #maemo18:36
*** thuttu77 has joined #maemo18:40
*** Mek_ is now known as Mek18:41
*** Vajb_ has quit IRC18:47
*** pkill9_ has joined #maemo18:50
*** HRH_H_Crab has quit IRC18:50
*** pkill9 has quit IRC18:50
*** pkill9_ is now known as pkill918:50
*** mquin has quit IRC18:50
*** mquin has joined #maemo18:51
*** florian has quit IRC18:55
*** HRH_H_Crab has joined #maemo19:06
*** Vajb has joined #maemo19:14
*** dafox has joined #maemo19:23
*** eMHa has quit IRC19:29
*** jskarvad has quit IRC19:31
*** trumee has quit IRC19:46
*** florian has joined #maemo19:49
*** trumee has joined #maemo19:52
*** Kabouik has quit IRC19:59
*** dafox has quit IRC20:02
*** eMHa has joined #maemo20:05
*** Pali has quit IRC20:10
*** Oxyd76 has joined #maemo20:20
*** Oxyd76 has quit IRC20:24
*** Kabouik_ has joined #maemo20:25
*** Oxyd76 has joined #maemo20:25
*** xes has quit IRC20:28
*** rumble has joined #maemo20:30
*** xes has joined #maemo20:30
*** grumble has quit IRC20:30
*** rumble is now known as grumble20:30
*** Oxyd76 has joined #maemo20:31
*** Oxyd76 has quit IRC20:32
*** xes has quit IRC20:37
*** xes has joined #maemo20:40
*** ketas- is now known as ketas20:45
*** geaaru has quit IRC21:12
*** halftux has quit IRC21:14
*** pkill9 has quit IRC21:20
*** HRH_H_Crab has quit IRC21:26
*** xes has quit IRC21:27
*** Pali has joined #maemo21:51
*** Pali has quit IRC22:04
*** geaaru has joined #maemo22:11
*** LauRoman|Alt has quit IRC22:16
*** Pali has joined #maemo22:20
*** HRH_H_Crab has joined #maemo22:28
*** LauRoman has joined #maemo22:28
*** Pali has quit IRC22:29
*** geaaru_ has joined #maemo22:36
*** xes has joined #maemo22:37
*** geaaru has quit IRC22:37
*** pkill9 has joined #maemo22:42
*** Oxyd76 has joined #maemo22:52
*** Oxyd76 has quit IRC22:59
*** Oxyd76 has joined #maemo23:02
*** Oxyd76 has quit IRC23:05
*** Oxyd76 has joined #maemo23:07
*** pagurus has joined #maemo23:09
*** Oxyd76 has joined #maemo23:12
*** vectis has joined #maemo23:13
*** Oxyd76 has quit IRC23:20
*** Oxyd76 has joined #maemo23:23
*** Oxyd76 has quit IRC23:24
*** Trizt has quit IRC23:26
*** Trizt has joined #maemo23:26
*** clopez has quit IRC23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!