IRC log of #maemo for Sunday, 2017-05-07

*** florian has joined #maemo00:02
*** Kabouik has joined #maemo00:59
*** louisdk has quit IRC01:18
*** Cor-Ai has quit IRC01:28
*** Cor-Ai has joined #maemo01:32
*** Kabouik has quit IRC01:48
*** cyteen has quit IRC02:34
*** cyteen has joined #maemo02:35
*** Pali has quit IRC02:56
*** L29Ah has quit IRC03:06
*** LouisA has joined #maemo03:06
*** L29Ah has joined #maemo03:07
*** infobot has quit IRC03:18
*** infobot has joined #maemo03:19
*** LauRoman|Alt has joined #maemo04:21
*** LauRoman has quit IRC04:24
*** MetalGearSolid_ has joined #maemo04:50
*** MetalGearSolid has quit IRC04:52
*** cyteen has quit IRC04:57
*** LouisA has quit IRC05:04
*** MetalGearSolid_ has quit IRC05:08
*** MetalGearSolid has joined #maemo05:11
*** vahe has joined #maemo06:24
*** DocScrutinizer05 has quit IRC07:02
*** DocScrutinizer05 has joined #maemo07:02
*** Maxdamantus has quit IRC07:18
*** Maxdamantus has joined #maemo07:20
*** Oksanaa has joined #maemo07:54
OksanaaWhat's the way to capture a screenshot when gstreamer is involved? Usual ways do not cut it, because it's gstreamer. I have an awareness of gst-launch, but no idea about finding appropriate src.07:54
OksanaaAka, taking screenshot of camera's frozen view-finder since the camera didn't manage to save the photo to file. And asking the person to sit for a photo, a second time is... awkward.07:55
OksanaaLike, I got a nice picture of viewfinder's corners with ximagesrc or something, but on purely black background. There viewfinder's rendering of photograph remains an elusive src.08:02
OksanaaIs photograph-ing the display with another camera really the only solution? I have not much battery left.08:05
MaxdamantusI just take screenshots using `scrot` inside my debian chroot.08:08
MaxdamantusYou should also be able to use scrot/import over a X11 over ssh.08:09
Maxdamantusso should be able to `ssh -X` from maemo to another machine and run scrot/import there.08:10
Maxdamantushttp://maxdamantus.eu.org/maemosshscrot.png08:12
OksanaaSsh -X, done. Import, exists. What to do with it?08:13
MaxdamantusI think you just run `import foo.png`08:13
Maxdamantusand it will save the image as `foo.png` in the current directory (on the host you've sshed to)08:14
MaxdamantusLooking at that picture of mine .. why do I put up with this horrible font rendering?08:14
* Maxdamantus doesn't usually see things that terrible on his main display.08:14
MaxdamantusOh, in your case you'd probably do something like `sleep 2 && import foo.png`, then switch to the camera-ui window before the sleep exits.08:16
OksanaaYes :-)  Which app to use to preview png?08:16
OksanaaHeard about sleep from https://wiki.maemo.org/Phone_control#Take_a_picture_with_front_camera08:17
MaxdamantusI use scrot (on both maemo and other systems)08:17
Maxdamantuser, sxiv*08:17
Maxdamantusbut the image should just end up on the host you ran `import` on, not on maemo.08:18
OksanaaSxiv... Not installed. What's the one on KDE Debian? Gsomething08:18
Maxdamantusso you'd just use whatever you normally use to look at PNGs.08:18
MaxdamantusPresumably if you have a web browser installed you could just use that.08:18
OksanaaDon't want to mess up firefox session of tabs.08:19
OksanaaLet's see how konqueror works out for previewing a png.08:20
Maxdamantusyou might also try `showimage`, if that's installed.08:20
MaxdamantusI think that comes with sdl-image, but iirc it's not there on Debian.08:21
OksanaaOkay, minimalistic capture done. No idea how to get rid of viewfinder overlays. And probably 800x480 resolution. ..08:21
*** sunshavi has quit IRC08:22
OksanaaWould still appreciate gst-launch capture from frozen view-finder. But not much battery left.08:22
MaxdamantusI suspect the 800×480 problem will only be solved by taking a memory dump and trying to extract the image from that.08:22
OksanaaProbably. No idea if a gstreamer sink, src or bin offers high resolution picture. It may well be that view-finder remembers only screen-res.08:23
MaxdamantusYou should probably at least make sure to get that memory dump before it runs out of battery.08:24
Maxdamantussomething like `gcore foo.bin` once you've attached to camera-ui using `gdb --pid 1234`08:25
Maxdamantusbut it might be tricky to get the image out of it, if it's possible at all.08:25
*** Oksanaa has left #maemo09:16
*** Oksanaa has joined #maemo09:24
*** frals has joined #maemo09:26
*** frals has joined #maemo09:26
OksanaaYo, good idea for next time. This time, I am just glad that screenshot was made. Gdb should be run on N900, and gcore can be run on a different computer?09:54
bencohyou can use gdbserver on n900 and gdb on a remote computer09:55
OksanaaThank you. Should figure out what's the problem with camera that it freezes at times. Sometimes, two cameras are visible in window-switcher at the same time.09:56
*** cyteen has joined #maemo10:01
*** Pali has joined #maemo10:13
Maxdamantusgcore is a command in gdb to save a core dump.10:36
MaxdamantusThe simple thing to do is to just run gdb locally and in that local session run gcore so you can inspect it later.10:38
*** vahe has quit IRC11:17
*** vahe has joined #maemo11:17
*** frals has quit IRC11:32
*** Pali has quit IRC11:35
*** Pali has joined #maemo11:38
*** frals has joined #maemo11:44
*** frals has joined #maemo11:44
*** Pali has quit IRC11:56
*** Pali has joined #maemo11:56
*** vahe has quit IRC12:26
*** LouisA has joined #maemo13:20
*** dafox has joined #maemo13:38
*** pcfe` is now known as pcfe13:45
*** dafox has quit IRC13:45
*** merlin1991 has quit IRC13:56
*** louisdk has joined #maemo13:57
*** merlin1991 has joined #maemo13:58
*** arcean has joined #maemo14:16
*** sixwheeledbeast has quit IRC14:22
*** DocScrutinizer51 has quit IRC14:22
*** DocScrutinizer51 has joined #maemo14:23
*** sixwheeledbeast has joined #maemo14:23
*** florian has quit IRC14:25
*** florian has joined #maemo14:27
*** LouisA has quit IRC14:43
*** arcean has quit IRC14:43
*** MetalGearSolid has quit IRC15:49
*** MetalGearSolid has joined #maemo15:55
*** cyteen has quit IRC15:56
*** Oksanaa has quit IRC16:07
*** Oksanaa has joined #maemo16:08
*** Wizzup has quit IRC16:16
*** sunshavi has joined #maemo16:17
*** Wizzup has joined #maemo16:38
*** florian has quit IRC16:50
*** LauRoman|Alt has quit IRC17:29
*** peetah has quit IRC17:57
*** cyteen has joined #maemo17:57
*** louisdk has quit IRC18:02
*** peetah has joined #maemo18:10
*** xy2_ has quit IRC18:24
*** shentey has joined #maemo18:41
*** Oksanaa has quit IRC18:42
*** florian has joined #maemo18:43
*** arcean has joined #maemo18:44
*** shentey_ has joined #maemo18:44
*** shentey has quit IRC18:44
*** dafox has joined #maemo18:45
*** xy2_ has joined #maemo18:47
VajbOksana: happens for me too from time to time. No idea why.18:47
*** vahe has joined #maemo18:50
*** shentey_ has quit IRC19:04
DocScrutinizer05syslog is your friend, I'm afraid19:14
DocScrutinizer05iirc camera failures are from some kernel module19:15
DocScrutinizer05resp the closed blob userland libs that replace proper kernel modules for camera19:15
DocScrutinizer05omap_previewer_hack omap34xxcam_mod videodev board_rx51_camera et al, plus the userland stuff that uses it, like /usr/sbin/omap3camd19:18
DocScrutinizer05LOL  http://elinux.org/images/2/28/Elce11_pinchart.pdf19:22
*** florian has quit IRC19:22
bencohShit that's the 2nd time I see that name today already (after seeing it quite a few times during the past weeks as well)19:23
bencohxkcd 844 <319:24
DocScrutinizer05http://talk.maemo.org/showthread.php?p=1397155#post139715519:29
*** LouisA has joined #maemo19:30
DocScrutinizer05bencoh: "you can either hang out in the Android loop or the Hurd loop" ;-P19:31
DocScrutinizer05guess which is which ;-)19:32
* L29Ah picks multi-track drifting19:41
*** florian has joined #maemo19:52
*** florian has quit IRC19:59
*** xy2_ has quit IRC20:17
*** xy2_ has joined #maemo20:17
*** xy2_ has quit IRC20:34
*** drcode has quit IRC20:39
*** vahe has quit IRC20:42
*** drcode has joined #maemo20:42
*** arcean has quit IRC20:55
*** louisdk has joined #maemo21:14
*** Sicelo009N has joined #maemo21:52
Enrico_MenottiHi. I thought I could start learning some things about Hildon. After a bit of googling, I decided to begin with the GTK+ libraries. So I'm trying to compile them on Devuan. I'm reading here: https://developer.gnome.org/gtk3/stable/gtk-building.html. I'm encountering many issues, solved a bunch of them, but now I'm stuck at a certain point. Let me report what I'm doing so far.21:53
Sicelo009Nyou'll have to read up on what Android_808 and freemangordon are doing ... there's a thread on tmo21:55
Enrico_MenottiYes, I know they're doing something. Since I don't know the basics yet, I thought I could try first on the laptop, without thinking about the N900 for now.21:56
Enrico_Menotti(Although I don't know which thread exactly you refer to.)21:56
Sicelo009Nyou'll probably want to start with gtk2 if your aim is Hildon21:57
Enrico_MenottiMaybe http://talk.maemo.org/showthread.php?t=96800?21:58
Sicelo009Nyes21:59
Sicelo009Nor maybe no need for GTK2 :-)21:59
Enrico_MenottiOk. So I admit I'm still orienting in this topic. What is the difference between gtk+ and gtk2?22:00
Sicelo009Nnone .. gtk2 and gtk3 are just different versions of gtk(+)22:02
Enrico_MenottiOk. I started by cloning this: https://git.gnome.org/browse/gtk+. On the page about gtk building that I linked above, they say to run ./configure. So the first problem is that this script does not exist. Instead, I found autogen.sh, which seems to create configure and execute it. Then a make successfully starts the build.22:05
*** xy2_ has joined #maemo22:06
Enrico_MenottiNow the newest versions of gtk+ require libraries which seem not to be available on Devuan Jessie, at least not in the required version. So I checked out a previous branch, gtk-3-14. This allows the build process to go fairly ahead.22:08
Sicelo009Ni guess that's where you need fmg/android_80822:09
Enrico_MenottiWhat do you propose to do? Asking here is not the right way? Should I post on that thread? (Yes, I didn't read all the thread yet, but my present knowledge is so small that I couldn't understand many things.)22:10
Sicelo009Ni'm sure they can help you here when they are online22:11
Enrico_MenottiOk, so I'd report some more details, ok?22:12
Enrico_Menotti(I see freemangordon online - maybe he will read later.)22:13
Enrico_MenottiI got the following error from the linker:22:14
Enrico_Menotti /bin/sed: can't read /usr/local/lib/libgobject-2.0.la: No such file or directory22:14
Enrico_MenottiThis seems to be triggered by the linking process of libgdk-3.la.22:15
Enrico_MenottiSo after some googling I found this: https://bugzilla.gnome.org/show_bug.cgi?id=679409 and this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732668.22:15
povbotBug 679409: was not found.22:15
Enrico_Menotti(Also https://mail.gnome.org/archives/commits-list/2012-July/msg02309.html.)22:17
Enrico_MenottiIf I got it right, gtk+ has a behaviour (linking against .la files) which seems to be deprecated (based on the Debian bug report above.)22:20
Enrico_MenottiThat's it. Any suggestion is well accepted. :)22:22
*** Sicelo009N has quit IRC22:23
*** shentey has joined #maemo22:23
*** florian has joined #maemo22:36
*** sunshavi has quit IRC23:01
*** pagurus has quit IRC23:04
*** pagurus has joined #maemo23:06
*** herekun has joined #maemo23:08
siceloany way to adjust font size on N900's xterm? (not osso-xterm)23:14
*** sfa has joined #maemo23:17
*** dafox has quit IRC23:19
*** louisdk has quit IRC23:20
Enrico_Menottisicelo You mean the stock xterm? With that, I have managed to get bigger fonts. Don't remember how...23:27
sicelonot XTerminal - rather, if you install `xterm` from repos23:29
bencohsicelo: yup23:40
bencohsicelo: I use popup-menu(fontMenu) in a transition mapped to Ctrl+button123:41
*** Cor-Ai has quit IRC23:41
bencohs/transition/translation/23:42
infobotbencoh meant: sicelo: I use popup-menu(fontMenu) in a translation mapped to Ctrl+button123:42
*** cyteen has quit IRC23:42
sicelogreek to me :)23:42
sicelowhat's button1?23:42
bencohmouse23:42
siceloN900?23:42
bencohtouchscreen for n900 ;)23:42
bencohI guess I should just publish that .Xdefaults of mine23:43
sicelothanks. that will help23:43
sicelooh i see see what you mean :P23:43
ceenesslayer@collins:~$ cat .Xresources23:43
ceeneXTerm*saveLines: 409623:43
ceeneXTerm*foreground: rgb:b2/b2/b223:43
ceeneXTerm*background: rgb:08/08/0823:43
ceeneXTerm*font: 10x2023:43
ceeneUXTerm*saveLines: 409623:43
ceeneUXTerm*foreground: rgb:b2/b2/b223:43
ceeneUXTerm*background: rgb:08/08/0823:44
ceeneUXTerm*font: 10x2023:44
sicelohey ceene! long time23:44
ceeneyeah!23:44
ceene:)23:44
ceenesorry gotta go now to sleep23:44
ceenejust had a look and saw something i could help with :)23:44
siceloyappari? :D23:44
ceenelol23:44
ceeneyour xterm question :P23:44
bencoh:]23:44
ceenei wish...23:44
ceeneit's been months since i last used my n900 :(23:45
bencohaww :(23:45
siceloerr23:45
ceenei'm more involved now with the neo900, but sadly it's been long weeks too since ahycka or I could spend time on it23:45
*** Cor-Ai has joined #maemo23:45
ceenei hope in a week or two we'll have a little more free time23:46
ceenei'll try to spend more time around here too, i still love you all :P23:46
ceenewell, gotta go!23:46
ceenecya!23:46
bencoh:)23:46
bencohsicelo: http://muarf.org/~bencoh/maemo/Xdefaults23:51
sicelothanks bencoh. to make that work, i need to reboot N900?23:55
siceloah i see it works right away. but my font sizes don't change one bit :-/23:59

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