IRC log for #maemo on 20161202

04:11.17*** join/#maemo infobot (ibot@rikers.org)
04:11.17*** topic/#maemo is Welcome to #maemo http://maemo.org/intro/ | N9/harmattan related questions please in #harmattan ! | "firmware" see ~tabletsdev ~combined ~emmc ~flasher sdk: ~sb | http://wiki.maemo.org/Community_Council | Source: http://wiki.maemo.org/Sources | Chanlog: http://mg.pov.lt/maemo-irclog | #maemo-ssu is where the (few) devels and maintainers of the maemo-future meet
04:11.22DocScrutinizer05try dbus by using the dbus commands to mce in ~phonecontrol
04:11.25DocScrutinizer05~phonecontrol
04:11.26infobotrumour has it, phonecontrol is http://wiki.maemo.org/Phone_control
04:11.40Vajbsh stop not found, eh
04:12.15DocScrutinizer05root
04:12.24Vajbah right...
04:12.25DocScrutinizer05dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_activate string:"PatternCommunicationIM"
04:12.49DocScrutinizer05dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_deactivate string:"PatternCommunicationIM
04:13.26DocScrutinizer05even better:  dbus-send --system --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_start_manual_vibration int32:255 int32:1000
04:13.39Vajbthat stop/start mce did the trick
04:13.50DocScrutinizer05k, happy it works
04:14.02Vajbscreen backlight died as with opera hang
04:14.31DocScrutinizer05normal
04:14.32Vajband i had to input security code which was the case after opera too, but i forgot it.
04:14.40DocScrutinizer05comes back on lock&unlock
04:15.06Vajbbut it works now, thx
04:16.40DocScrutinizer05for some reason mce got upset in a starnge way
04:17.16DocScrutinizer05it was _nod_ dead, since when it's dead no screen rotation at all
04:17.22DocScrutinizer05not*
04:17.56DocScrutinizer05seems something did nasty stuff to mce
04:19.15DocScrutinizer05oooh, "... with many tries..." might be dbus storm
04:19.38DocScrutinizer05htop is your friend
04:19.47DocScrutinizer05or top
04:21.05DocScrutinizer05also syslog
04:21.36Vajbi tried top but nothing seemed odd
04:22.23Vajbbut yeah somehow opera got mce to crash or stop because i had to input lockcode there too as i did now
04:22.36DocScrutinizer05ooh
04:22.42DocScrutinizer05yeah that explains it
04:23.04Vajbopera is versio 11.50.14
04:23.33DocScrutinizer05opera well might try nasty weird stuff to handle orientation and backlight and keyboard in a way not compatible with mce
04:25.39DocScrutinizer05never heard anything like that, but opera does a lot of stuff in 'its own way'
04:25.58Vajbyup i've noticed
04:26.17Vajbi have two pages whichs give me instant reboot
04:26.26DocScrutinizer05wow
04:26.43Vajbboth of them r weater services
04:26.52DocScrutinizer05weird
04:26.54Vajbilmatieteenlaitos and foreca
04:27.02Vajbweather even
04:27.27Vajbdunno what they do or ask opera to do but result is always reboot
04:27.31DocScrutinizer05I could see how they make opera go south, but *boot*? :-o
04:27.47DocScrutinizer05that's nasty
04:29.05KotCzarnyo.O
04:32.21*** join/#maemo povbot (~supybot@office.pov.lt)
04:33.08DocScrutinizer05aah wait, when mce restarts too often, device will reboot indeed
04:33.26DocScrutinizer05too often iirc = 3 times in one minute
04:35.01Vajbok so maybe that is the reason then? Opera mess with mce. Mce upsets and runs away thus device reboots.
04:36.06DocScrutinizer05IroN900:~# /sbin/mce --version
04:36.07DocScrutinizer05mce v1.8.127
04:36.09DocScrutinizer05Written by David Weinehall.
04:36.10DocScrutinizer05Copyright (C) 2004-2009 Nokia Corporation.  All rights reserved.
04:36.12DocScrutinizer05Segmentation fault (core dumped)
04:36.43DocScrutinizer05IroN900:~# ls -l /sbin/mce; md5sum /sbin/mce
04:36.45DocScrutinizer05-rwxr-xr-x 1 root root 81160 2015-04-05 16:56 /sbin/mce
04:36.46DocScrutinizer051edd10407336c736c0466bbcfe2084c9  /sbin/mce
04:37.27Vajbi have same  version
04:39.39Vajband same md5sum
04:39.53DocScrutinizer05IroN900:~# ps aux|grep mce|grep -v grep
04:39.54DocScrutinizer05root       819  0.0  0.9   6232  2284 ?        S<s  Oct18   1:29 /sbin/mce --force-syslog
04:40.55DocScrutinizer05IroN900:~# ps aux|grep /sbin/syslog|grep -v grep
04:40.57DocScrutinizer05root       716  0.0  0.2   1620   548 ?        Ss   Oct18   0:24 /sbin/syslogd -n
04:42.15DocScrutinizer05and yes, Oct 18 is what you think :-)
04:42.23DocScrutinizer05IroN900:~# uptime
04:42.24DocScrutinizer05<PROTECTED>
04:47.17DocScrutinizer05grep mce /var/log/syslog|less
04:47.21DocScrutinizer05>
04:48.32DocScrutinizer05there's also a problem with syslog and 44 days uptime ;-)
04:48.35DocScrutinizer05IroN900:~# ls -l /var/log/syslog
04:48.36DocScrutinizer05-rw-r--r-- 1 root root 12473253 2016-12-02 05:38 /var/log/syslog
04:49.42DocScrutinizer05IroN900:~# df -h /var/log/syslog
04:49.43DocScrutinizer05Dateisystem           Size  Used Avail Use% Eingehängt auf
04:49.45DocScrutinizer05ubi0:rootfs           228M  187M   37M  84% /
04:51.41Vajbi have 27 days of uptime, but can't recall this kind of problem even when i had 70 days uptime
04:54.33Vajbif only there were sane alternative for opera, but main reason i like opera is that it is very fast to start
04:55.02Vajbdidn't like fennec nor qml bowser because of slow start
05:02.56DocScrutinizer05http://termbin.com/r4fx
05:04.26DocScrutinizer05hmm, if opera is "fast startup" then they must be cheating with preload
05:20.01Vajbno idea, but difference is huge
05:20.57Vajbalso i don't like default browser spawning that "prescreen" first and real page in new window
05:21.28DocScrutinizer05hmm yeah
05:21.53DocScrutinizer05and indeed opera starts fast, without preload trick
05:22.17DocScrutinizer05foreca.de didn't ever finish to load but didn't crash stuff for me
05:57.59*** join/#maemo DocScrutinizer05 (~saturn@openmoko/engineers/joerg)
06:08.46*** join/#maemo DocScrutinizer05 (~saturn@openmoko/engineers/joerg)
06:14.58Vajb.fi does for me and almost instantly
06:15.16KotCzarnymaybe its too cold out there
06:15.18Vajband before u ask. No me device is not overclocked ;)
06:15.43VajbKotCzarny: should't be. Just -3 now
06:15.49KotCzarny:)
06:15.53Vajbhmm +n
06:16.10KotCzarnydevice is getting old, you know, old people get cold easier
06:16.48Vajbbut i have easy solution. Just add those crash sites to hosts file to prevent them loading in the first place :)
06:17.18*** join/#maemo spiiroin (~spiiroin@2001:998:2a:dead:4d92:9f64:c28b:b624)
06:18.12Vajbhmm old? It is just starting school. Or are thos dog years?
06:18.23Vajbthose*
06:18.24KotCzarnyyes, phoneyears
06:18.40Vajbmy typing with work gloves could use some practise...
06:18.43KotCzarnyimo its just like human years *10 or *15
06:19.32Vajbyeah i guess
06:19.58Vajbwhat is fastest device now? Like 2.2ghz or something?
06:20.17KotCzarnyx86 ones?
06:20.25Vajbso if we count from there it is about 4, ah but 4 cores
06:21.00Vajbwell what ever they use in androids
06:23.08TheKit2.8-3.0 GHz
06:35.12Vajbhmm that oddness is back without anything unusuall. Rotating is not locked nevertheless of kbrd being out or not.
06:37.01KotCzarnywhat oddness?
06:47.41*** join/#maemo troulouliou_div2 (~troulouli@unaffiliated/troulouliou-div2/x-0271439)
06:56.53Vajbthat screen is not locked to widescreen and that vkbrd pops up even if hwkbrd is open
06:58.09KotCzarnyno new apps installed recently?
07:01.10Vajbnope
07:01.21KotCzarnyreboot didnt help?
07:01.37Vajbdidn't reboot :)
07:01.46Vajbi wanted to solve without
07:01.52KotCzarnyuhum
07:02.00Vajbmce stop/start helped momentarily
07:02.00KotCzarnylatest cssu?
07:02.12Vajbup testing flavour
07:03.12KotCzarnyrun dbus monitor and log what happens after mce restart? (using tee maybe)
07:03.38KotCzarnyits noisy, so you might try to ctrl-c just after noticing problem came back
07:04.13Vajbi was thinking of trying to disable vkbrd and re-enable to see if it does something
07:06.15Vajbi'll try dbus monitoring after i get home. I think my boss values me working for him more than me debugging my phone :)
07:06.24KotCzarny;)
07:06.38*** join/#maemo Milhouse (~Milhouse@kodi/staff/milhouse)
07:21.01Vajbbtw is mce only thing responsible for device orientation lock?
07:28.21*** join/#maemo eMHa_ (~mh@p54B0F4DF.dip0.t-ipconnect.de)
07:47.59*** join/#maemo Milhouse (~Milhouse@kodi/staff/milhouse)
08:24.52*** join/#maemo florian (~fuchs@Maemo/community/contributor/florian)
08:44.31*** join/#maemo geaaru (~geaaru@host170-152-static.43-88-b.business.telecomitalia.it)
09:19.49DocScrutinizer05Vajb: no, I think hildon desktop is also involved
09:21.22DocScrutinizer05dbus-monitor is a good idea
09:21.29DocScrutinizer05to a logfile
09:21.53DocScrutinizer05prolly both system- and session-bus
09:22.02DocScrutinizer05and get syslog!
09:22.27DocScrutinizer05apt-cache search syslog
09:36.50*** join/#maemo cyphase (~cyphase@unaffiliated/cyphase)
09:37.10*** join/#maemo jskarvad (jskarvad@nat/redhat/x-wmlgljunmtgymhtl)
09:37.10*** join/#maemo jskarvad (jskarvad@redhat/jskarvad)
09:37.48*** join/#maemo eMHa__ (~mh@p200300738E422300267703FFFE6CC360.dip0.t-ipconnect.de)
09:39.26*** join/#maemo wnd (~wnd@katei.fi)
09:50.18*** join/#maemo ketas (~ketas@200-62-46-176.dyn.estpak.ee)
10:01.32DocScrutinizer05Vajb: also check your slide magnet
10:06.37VajbDocScrutinizer05: but i it was mechanical failure then device wouldn't unlock when i slide kbrd open, right?
10:06.44Vajbbut if*
10:48.01*** join/#maemo Ex-Opesa (~Ex-Opesa@unaffiliated/ex-opesa)
10:58.11DocScrutinizer05Vajb: right
10:58.32DocScrutinizer05also in syslog you wouldn't see a kernel logline for the switch
11:00.35DocScrutinizer05Dec  2 06:17:28 IroN900 kernel: [34586.738189] slide (GPIO 71) is now open
11:00.36DocScrutinizer05Dec  2 06:20:15 IroN900 kernel: [34753.980438] slide (GPIO 71) is now closed
11:02.44Vajbok, but my device unlocks when i slide it open. So dbus remains to be logged. I'll do that when i get home. Is there nifty command do dumb that log to file? I use mdbus2 -l
11:03.09KotCzarnyyou can use  | tee /some/path/file.txt
11:03.16KotCzarnyso it will log to file and to screen
11:06.22DocScrutinizer05I'd start with installing syslog
11:07.06DocScrutinizer05mickey's dbus? niiiice :-D
11:10.27DocScrutinizer05I don't get "nifty command". what's wrong with redirection?
11:11.55DocScrutinizer05mickey lauer wrote mdbus for openmoko :-)
11:12.05DocScrutinizer05or rather for fso
11:15.48DocScrutinizer05mdbus -l >>/home/user/sessiondbus.log&; mdbus -l -s >>/home/user/systemdbus.log
11:16.51DocScrutinizer05ooh, and: jobs; kill %; kill %1; kill %23
11:17.05DocScrutinizer05dang
11:17.13DocScrutinizer05kill %%
11:17.42DocScrutinizer05%
11:17.49DocScrutinizer05%%
11:17.52DocScrutinizer05%%
11:17.58DocScrutinizer05tzz
11:18.10DocScrutinizer051, 2, 3, 4 % ^^^
11:19.15DocScrutinizer05kill %% kills the most recent job
11:19.46*** join/#maemo Pali (~pali@Maemo/community/contributor/Pali)
11:20.47*** join/#maemo joga (~joga@unaffiliated/joga)
11:30.01Vajbhmm u lost me with those kills
11:30.24KotCzarnydisregard, just redirect with pipe to tee
11:31.00Vajbdo we have it in maemo terminal?
11:31.15KotCzarnycheck?
11:31.29KotCzarnyyup
11:31.33Vajbwell will do in a bit :)
11:33.15Vajbok noticed yet another symptom. Special character sreen is no longer popping up
11:34.10Vajbmeh i'll just copypaste that pipe
11:36.20Vajbok mdbus2 is running. Now i'll just wait for the problem to appear
11:36.30Vajbi could bet it wont appear anymore
11:38.36Vajbok it appears like few minutes after restarting mce and mdbus2 file was empty
11:38.51KotCzarnyadd 2>&1
11:38.56KotCzarnybefore pipe
11:39.14KotCzarnymight be it spits out to stderr
11:41.12*** join/#maemo clopez (~tau@neutrino.es)
11:42.21DocScrutinizer05Vajb: of course, kill is a shell builtin
11:42.46DocScrutinizer05kill % kills jobs you sent to background with appending &
11:43.27Vajbyes i know kill command, but i didn't see how it was connected to this :)
11:43.32DocScrutinizer05kill %1 kills job #1 etc, kill %% kills the last job you started
11:45.35DocScrutinizer05stange that logfile is empty, did you monotor both buses?
11:46.07DocScrutinizer05also check df -h
11:46.41Vajbim trying that 2 to 1 command that KotCzarny cave now
11:46.52DocScrutinizer05sorry
11:46.55DocScrutinizer05no idea
11:48.22DocScrutinizer05mdbus -l can't be empty:
11:48.25Vajb<PROTECTED>
11:48.26DocScrutinizer05IroN900:~# mdbus2 -l
11:48.27DocScrutinizer05[SIGNAL] org.freedesktop.DBus.NameAcquired  /org/freedesktop/DBus  org.freedesktop.DBus
11:48.29DocScrutinizer05( ":1.453" )
11:49.03Vajbthats what i try now. Earlier i tried without 2 et 1
11:49.59DocScrutinizer05^Z; bg; cat /media/mmc1/file.txt
11:51.12DocScrutinizer05echo testTESTtest >/media/mmc1/testfile.txt; ls -l /media/mmc1/testfile.txt; cat /media/mmc1/testfile.txt; df -h /media/mmc1/testfile.txt
11:52.33DocScrutinizer05and finally get an idea of what's in syslog, or at least dmesg!
11:54.03DocScrutinizer052>&1 does nuttin:
11:54.06DocScrutinizer05IroN900:~# mdbus2 -l >/dev/null
11:54.07DocScrutinizer05^C
11:54.09DocScrutinizer05IroN900:~# mdbus2 -l 2>/dev/null
11:54.10DocScrutinizer05[SIGNAL] org.freedesktop.DBus.NameAcquired  /org/freedesktop/DBus  org.freedesktop.DBus
11:54.12DocScrutinizer05( ":1.455" )
11:54.13DocScrutinizer05^C
11:55.59DocScrutinizer05quite possibly your uSD is borked
11:58.07Vajbhmm mdbus2 -l 2>&1  | tee /media/mmc1/file.txt segfaulted. Lets see if it did anything for the file
11:58.12DocScrutinizer05honestly, check your syslog and check `ls -l /media/mmc1/`
11:58.25DocScrutinizer05LOL
12:00.54DocScrutinizer05I only see that segfaulting when either dbus (pipe) is fubar, or the logfile filesystem is fubar
12:01.48DocScrutinizer05why don't you log to eMMC (/home/user/)?
12:02.05DocScrutinizer05df -h !!
12:03.23Vajbwell anyways file was empty :D
12:03.42DocScrutinizer05http://paste.opensuse.org/30431797
12:03.48Vajbbut now i did just mdbus2 -l and copied that. Pastebin coming up
12:03.54KotCzarnymaybe your problems arise from out of space somewhere?
12:04.00KotCzarnypastebin your df
12:04.01KotCzarny:)
12:04.57DocScrutinizer05I told you the file cannot be empty since mdbus *always* logs own signal
12:06.40Vajbpastebin.com/raw/k4U4ASfM
12:06.56DocScrutinizer05also you should probably run mdbus as user "user" since it's logging session bus and I'm not all sure root's session is same as user's
12:07.11Vajbthat is mdbus2 -l running while i restart mce and open hamsterfiler and problem reappears
12:07.25Vajbi was running it as user
12:07.58Vajbgetting to syslog bit now
12:08.22DocScrutinizer05your uSD is FUBAR
12:08.51VajbKotCzarny: df told me that im using 71 percent of rootfs and that is top. mmc1 is used 70 percent
12:09.07VajbDocScrutinizer05: i have no idea what that sentence means
12:09.19KotCzarnycopy some file to /media/mmc1 ?
12:09.25DocScrutinizer05remove your micro-SD card
12:09.29KotCzarnyjust to check if it succeeds
12:09.54Vajbok
12:09.59DocScrutinizer05or first do what I suggested: [2016-12-02 Fri 12:51:12] <DocScrutinizer05> echo testTESTtest >/media/mmc1/testfile.txt; ls -l /media/mmc1/testfile.txt; cat /media/mmc1/testfile.txt; df -h /media/mmc1/testfile.txt
12:10.50Vajbworks
12:10.54DocScrutinizer05I guess your uSD is broken
12:11.03DocScrutinizer05o.O
12:11.49DocScrutinizer05works as in: shows a length of 12 bytes for /media/mmc1/testfile.txt and cat reüproduces "testTESTtest"?
12:13.40DocScrutinizer05I hope you have not messed up your system with thumb binaries?
12:14.22Vajb$
12:14.23Vajb~ $ echo testTESTtest >/media/mmc1/testfile.txt              
12:14.23Vajb~ $ cat /media/mmc1/testfile.txt
12:14.23VajbtestTESTtest
12:14.44Vajbi don't have thumb installed in this device
12:15.49DocScrutinizer05wow, so how can `mdbus2 -l >/media/mmc1/testfile.txt` fail?
12:16.05DocScrutinizer05I asked about binaries
12:16.29DocScrutinizer05those could sneak in when you got thumb repo in your catalogs
12:16.43Vajbok let me check my catalogs
12:18.04Vajbhmm it seems i have thumb repo, but it is not used
12:18.09DocScrutinizer05haha
12:18.20DocScrutinizer05reflash!
12:19.01DocScrutinizer05if you feel ultrafancy, you can try to find the thumb binaries that sneaked in
12:19.15DocScrutinizer05there's no clean way to identify them
12:20.12DocScrutinizer05and the fun part is that a thumb binary makes *other* non-thumb processes segfault
12:21.34xes:) http://www.abc.net.au/news/2016-12-02/gooligan-growing-security-hack-hits-android-users-worldwide/8087570
12:22.55DocScrutinizer05lol
12:23.08DocScrutinizer05but that's not exactly something new, is it?
12:23.30DocScrutinizer05prolly just hyped in context of Avalanche takedown
12:24.29xesso far it wasn't so well organized so they never reached such numbers
12:25.09DocScrutinizer05I changed my ER-Pro8 logging to log *all* sessions on NAT. Dang, that android device calls home often :-/
12:26.15DocScrutinizer05I prolly should disconnect it
12:26.25DocScrutinizer05or simply shut it off
12:34.12*** join/#maemo BitEvil (~quassel@tor/regular/SpeedEvil)
12:48.05DocScrutinizer05Vajb: of course you also could _try_ this: install a thumb-patched kernel
12:48.36DocScrutinizer05but that's only for experts, in my book
13:01.17*** join/#maemo spiiroin (~spiiroin@87-93-13-164.bb.dnainternet.fi)
13:12.17*** join/#maemo geaaru (~geaaru@host170-152-static.43-88-b.business.telecomitalia.it)
13:30.09*** part/#maemo misv (~ms@vps.honeypot.se)
13:42.05*** join/#maemo Milhouse (~Milhouse@kodi/staff/milhouse)
13:44.28VajbDocScrutinizer05: i think i'll pass thumb kernel :)
13:44.50Vajbinstalled syslogd and am collecting data there
13:44.57KotCzarnywhy? powerkernel is thumb enabled
13:45.13Vajbi have power kernel
13:53.15Vajbi also installed htop. Few items r in hours, but they r the same as in top. Like xorg and pulse
13:53.23Vajbalso messagebus
14:02.19*** join/#maemo geaaru (~geaaru@host249-228-dynamic.31-79-r.retail.telecomitalia.it)
14:19.27*** join/#maemo Milhouse (~Milhouse@kodi/staff/milhouse)
14:27.33*** join/#maemo troulouliou_div2 (~troulouli@unaffiliated/troulouliou-div2/x-0271439)
14:27.38*** join/#maemo trumee (~trumee@c-73-155-87-64.hsd1.tx.comcast.net)
14:29.21VajbDec  2 15:55:11 Nokia-N900 mce[7270]: Cannot open `/sys/devices/platform/gpio-switch/cam_focus/disable' for writing; Permission denied
14:29.43KotCzarnythat doesnt matter i guess
14:29.56KotCzarnyits a media player blocking system from fiddling with focus button
14:30.18KotCzarnyso you can use focus button even with screen locked
14:30.49Vajbyes i thought they r related
14:31.07Vajbthat was only mce related entry on syslog in two hours
14:32.13Vajbalso there r lots of glib-critical msgs
14:32.33*** join/#maemo geaaru (~geaaru@host170-152-static.43-88-b.business.telecomitalia.it)
14:32.57Vajbalso slide open and closed r present so i guess that definitely rules out slider magner
14:33.09Vajbmagnet
14:41.30Vajbtimeshop[7310]: GLIB DEBUG mafw-dbus - send: [method] com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer/com/nokia/mafw/renderer/gstrenderer: com.nokia.mafw.renderer.stop()
14:45.06*** join/#maemo ced117_ (~ced117@AStrasbourg-552-1-48-210.w90-26.abo.wanadoo.fr)
14:57.36vectis3Is there a way that I can get a micro sd card reader to work directly in the usb port on an N8*0? It doesn't draw much power but the device has MaxPower set at 200mA.
14:57.57KotCzarnyjust buy bigger sd card
14:58.16KotCzarnyn800 has 2 full size slots
14:58.28vectis3I have n810
14:58.30KotCzarnyif you put big sd card in internal one, you have second free to use
14:58.34KotCzarnyi pity you :P
14:58.41vectis3why?
14:58.47KotCzarny2 full size slots baby
14:59.02vectis3200gb card in device
14:59.14KotCzarny2x200gb cards in device? ;)
14:59.30vectis3n810 has only 1 slot
14:59.34KotCzarnyi know
14:59.47vectis3I have a hub that has MaxPower set at 100mA and I can plug the card reader into that and It works without any issues (without adding any additional power to the hub)
15:00.04KotCzarnydoes n8x0 support host mode?
15:00.08KotCzarnyreliably?
15:00.27KotCzarnylast time i have tried it, i was getting device reboots
15:00.29vectis3I believe so
15:01.03vectis3I've tried: "echo -n 1 > /sys/bus/usb/devices/1-1/bConfigurationValue" once and somehow got it to work, but now I can't reproduce it.
15:05.39vectis3Is MaxPower set in the kernel?
15:19.05*** join/#maemo xes (~xes@unaffiliated/xes)
15:21.35*** join/#maemo flo_lap (~fuchs@Maemo/community/contributor/florian)
15:24.02*** join/#maemo trumee (~trumee@c-73-155-87-64.hsd1.tx.comcast.net)
15:32.19*** join/#maemo drrrz (~drrrrz@162.216.46.39)
15:55.47*** join/#maemo trumee (~trumee@c-73-155-87-64.hsd1.tx.comcast.net)
16:00.28*** join/#maemo MoeIcenowy (~So@138.68.61.217)
16:00.32freemangordonhi!
16:00.47MoeIcenowyhi ;-)
16:00.48KotCzarny:)
16:00.54freemangordonso, clone h-d from https://github.com/android-808/hildon-desktop/tree/clutter_1x
16:01.13KotCzarnyand make notes for futre h-d'ers ;)
16:01.21freemangordonthen start pulling the dependencies from https://github.com/fremantle-gtk3?utf8=%E2%9C%93&q=osso-sys&type=&language=
16:01.24freemangordonoops
16:01.39freemangordonfrom here https://github.com/fremantle-gtk3
16:02.14freemangordonyoul'' need to pull libhildon3, libmatchbox2 and libhildon from https://github.com/android-808?tab=repositories
16:02.37MoeIcenowyI built a hildon-desktop on my PC several hours ago...
16:02.55MoeIcenowybut when I run it, it gives me a black screen with a pink left-top button
16:02.55freemangordonnot libhildon, but libhildondesktop3
16:03.00freemangordonaah
16:03.10MoeIcenowymaybe lack of a theme?
16:03.14freemangordonMoeIcenowy: this is expected, a kind of
16:03.18freemangordonyes, lack of theme
16:03.21freemangordon~repos
16:03.21infobotfrom memory, repos is "deb http://maemo.muarf.org/apt-mirror/mirror/downloads.maemo.nokia.com/fremantle/ssu/apps/ ./ ;; deb http://maemo.muarf.org/apt-mirror/mirror/downloads.maemo.nokia.com/fremantle/ssu/mr0/ ./", or see http://wiki.maemo.org/Repository#List_of_Maemo_repositories, or see ~jrrepos
16:03.26freemangordonhmm
16:03.30freemangordonjust a sec
16:03.33MoeIcenowyshould I check out the theme from my N900?
16:04.06freemangordonMoeIcenowy: http://repository.maemo.org/pool/fremantle/nokia-binaries/4bc37c7c77ebe90177c050b805a8dc79/nokia-binaries/h/hildon-theme-alpha/
16:04.17MoeIcenowynokia-binary...
16:04.20freemangordonthis is the theme, you have to install it with --force-all
16:04.46MoeIcenowyI will try to extract and copy it, as my distro is not debian-based
16:05.03freemangordonMoeIcenowy: also, you need to create 2 symlinks
16:05.25MoeIcenowyalpha -> /usr/share/theme/default ?
16:05.41freemangordon/usr/share/themes/default -> alpha
16:06.09freemangordonand /etc/hildon/theme -> /usr/share/themes/default
16:07.08freemangordonMoeIcenowy: keep in mind that this h-d "fork" is broken in several axpects
16:07.15freemangordon*aspects
16:07.18MoeIcenowy?
16:07.42freemangordontask navigator is broken, there is some problem with application focus, etc
16:08.54MoeIcenowyhow to get the wallpaper?
16:09.00freemangordonthat is why we started porting to gkt3 from scratch a couple of days ago, see the thread from http://talk.maemo.org/showpost.php?p=1519591&postcount=69
16:09.08MoeIcenowyI saw it try to read /home/icenowy/.backgrounds/background-*.pvr
16:09.10freemangordoncopy backgrounds folder from your n900
16:09.18MoeIcenowyah-oh
16:09.21freemangordonit actually wants pngs
16:09.31freemangordonit is in /home/user/
16:10.16MoeIcenowyit them different pages' wallpaper?
16:10.40freemangordonhmm?
16:10.45freemangordoncan't parse
16:10.59MoeIcenowymaybe I should say "different view"
16:11.16freemangordonsorry, stil can;t get the question
16:12.12freemangordonbut, just copy .backgrounds folder from your n900 to the home directory of the user you run h-d as
16:13.20MoeIcenowythx, saw it ;-)
16:14.38KotCzarnyshe asks if it will be those multi page wallpapers, scrollable
16:14.46freemangordonaah
16:14.53freemangordonyes, there should be
16:15.10MoeIcenowyok got how the wallpaper works
16:16.44MoeIcenowyand will you make h-d a desktop environment that suits every distro? ;-)
16:17.22freemangordonthis is what we try to do, though it is a distro by itself I guess
16:17.52freemangordonh-d is not exactly a desktop pc environment :)
16:17.58MoeIcenowyI want to pack it up for my distro ;-(
16:18.03MoeIcenowys/ ;-(/ ;-)
16:18.15freemangordonwell, it is debian based
16:19.00freemangordonbut once we have it fully working on de**an, I don;t see why it couldn;t be ported to other distrox
16:19.07freemangordon*distros
16:19.16MoeIcenowyde**an? you care also devuan?
16:19.32freemangordonMoeIcenowy: all my tests so far are on devuan ;)
16:19.45MoeIcenowyoh
16:19.57freemangordonand btw you can build devuan image for n900
16:20.21freemangordonsee https://github.com/dyne/arm-sdk
16:21.11MoeIcenowyhow do h-d acquire the applications list?
16:21.30freemangordonMoeIcenowy: /usr/share/applications/hildon iirc
16:21.33MoeIcenowyon my testing environment it has only a tana_ap_user_guide
16:21.39MoeIcenowyoh it needs a subdir...
16:21.39freemangordonyeah
16:21.49freemangordonnot 100% sure though
16:22.10freemangordonbut you can always export DISPLAY and start whatever you want from the shell
16:22.31KotCzarnyfreemangordon: cant it suck the window names from DE ?
16:22.57freemangordonKotCzarny: from DE? it *IS* DE
16:23.02KotCzarny:)
16:23.05KotCzarnyyeah
16:23.22KotCzarnyi meant from the DE standard way of acquiring window/app list
16:23.40freemangordonMoeIcenowy: do you use Zephyr to run h-d on?
16:23.59freemangordonKotCzarny: don;t know what is the standard way :)
16:24.21freemangordons?Zephir/Xephyr
16:24.23KotCzarnyfmg: when app creates x11 window it usually calls it with some params/env settings
16:24.35freemangordonyevery day seems to be typo day lately
16:24.36MoeIcenowyfreemangordon: yes Xephyr.
16:24.56MoeIcenowyand my mouse cursor seems to be eaten by h-d ;-)
16:25.09freemangordonKotCzarny: and? do you mean are application titles visible in task navigator?
16:25.31freemangordonor in status bar?
16:25.36KotCzarnycheck: xwininfo -tree -root
16:25.42freemangordonnot now
16:26.01freemangordonbut it has window manager, so I guess it does all the stuff needed
16:26.14MoeIcenowyand I think I need a gtk+3 plugin...
16:26.16KotCzarnyhttp://stackoverflow.com/questions/252906/how-to-get-the-list-of-open-windows-from-xserver
16:26.36MoeIcenowyGNOME applications is shown very ridiculously under hildon...
16:27.03freemangordonKotCzarny: ah, I think I get it now - yes, it takes ownership on all applications started so far on that xserver
16:27.12freemangordon*of
16:27.15MoeIcenowyIt try to use the GNOME header bar to replace the hildon titlebar
16:27.26freemangordonyou can't, afaik
16:27.52freemangordontitle bar is build-in in h-d
16:28.53MoeIcenowyhttp://img.vim-cn.com/a8/4e4448562a41bf8f77d16148033f57ea25835d.png this picture shows the situation
16:29.26freemangordoncool :)
16:29.52MoeIcenowyand how to deal with the Gtk menu bar is also a problem...
16:30.46MoeIcenowyin fact, not only GNOME apps but all applications who want to draw its own titlebar may face the titlebar problem...
16:31.19freemangordonMoeIcenowy: I think is what you're trying to do is similar to forcing unity to use xfce's panel
16:31.54MoeIcenowymaybe I should say force xfce to use unity's panel ;-)
16:32.10freemangordonMoeIcenowy: you can just grab a random application and expect it to behave correctly under hildon
16:32.14freemangordonyeah
16:32.29MoeIcenowyyes apps without headerbar works fine
16:32.37freemangordonit needs to be "hildonized"
16:32.55freemangordonthere is a whole big doc on hildon UI
16:33.12MoeIcenowyyes...
16:33.51MoeIcenowyI think we should make some general toolkit automatically hildonized
16:33.59MoeIcenowylike maemo-gtk did on real Maemo
16:34.01freemangordonno way IMO
16:34.16MoeIcenowywe can use gtk modules to inject into Gtk+
16:34.22KotCzarnyhmm, isnt h-d taking whole top row?
16:34.28freemangordonunless you find 5 more guys
16:34.43KotCzarnylast time i remember available area isnt from the top of lcd, but under status bar
16:34.52freemangordondepends if the application is fullscreen or not
16:35.11KotCzarnyand WMs have a way to enforce apps to specific allowable size
16:35.24freemangordonin fullscreen it takes, well, the full screen area :)
16:36.11KotCzarnyie. see fluxbox' option 'maximizeover'
16:36.32MoeIcenowyhave you used original matchbox?
16:36.49MoeIcenowyI mean the matchbox that is now managed on yocto
16:38.00freemangordonno
16:38.23freemangordondo you thinks it is better to use it than the one in maemo?
16:39.22MoeIcenowynope
16:39.30MoeIcenowyit's very simple
16:39.35MoeIcenowyor I should say "too simple"
16:43.58*** join/#maemo erstazi (~erstazi@unaffiliated/erstazi)
16:49.10MoeIcenowyoh I forgot to mention that when building on newest Gtk+ and Clutter, I met lots of deprecation Werrors
16:49.51freemangordonyeah
16:50.13freemangordonbut anyway we won;t use that code
16:50.18MoeIcenowyso that I had to sed all configure.ac and delete -Werror
16:50.24MoeIcenowyyou will re-port it, right?
16:51.27freemangordonyes
17:28.24*** join/#maemo trumee (~trumee@c-73-155-87-64.hsd1.tx.comcast.net)
18:52.10*** join/#maemo flo_lap (~fuchs@Maemo/community/contributor/florian)
19:22.33*** join/#maemo Tenhi (~tenhi@static-ip-69-64-50-196.inaddr.ip-pool.com)
20:12.29*** join/#maemo louisdk (~louisdk@static-5-103-130-65.seas-nve.net)
20:16.46*** join/#maemo M4rtinK (~M4rtinK@77.48.149.46)
20:17.33freemangordonMoeIcenowy: what did you mean by "we can use gtk modules to inject into Gtk+"?
20:22.55freemangordonhmm, I think I got it
20:36.38*** join/#maemo spiiroin (~spiiroin@87-93-13-164.bb.dnainternet.fi)
21:15.41*** join/#maemo princefakhan (uid183431@gateway/web/irccloud.com/x-jhkyemuuymiuiaix)
21:51.44MoeIcenowyfreemangordon: yes
21:58.25freemangordonMoeIcenowy: do you have experience with that?
21:59.04freemangordonas there is almost no info over the net on what is the correct way of using stuff in gtk_module_init()
22:02.13*** join/#maemo troulouliou_div2 (~troulouli@unaffiliated/troulouliou-div2/x-0271439)
23:13.23MoeIcenowyfreemangordon: no experience
23:13.37MoeIcenowybut I know at least some project uses the modules to do hacks
23:15.28MoeIcenowyfor example, the topmenu-gtk project extracts the menubar of Gtk+ 3 programs as a global menu (like macOS)
23:26.04*** join/#maemo xy2_ (~xy2_@28094.s.t4vps.eu)
23:42.03*** join/#maemo dafox (~dafox@2a02:a448:c25a:1:7061:3b2a:37df:ded3)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.