**** BEGIN LOGGING AT Sun May 07 03:00:00 2017 May 07 04:54:25 What'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. May 07 04:55:39 Aka, 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. May 07 05:02:35 Like, 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. May 07 05:05:38 Is photograph-ing the display with another camera really the only solution? I have not much battery left. May 07 05:08:22 I just take screenshots using `scrot` inside my debian chroot. May 07 05:09:55 You should also be able to use scrot/import over a X11 over ssh. May 07 05:10:26 so should be able to `ssh -X` from maemo to another machine and run scrot/import there. May 07 05:12:54 http://maxdamantus.eu.org/maemosshscrot.png May 07 05:13:15 Ssh -X, done. Import, exists. What to do with it? May 07 05:13:52 I think you just run `import foo.png` May 07 05:14:04 and it will save the image as `foo.png` in the current directory (on the host you've sshed to) May 07 05:14:36 Looking at that picture of mine .. why do I put up with this horrible font rendering? May 07 05:14:47 * Maxdamantus doesn't usually see things that terrible on his main display. May 07 05:16:03 Oh, 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. May 07 05:16:49 Yes :-) Which app to use to preview png? May 07 05:17:13 Heard about sleep from https://wiki.maemo.org/Phone_control#Take_a_picture_with_front_camera May 07 05:17:36 I use scrot (on both maemo and other systems) May 07 05:17:43 er, sxiv* May 07 05:18:27 but the image should just end up on the host you ran `import` on, not on maemo. May 07 05:18:31 Sxiv... Not installed. What's the one on KDE Debian? Gsomething May 07 05:18:37 so you'd just use whatever you normally use to look at PNGs. May 07 05:18:49 Presumably if you have a web browser installed you could just use that. May 07 05:19:07 Don't want to mess up firefox session of tabs. May 07 05:20:24 Let's see how konqueror works out for previewing a png. May 07 05:20:51 you might also try `showimage`, if that's installed. May 07 05:21:08 I think that comes with sdl-image, but iirc it's not there on Debian. May 07 05:21:20 Okay, minimalistic capture done. No idea how to get rid of viewfinder overlays. And probably 800x480 resolution. .. May 07 05:22:22 Would still appreciate gst-launch capture from frozen view-finder. But not much battery left. May 07 05:22:41 I suspect the 800×480 problem will only be solved by taking a memory dump and trying to extract the image from that. May 07 05:23:36 Probably. No idea if a gstreamer sink, src or bin offers high resolution picture. It may well be that view-finder remembers only screen-res. May 07 05:24:38 You should probably at least make sure to get that memory dump before it runs out of battery. May 07 05:25:06 something like `gcore foo.bin` once you've attached to camera-ui using `gdb --pid 1234` May 07 05:25:58 but it might be tricky to get the image out of it, if it's possible at all. May 07 06:54:58 Yo, 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? May 07 06:55:57 you can use gdbserver on n900 and gdb on a remote computer May 07 06:56:27 Thank 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. May 07 07:36:56 gcore is a command in gdb to save a core dump. May 07 07:38:07 The simple thing to do is to just run gdb locally and in that local session run gcore so you can inspect it later. May 07 15:47:10 Oksana: happens for me too from time to time. No idea why. May 07 16:14:31 syslog is your friend, I'm afraid May 07 16:15:07 iirc camera failures are from some kernel module May 07 16:15:34 resp the closed blob userland libs that replace proper kernel modules for camera May 07 16:18:48 omap_previewer_hack omap34xxcam_mod videodev board_rx51_camera et al, plus the userland stuff that uses it, like /usr/sbin/omap3camd May 07 16:22:21 LOL http://elinux.org/images/2/28/Elce11_pinchart.pdf May 07 16:23:21 Shit that's the 2nd time I see that name today already (after seeing it quite a few times during the past weeks as well) May 07 16:24:44 xkcd 844 <3 May 07 16:29:26 http://talk.maemo.org/showthread.php?p=1397155#post1397155 May 07 16:31:49 bencoh: "you can either hang out in the Android loop or the Hurd loop" ;-P May 07 16:32:14 guess which is which ;-) May 07 16:41:01 * L29Ah picks multi-track drifting May 07 18:53:15 Hi. 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. May 07 18:55:15 you'll have to read up on what Android_808 and freemangordon are doing ... there's a thread on tmo May 07 18:56:32 Yes, 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. May 07 18:56:53 (Although I don't know which thread exactly you refer to.) May 07 18:57:38 you'll probably want to start with gtk2 if your aim is Hildon May 07 18:58:31 Maybe http://talk.maemo.org/showthread.php?t=96800? May 07 18:59:04 yes May 07 18:59:52 or maybe no need for GTK2 :-) May 07 19:00:11 Ok. So I admit I'm still orienting in this topic. What is the difference between gtk+ and gtk2? May 07 19:02:52 none .. gtk2 and gtk3 are just different versions of gtk(+) May 07 19:05:08 Ok. 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. May 07 19:08:10 Now 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. May 07 19:09:09 i guess that's where you need fmg/android_808 May 07 19:10:51 What 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.) May 07 19:11:35 i'm sure they can help you here when they are online May 07 19:12:06 Ok, so I'd report some more details, ok? May 07 19:13:34 (I see freemangordon online - maybe he will read later.) May 07 19:14:31 I got the following error from the linker: May 07 19:14:35 /bin/sed: can't read /usr/local/lib/libgobject-2.0.la: No such file or directory May 07 19:15:05 This seems to be triggered by the linking process of libgdk-3.la. May 07 19:15:56 So 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. May 07 19:15:58 04Bug 679409: was not found. May 07 19:17:10 (Also https://mail.gnome.org/archives/commits-list/2012-July/msg02309.html.) May 07 19:20:31 If I got it right, gtk+ has a behaviour (linking against .la files) which seems to be deprecated (based on the Debian bug report above.) May 07 19:22:06 That's it. Any suggestion is well accepted. :) May 07 20:14:24 any way to adjust font size on N900's xterm? (not osso-xterm) May 07 20:27:10 sicelo You mean the stock xterm? With that, I have managed to get bigger fonts. Don't remember how... May 07 20:29:55 not XTerminal - rather, if you install `xterm` from repos May 07 20:40:28 sicelo: yup May 07 20:41:47 sicelo: I use popup-menu(fontMenu) in a transition mapped to Ctrl+button1 May 07 20:42:01 s/transition/translation/ May 07 20:42:01 bencoh meant: sicelo: I use popup-menu(fontMenu) in a translation mapped to Ctrl+button1 May 07 20:42:18 greek to me :) May 07 20:42:22 what's button1? May 07 20:42:34 mouse May 07 20:42:44 N900? May 07 20:42:52 touchscreen for n900 ;) May 07 20:43:10 I guess I should just publish that .Xdefaults of mine May 07 20:43:25 thanks. that will help May 07 20:43:44 oh i see see what you mean :P May 07 20:43:53 sslayer@collins:~$ cat .Xresources May 07 20:43:53 XTerm*saveLines: 4096 May 07 20:43:53 XTerm*foreground: rgb:b2/b2/b2 May 07 20:43:53 XTerm*background: rgb:08/08/08 May 07 20:43:53 XTerm*font: 10x20 May 07 20:43:55 UXTerm*saveLines: 4096 May 07 20:43:58 UXTerm*foreground: rgb:b2/b2/b2 May 07 20:44:00 UXTerm*background: rgb:08/08/08 May 07 20:44:03 UXTerm*font: 10x20 May 07 20:44:14 hey ceene! long time May 07 20:44:19 yeah! May 07 20:44:19 :) May 07 20:44:24 sorry gotta go now to sleep May 07 20:44:34 just had a look and saw something i could help with :) May 07 20:44:42 yappari? :D May 07 20:44:46 lol May 07 20:44:52 your xterm question :P May 07 20:44:53 :] May 07 20:44:58 i wish... May 07 20:45:04 it's been months since i last used my n900 :( May 07 20:45:13 aww :( May 07 20:45:15 err May 07 20:45:22 i'm more involved now with the neo900, but sadly it's been long weeks too since ahycka or I could spend time on it May 07 20:46:05 i hope in a week or two we'll have a little more free time May 07 20:46:16 i'll try to spend more time around here too, i still love you all :P May 07 20:46:42 well, gotta go! May 07 20:46:43 cya! May 07 20:46:53 :) May 07 20:51:47 sicelo: http://muarf.org/~bencoh/maemo/Xdefaults May 07 20:55:36 thanks bencoh. to make that work, i need to reboot N900? May 07 20:59:51 ah i see it works right away. but my font sizes don't change one bit :-/ May 07 21:00:14 i can see the menu, and currently set to Large. Even when I choose Huge, size remains the same May 07 21:01:23 sicelo Ehm... I realise I don't understand the difference between X Terminal, osso-xterm and xterm. From some googling, I've seen X Terminal = osso-xterm, if I'm right, and that's what comes with stock Maemo. But what about xterm? (Sorry for my ignorance.) :) May 07 21:02:48 you can install xterm from repos. works exactly like on your pc :) May 07 21:03:42 sicelo: it works here May 07 21:04:31 I wonder which font you're using (I used fixed) ... I dunno whether it works (or works the same way) with truetype/freetype fonts May 07 21:08:17 http://paste.debian.net/931229/ - what i get when i start xterm May 07 21:13:19 never dabbled in xfonts before. but i think i can troubleshoot this one May 07 21:28:30 sicelo I had to search for a while, but I eventually found xterm in the extras repository. But no documentation? May 07 21:35:13 man pages you mean? Maemo does not have them :) May 07 21:35:53 to save space evidently (although you can install a man page application .. not sure what it does exactly) May 07 21:37:05 sicelo: right, I had to add misc to my x11 font path May 07 21:37:58 xset +fp /usr/share/fonts/X11/misc should be enough May 07 21:38:27 (you can also change your xorg conf, but... do one single mistake there and maemo will fail to boot) May 07 21:39:28 (and I had to add misc/fixed fonts to n900 since I don't think they're packaged in maemo) May 07 21:39:37 or you could probably try using a different fontset May 07 21:39:50 i definitely don't have /usr/share/fonts/X11/ May 07 21:40:10 maemo sometimes ... :) May 07 21:40:22 mine are built from the iso10646/utf8 fixed font set May 07 21:40:41 you can probably copy it from (pretty much) any system running Xorg May 07 21:40:41 copied from pc? May 07 21:40:46 ah yes May 07 21:41:08 I might have built it from source a long time ago, but yes May 07 21:58:59 bencoh: there is xfonts-base which seems to contain them .. 8MB on rootfs though May 07 22:32:41 you can always add a symlink I suppose (hope?) May 07 23:47:53 manpages? May 07 23:47:58 ~jrtools May 07 23:47:58 i heard jrtools is http://wiki.maemo.org/User:Joerg_rw/tools May 07 23:49:11 http://wiki.maemo.org/User:Joerg_rw/tools#proper_bash_and_tools May 07 23:49:53 apt-get install man-db-n900 **** ENDING LOGGING AT Mon May 08 03:00:01 2017