maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Easy Debian Fremantle Beta Testing (https://talk.maemo.org/showthread.php?t=34550)

sulu 2015-02-08 20:52

Re: Easy Debian Fremantle Beta Testing
 
@endsormeans:
Thanks for the generous offer, but I don't want a N8x0. The N900 made me hate HW that requires proprietary blobs and I don't want even more of it.

endsormeans 2015-02-08 22:22

Re: Easy Debian Fremantle Beta Testing
 
Hey it's ok sulu :D
I completely understand and commiserate.

and nokiabot...if you're really sure you want to help develop for the n810 maemo4 subcommunity..
Then sure it's yours.
pm me and we'll sort out shipping.

As far as my spare n800 goes...
(frankly I think the n800 is the better device 'tween it and the n810...having 2 card slots...it's only failing is no physical keyboard.)
I'll post the offer in a more obvious subforum...like development.
We really need a fresh infusion of putterers developing on maemo4 so I think doing this is important.

pichlo 2015-02-09 10:40

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by endsormeans (Post 1460115)
you didn't mean " you shouldn't ask @ sulu ...just do it..."
you meant ..."@ sulu, you shouldn't ask ....just do it"

Or even...

"you shouldn't ask, @sulu ...just do it..."

One little comma. All the difference in the world. Shine on you crazy diamond.

sulu 2015-02-09 11:17

Re: Easy Debian Fremantle Beta Testing
 
In German we have this more or less famous slogan:
Quote:

"Komm wir grillen Opa!" Satzzeichen können Leben retten.
which translates to:
Quote:

"Let's barbecue grandpa!" Punctuation marks can save lifes.

endsormeans 2015-02-09 11:31

Re: Easy Debian Fremantle Beta Testing
 
hahaha :D
ah my...
yup.
That is a gem

endsormeans 2015-02-10 13:32

Re: Easy Debian Fremantle Beta Testing
 
Just fin. charging up batts.
I'll be using a diablo turbo upgraded n810.
downloaded the image and will report the moment I start 'er up in sulu's wheezy.
Wish this monkeynaut headed for outer space ...good luck.
and now..
for the musical send-off....

https://www.youtube.com/watch?v=ljmEkWkT5Qc

jellyroll 2015-02-17 23:22

Re: Easy Debian Fremantle Beta Testing
 
I want to make a screencast of the Maemo desktop by using gtk-recordmydesktop on an easydebian chroot image.
When start recording I do get these messages "recordmydesktop is closed with status: 2304 and discription: could not connect to X-server"
I do get to see a screencast preview on the N900 screen.
Is there any way or chance to get this working?

sulu 2015-02-18 01:01

Re: Easy Debian Fremantle Beta Testing
 
@jellyroll:
I have no idea how to do that with gtk-recordmydesktop, because its behavior seems odd to me.

But according to the ffmpeg wiki [1] (and some playing with options on my side) this should produce a more or less acceptable fullscreen video (without sound) of your N900 screen:
Code:

ffmpeg -video_size 800x480 -framerate 5 -f x11grab -i :0.0 output.avi
I found my N900 (overclocked to 850MHz) can't actually cast a video above 5 fps and creating an avi seems to result in a better video quality than flv.
I'm no ffmpeg/libav expert though, so someone else might very well come up with a very efficient video codec that produces even better results (no compression at all should be best).

The above command only seems to work with (Easy) Debian's ffmpeg (actually libav) and not with Maemo's, probably due to the latter being to old.
I can also only run it from within an Easy Debian Desktop (but I can record the Maemo desktop as well) and not via debbie, apparently due to a missing $DISPLAY. This should easily be fixed but I'm too tired right now (2 am) to investigate on that.


[1] https://trac.ffmpeg.org/wiki/Capture/Desktop

jellyroll 2015-02-22 12:13

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1461096)
@jellyroll:
I have no idea how to do that with gtk-recordmydesktop, because its behavior seems odd to me.

But according to the ffmpeg wiki [1] (and some playing with options on my side) this should produce a more or less acceptable fullscreen video (without sound) of your N900 screen:
Code:

ffmpeg -video_size 800x480 -framerate 5 -f x11grab -i :0.0 output.avi
I found my N900 (overclocked to 850MHz) can't actually cast a video above 5 fps and creating an avi seems to result in a better video quality than flv.
I'm no ffmpeg/libav expert though, so someone else might very well come up with a very efficient video codec that produces even better results (no compression at all should be best).

The above command only seems to work with (Easy) Debian's ffmpeg (actually libav) and not with Maemo's, probably due to the latter being to old.
I can also only run it from within an Easy Debian Desktop (but I can record the Maemo desktop as well) and not via debbie, apparently due to a missing $DISPLAY. This should easily be fixed but I'm too tired right now (2 am) to investigate on that.


[1] https://trac.ffmpeg.org/wiki/Capture/Desktop

Thanks this is the only method that works for me right now.

qole 2015-02-26 21:33

Re: Easy Debian Fremantle Beta Testing
 
I need to pay more attention to this thread.
I TOTALLY missed sulu's Jesse and Wheezy images.
I'll get them up on qole.org tonight.
Sorry for the inattention!

Copernicus 2015-02-26 22:03

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by jellyroll (Post 1461091)
I want to make a screencast of the Maemo desktop

Hey, I just noticed this question. Not sure if this is what you want, but I'm using GStreamer for Orecchiette's screen-recording feature. The command-line version of what I'm using should be something like:

Code:

gst-launch ximagesrc ! video/x-raw-rgb,framerate=5/1 ! ffmpegcolorspace ! dspmp4venc ! queue ! matroskamux ! filesink location=somefilename.mkv
This has been working pretty well for me...

sulu 2015-02-26 22:21

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Copernicus (Post 1462182)
Code:

gst-launch ximagesrc ! video/x-raw-rgb,framerate=5/1 ! ffmpegcolorspace ! dspmp4venc ! queue ! matroskamux ! filesink location=somefilename.mkv

Great performance!
It uses between 50 and 60% CPU time on my device and should even work without overclocking.

Copernicus 2015-02-26 22:40

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1462186)
It uses between 50 and 60% CPU time on my device and should even work without overclocking.

Yes, I don't overclock my N900s, so I can say with certainty that it works without overclocking. :)

qole 2015-02-27 08:32

Re: Easy Debian Fremantle Beta Testing
 
I have posted sulu's images on qole.org, along with their MD5SUMs.
I discovered, after I had uploaded them, that the jessie image isn't really ready yet, so I'll just post the wheezy link here:

debian_wheezy4sulu_armel.img.lzma
MD5

I'm quite proud of the fact that the downloads are https secured. If nothing else, you don't have to worry about MitM attacks :)

sulu 2015-02-28 21:36

Re: Easy Debian Fremantle Beta Testing
 
I uploaded a new Jessie/armhf image:
http://netload.in/dateiVsZXxAQnf8/de...f.img.lzma.htm
Code:

$ md5sum debian_jessie1sulu_armhf.img*
95d2fd7b32b83c930c0a5313144d4988  debian_jessie1sulu_armhf.img
0dff0629ad48e6b772993b173c82c02a  debian_jessie1sulu_armhf.img.lzma

It's just a dist-upgraded version of my first image, with glibc 2.19-15 and my own bugs fixed (resolv.conf, libc6/libc-bin on hold). If you fixed the bugs yourself there's no reason to switch.
You can find the upgraded glibc packages in this archive:
http://netload.in/dateieZ0zLQI5T3/je...es.tar.bz2.htm
Code:

$ md5sum jessie1sulu_armhf_ed_chroot_binaries.tar.bz2
ec09460a0cfb90e059674a33e15311c2  jessie1sulu_armhf_ed_chroot_binaries.tar.bz2

Please remember (I think I didn't when I made the 1st image), if you manually upgrade packages that were on hold, they won't be on hold anymore, and you'll have to repeat the procedure:
Code:

echo libc6 hold | dpkg --set-selections
echo libc-bin hold | dpkg --set-selections

qole kindly offered to host the image. So you'll get a more reliable link soon.

qole 2015-03-01 15:53

Re: Easy Debian Fremantle Beta Testing
 
I've put sulu's new Jessie image on qole.org.

debian_jessie1sulu_armhf.img.lzma
MD5

abdel_95 2015-03-21 19:06

Re: Easy Debian Fremantle Beta Testing
 
hello i've installed sulu's image but cannot change the language to english even when i try with dpkg - reconfigure locales it doesn't bring the language choice. openoffice does not launch and only lxmusic player is there as compared to the first one i install which was the one that comes first when selecting which to install. plz hlp

sulu 2015-03-25 08:01

Re: Easy Debian Fremantle Beta Testing
 
@abdel_95:
Which image did you install? It sounds like one of my earliest Wheezy attempts.
Please use the latest image (highest number) of whatever release you prefer!

@qole:
In case you need some free space on your server, feel free to delete any of my older images, as the newer ones essentially make them obsolete.
At the moment I consider only these to be of any use:
http://qole.org/files/debian_wheezy3sulu_armhf.img.lzma
http://qole.org/files/debian_wheezy4sulu_armel.img.lzma
http://qole.org/files/debian_jessie1sulu_armhf.img.lzma

saponga 2015-05-09 21:10

Re: Easy Debian Fremantle Beta Testing
 
Please, how can i make gps data available to ED's gpsd ?

qole 2015-05-11 04:22

Re: Easy Debian Fremantle Beta Testing
 
I found that devices that are enabled in Maemo before you start Easy Debian are available in the chroot also. I confess that I don't know how to use the GPS in Linux / Maemo, but it should be available...

This thread suggests that the N9's GPS was a proprietary format, so I suspect you may have similar problems with the N900.

http://talk.maemo.com/showthread.php?t=87527

marmistrz 2015-05-18 08:53

Re: Easy Debian Fremantle Beta Testing
 
Reporting: on the jessie1 image transmission-gtk segfaults. I'll install gdb and post bt soon.

When trying to launch the LXDE, I get a black window and in the log:

Code:

canot create directory `': no such file or directory
and the lxde log:
Code:

** Message: environement.vala:58: Exporting primary_variable
** Message: environement.vala:59: desktop_environnement XDG_CURRENT_DESKTOP
** Message: environement.vala:149: confir_dirs is null, export : /etc/xdg
** Message: environement.vala:183: Exporting XDG_CONFIG_DIRS
** Message: environement.vala:217: custom_data :/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:
** Message: environement.vala:218: data_dirs :/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
** Message: environement.vala:219: data_dirs not null, export : /usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
** Message: environement.vala:224: Exporting XDG_DATA_DIRS
** Message: utils.vala:68: User config used : /home/user/.config/lxsession/LXDE/desktop.conf
** Message: utils.vala:89: Final file used : /home/user/.config/lxsession/LXDE/desktop.conf
** Message: settings.vala:527: Key file does not have key 'iGtk/ColorScheme'
** Message: settings.vala:527: Key file does not have key 'windows_manager/extras'
** Message: settings.vala:527: Key file does not have key 'panel/command'
** Message: settings.vala:527: Key file does not have key 'dock/command'
** Message: settings.vala:527: Key file does not have key 'file_manager/command'
** Message: settings.vala:527: Key file does not have key 'desktop_manager/command'
** Message: settings.vala:527: Key file does not have key 'launcher_manager/autostart'
** Message: settings.vala:527: Key file does not have key 'composite_manager/command'
** Message: settings.vala:527: Key file does not have key 'im1/command'
** Message: settings.vala:527: Key file does not have key 'im2/command'
** Message: settings.vala:527: Key file does not have key 'widget1/command'
** Message: settings.vala:527: Key file does not have key 'notification/command'
** Message: settings.vala:527: Key file does not have key 'keybindings/command'
** Message: settings.vala:527: Key file does not have key 'screensaver/command'
** Message: settings.vala:527: Key file does not have key 'power_manager/command'
** Message: settings.vala:527: Key file does not have key 'audio_manager/command'
** Message: settings.vala:527: Key file does not have key 'workspace_manager/command'
** Message: settings.vala:527: Key file does not have key 'screenshot_manager/command'
** Message: settings.vala:527: Key file does not have key 'message_manager/command'
** Message: settings.vala:527: Key file does not have key 'upgrade_manager/command'
** Message: settings.vala:527: Key file does not have key 'upstart_user_session'
** Message: settings.vala:527: Key file does not have key 'proxy_manager/http'
** Message: settings.vala:527: Key file does not have key 'a11y/command'
** Message: settings.vala:527: Key file does not have key 'xrandr/command'
** Message: settings.vala:527: Key file does not have key 'network_gui/command'
** Message: settings.vala:527: Key file does not have key 'webbrowser/command'
** Message: settings.vala:527: Key file does not have key 'email/command'
** Message: settings.vala:527: Key file does not have key 'pdf_reader/command'
** Message: settings.vala:527: Key file does not have key 'video_player/command'
** Message: settings.vala:527: Key file does not have key 'audio_player/command'
** Message: settings.vala:527: Key file does not have key 'images_display/command'
** Message: settings.vala:527: Key file does not have key 'text_editor/command'
** Message: settings.vala:527: Key file does not have key 'archive/command'
** Message: settings.vala:527: Key file does not have key 'charmap/command'
** Message: settings.vala:527: Key file does not have key 'calculator/command'
** Message: settings.vala:527: Key file does not have key 'spreadsheet/command'
** Message: settings.vala:527: Key file does not have key 'bittorent/command'
** Message: settings.vala:527: Key file does not have key 'document/command'
** Message: settings.vala:527: Key file does not have key 'webcam/command'
** Message: settings.vala:527: Key file does not have key 'burn/command'
** Message: settings.vala:527: Key file does not have key 'notes/command'
** Message: settings.vala:527: Key file does not have key 'disk_utility/command'
** Message: settings.vala:527: Key file does not have key 'tasks/command'
** Message: settings.vala:527: Key file does not have group 'Keymap'
** Message: settings.vala:527: Key file does not have key 'laptop_mode'
** Message: settings.vala:527: Key file does not have key 'gnome'
** Message: settings.vala:527: Key file does not have group 'Updates'
** Message: settings.vala:527: Key file does not have key 'type'
** Message: settings.vala:449: Monitoring: /home/user/.config/lxsession/LXDE/desktop.conf
** Message: settings.vala:453: Desktop file is already in config home, do nothing
** Message: environement.vala:79: Exporting variable
** Message: environement.vala:80: desktop_environnement XDG_CURRENT_DESKTOP
** Message: environement.vala:176: custom_config :
** Message: environement.vala:177: config_dirs :/etc/xdg
** Message: environement.vala:178: confir_dirs not null, export : /etc/xdg
** Message: environement.vala:183: Exporting XDG_CONFIG_DIRS
** Message: environement.vala:217: custom_data :
** Message: environement.vala:218: data_dirs :/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
** Message: environement.vala:219: data_dirs not null, export : /usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
** Message: environement.vala:224: Exporting XDG_DATA_DIRS

** (lxsession:6404): WARNING **: process.vala:49: Failed to execute child process "xprop" (No such file or directory)

** (lxsession:6404): WARNING **: process.vala:50: Error when launching xprop
** Message: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: utils.vala:85: System system path location : /etc/xdg/lxsession/LXDE/conffiles.conf
** Message: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/conffiles.conf
** Message: options.vala:164: Activate xsettings_manager build-in
** Message: utils.vala:68: User config used : /home/user/.config/lxsession/LXDE/desktop.conf
** Message: utils.vala:89: Final file used : /home/user/.config/lxsession/LXDE/desktop.conf
** Message: app.vala:717: polkit separate
** Message: app.vala:717: polkit separate

** (lxsession:6404): WARNING **: app.vala:86: Failed to execute child process "lxpolkit" (No such file or directory)

** (lxsession:6404): WARNING **: app.vala:87: Error when launching lxpolkit
** Message: utils.vala:68: User config used : /home/user/.config/lxsession/LXDE/autostart
** Message: utils.vala:89: Final file used : /home/user/.config/lxsession/LXDE/autostart
** Message: autostart.vala:42: Autostart path : /home/user/.config/lxsession/LXDE/autostart
** Message: app.vala:76: Launching lxpanel
** Message: app.vala:76: Launching pcmanfm

** (lxsession:6404): WARNING **: app.vala:86: Failed to execute child process "xscreensaver" (No such file or directory)

** (lxsession:6404): WARNING **: app.vala:87: Error when launching xscreensaver
** Message: options.vala:107: Create build-in Clipboard
** Message: main.vala:429: Check keymap_mode (null)

** (lxsession:6404): WARNING **: app.vala:86: Failed to execute child process "/usr/bin/ssh-agent" (No such file or directory)

** (lxsession:6404): WARNING **: app.vala:87: Error when launching /usr/bin/ssh-agent
Obt-Message: Xinerama extension is not present on the server
** Message: x-terminal-emulator has very limited support, consider choose another terminal

** (lxpanel:6420): WARNING **: The directory '~/Templates' doesn't exist, ignoring it

** (pcmanfm:6421): WARNING **: The directory '~/Templates' doesn't exist, ignoring it
Openbox-Message: Invalid button "A-Left" in mouse binding
Openbox-Message: Invalid button "A-Middle" in mouse binding
W: [pulseaudio] authkey.c: Failed to open cookie file '/home/user/.config/pulse/cookie': No such file or directory
Openbox-Message: Invalid button "A-Left" in mouse binding
Openbox-Message: Invalid button "A-Left" in mouse binding
Openbox-Message: Invalid button "A-Left" in mouse binding
Openbox-Message: Invalid button "A-Left" in mouse binding
Openbox-Message: Invalid button "A-Right" in mouse binding
Openbox-Message: Invalid button "A-Right" in mouse binding
Openbox-Message: Invalid button "A-Right" in mouse binding
Openbox-Message: Invalid button "A-Right" in mouse binding
Openbox-Message: Invalid button "A-Middle" in mouse binding
Openbox-Message: Invalid button "A-Middle" in mouse binding
Openbox-Message: Invalid button "A-Middle" in mouse binding
Openbox-Message: Invalid button "A-Up" in mouse binding
Openbox-Message: Invalid button "A-Down" in mouse binding
Openbox-Message: Invalid button "C-A-Up" in mouse binding
Openbox-Message: Invalid button "C-A-Down" in mouse binding
Openbox-Message: Invalid button "A-S-Up" in mouse binding
Openbox-Message: Invalid button "A-S-Down" in mouse binding
Openbox-Message: Invalid button "A-Up" in mouse binding
Openbox-Message: Invalid button "A-Down" in mouse binding
Openbox-Message: Invalid button "C-A-Up" in mouse binding
Openbox-Message: Invalid button "C-A-Down" in mouse binding
Openbox-Message: Invalid button "A-Up" in mouse binding
Openbox-Message: Invalid button "A-Down" in mouse binding
Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"
E: [pulseaudio] main.c: Daemon startup failed.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 1992 requests (1992 known processed) with 0 events remaining.
pcmanfm: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.


sulu 2015-05-18 10:53

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by marmistrz (Post 1470648)
Reporting: on the jessie1 image transmission-gtk segfaults. I'll install gdb and post bt soon.

Thanks!

Quote:

Originally Posted by marmistrz (Post 1470648)
When trying to launch the LXDE, I get a black window and in the log:

Code:

canot create directory `': no such file or directory

Might be hard to debug with this message. All I can say at the moment is that LXDE works for me.

Quote:

Originally Posted by marmistrz (Post 1470648)
Code:

** (lxsession:6404): WARNING **: process.vala:49: Failed to execute child process "xprop" (No such file or directory)

Can you please check if the package x11-utils is installed, if it isn't (default) install it and see if something new happens?

Quote:

Originally Posted by marmistrz (Post 1470648)
Code:

** (lxsession:6404): WARNING **: app.vala:86: Failed to execute child process "lxpolkit" (No such file or directory)

As described here [1] in the lxpolkit step (currently #12) I deliberately deleted /usr/bin/lxpolkit to prevent it from displaying an annoying warning each time LXDE is started. I suspected this may cause trouble and maybe you found it. Can you reinstall the package lxsession from Debian please? This will bring back the warning popup but it may solve your issue.

Quote:

Originally Posted by marmistrz (Post 1470648)
E: [pulseaudio] main.c: Daemon startup failed.

Strange. For me pulseaudio works (tested with speaker-test from alsa-utils).


[1] http://talk.maemo.org/showpost.php?p...postcount=3138

marmistrz 2015-05-18 18:34

Re: Easy Debian Fremantle Beta Testing
 
sulu: I'll post the logs once newer pastebinit hits the repos. Meanwhile, one more report:

Installed mnemosyne. The hildon styling, which was present when using the squeeze image, is missing. Besides, I'm unable to gain keyboard focus if I do `debbie mnemosyne` > File > Sync, and try to input the sever address.

sulu 2015-05-18 21:00

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by marmistrz (Post 1470751)
Installed mnemosyne. The hildon styling, which was present when using the squeeze image, is missing.

That's expected (although I'm not really sure what "hildon styling" means in this context).
Up until Squeeze all images were based on qole's images. qole's goal was to showcase what's possible in a Debian chroot on the N900.
My images starting from Wheezy have a different goal: provide the most basic Debian desktop that a slightly advanced Debian user would be able to handle to turn it into something that fits his personal use case. Therefore my images have no artwork except for the basic LXDE theme.

Quote:

Originally Posted by marmistrz (Post 1470751)
Besides, I'm unable to gain keyboard focus if I do `debbie mnemosyne` > File > Sync, and try to input the sever address.

Most likely the same issue like this one [1]. If so it would be an example of how to make ED "too basic". I'm going to fix that with my next image, but I need a free weekend for that (not the next one).


[1] http://talk.maemo.org/showthread.php?t=94818

marmistrz 2015-05-19 09:19

Re: Easy Debian Fremantle Beta Testing
 
Well, pastebinit seems to be more difficult than expected [1]

Gdb itself seems to have problems [2]

And what was responsible for the UI styling? Where should I look? As "Hildon styling" I meant the darkened, slightly bigger interface.

/edit: Yes, it's the same bug. But why doesn't the window gain focus once it appears, automatically? Besides, the combination fn+enter is already in .xbindkeysrc. Only .kbdactive has to be stripped of sudoes

Would it be possible to set the focus on per-app basis for all app's windows?

[1] http://talk.maemo.org/showthread.php...24#post1470824
[2] http://paste.ubuntu.com/11221952/

marmistrz 2015-05-19 13:39

Re: Easy Debian Fremantle Beta Testing
 
About LXDE - after installing x11-utils LXDE launches. The menu icon in the left top corner is missing, a red x is displayed instead.

transmission-gtk works in LXDE. But adding a torrent is impossible since the window is too big and can't be made smaller.

saponga 2015-05-19 14:16

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by marmistrz (Post 1470867)
transmission-gtk works in LXDE. But adding a torrent is impossible since the window is too big and can't be made smaller.

Try to invoke it from maemo's xterm using debbie <package_name>.

sulu 2015-05-19 14:35

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by marmistrz (Post 1470835)
Gdb itself seems to have problems [2]

I believe it may be related to this bug report. [1]
If so, it wouldn't be a gdb problem but rather the discovery of a dirty openssl trick via gdb.

Quote:

Originally Posted by marmistrz (Post 1470835)
And what was responsible for the UI styling? Where should I look? As "Hildon styling" I meant the darkened, slightly bigger interface.

I think I know what you mean.
By default Maemo's $HOME directory is mounted into ED.
I don't like the idea of this because it tends to create confusion (at least in my head) which config belongs to which OS.
So I made ED not do that a long time ago and I'm not really testing the default case anymore.

Quote:

Originally Posted by marmistrz (Post 1470835)
/edit: Yes, it's the same bug. But why doesn't the window gain focus once it appears, automatically?

Actually it does, but only for a brief moment. During the window buildup sequence it loses the focus immediately to the underlying Maemo CLI. If you start a program via debbie from a terminal and try to input some characters you'll notice that the characters actually end up in the terminal.
The problem is, that you can't get the keyboard focus back to the window via a mouse click (for reasons I don't know). You need your WM to do that. This is what the script does, while most of its "intelligence" is not in switching the focus but in finding the right window.

Quote:

Originally Posted by marmistrz (Post 1470835)
Besides, the combination fn+enter is already in .xbindkeysrc. Only .kbdactive has to be stripped of sudoes

Can you post those two files please?

Quote:

Originally Posted by marmistrz (Post 1470835)
Would it be possible to set the focus on per-app basis for all app's windows?

Sure! If you know how to identify the window (not the app).
One easy way is by window title. The problem with this is that multiple windows may have the same name or that a window title is changed by its application. The more robust way, which is used in the script is via window id.


[1] https://bugs.launchpad.net/raspbian/+bug/1154042

marmistrz 2015-05-19 15:53

Re: Easy Debian Fremantle Beta Testing
 
@saponga: see #3181

Quote:

Originally Posted by sulu (Post 1470873)
I believe it may be related to this bug report. [1]
If so, it wouldn't be a gdb problem but rather the discovery of a dirty openssl trick via gdb.

This happens only when launching via debbie and only in gdb. If I launch transmission-gtk, then a couple of warnings are shown and then I get a segmentation fault. [1] On the other hand, if I launch transmission-gtk through gdb, SIGILL is emitted before anything is written to the terminal. So it must be connected with gdb

Quote:

Originally Posted by sulu (Post 1470873)
I think I know what you mean.
By default Maemo's $HOME directory is mounted into ED.
I don't like the idea of this because it tends to create confusion (at least in my head) which config belongs to which OS.
So I made ED not do that a long time ago and I'm not really testing the default case anymore.

Yep, but my $HOME is mounted (which I find great, since I can use my files from Fremantle) and there's no styling.

Quote:

Originally Posted by sulu (Post 1470873)
Actually it does, but only for a brief moment. During the window buildup sequence it loses the focus immediately to the underlying Maemo CLI. If you start a program via debbie from a terminal and try to input some characters you'll notice that the characters actually end up in the terminal.
The problem is, that you can't get the keyboard focus back to the window via a mouse click (for reasons I don't know). You need your WM to do that. This is what the script does, while most of its "intelligence" is not in switching the focus but in finding the right window.

Quote:

Originally Posted by sulu (Post 1470873)
Can you post those two files please?

They are in the package
Code:

$ dpkg -L easy-deb-chroot | grep "kbdactive\|xbind"
/usr/share/applications/hildon/xbindkeys.desktop
/home/user/.xbindkeysrc
/home/user/.kbdactive

Quote:

Originally Posted by sulu (Post 1470873)
Sure! If you know how to identify the window (not the app).
One easy way is by window title. The problem with this is that multiple windows may have the same name or that a window title is changed by its application. The more robust way, which is used in the script is via window id.

So, a dirty hack assuming there's only one window open. Feel free to improve it. At best a list of windows called "Mnemosyne" should be done and each of the windows fixed.

Code:

mnemosyne &
while [[ $(wmctrl -l | grep Mnemosyne) == "" ]]; do sleep 0.1; done
WINID=`wmctrl -l | grep Mnemosyne | awk '{print $1;}'`
echo $WINID
fixkbd $WINID

Is there any sensible way of finding the window id of the just-launched window?

Still, the problem is that is works only for the parent window. The children windows created by the focused parent remain unfocused. Besides, if I create a new window and gain focus, the parent loses its focus. So it's still far from what's desired.

Btw. LXDE stopped supporting rotation. In the old times with forced rotation I could get the desktop with a portrait resolution. Now not, the desktop stays in the old resolution so is cut off.

[1] http://paste.ubuntu.com/11227096/

marmistrz 2015-05-19 17:16

Re: Easy Debian Fremantle Beta Testing
 
Read thoroughly through the bug report and now I have the transmission-gtk backtrace

http://paste.ubuntu.com/11228638/

marmistrz 2015-05-21 14:14

Re: Easy Debian Fremantle Beta Testing
 
1. It seems that .gtkrc-2.0 has the MurrinaNightOrange theme, so the windows should be themed. What package is missing in the image for it to be done?
2. The font size is very small in Mnemosyne. Can it be increased?
3. The problem with window focus seems to have it's root therein that the window doesn't regain the focus automatically when it's maximized: you can experience it when you go to the task switcher and then back to the affected app.
/edit: 4. transmission-qt causes a watchdog reboot.

marmistrz 2015-05-24 14:31

Re: Easy Debian Fremantle Beta Testing
 
5. /etc/xdg/Trolltech.conf should contain
Code:

[Qt]
style=GTK+

for proper Gtk styling. Doing this with qtconfig does harm to Maemo! (small but still)
6. lxappearance doesn't detect the MurrinaNightOrange theme but it does detect Raleigh

t-b 2015-07-24 18:58

Re: Easy Debian Fremantle Beta Testing
 
Tried to install easy-deb-croot. Couldn't find libxmu6. Tried to fix it with an apt-get but the lib doesn't seem to be available.
This is the second 'app' I try to install with dependency issues - am I missing a repository? I installed CSSU - as far as I know the only repo needed and installed is then extra.

Sohil876 2015-07-24 22:34

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by t-b (Post 1477813)
Tried to install easy-deb-croot. Couldn't find libxmu6. Tried to fix it with an apt-get but the lib doesn't seem to be available.
This is the second 'app' I try to install with dependency issues - am I missing a repository? I installed CSSU - as far as I know the only repo needed and installed is then extra.

Its in nokia repo which are down, search for mirrors posted here.

t-b 2015-07-25 15:00

Re: Easy Debian Fremantle Beta Testing
 
Works, thanks! Great to have Debian on the N900 and have access to a lot of additional software. Thanks to Qole and sulu for the latest updates and support.

t-b 2015-08-03 19:50

Re: Easy Debian Fremantle Beta Testing
 
Tried to install telegram but immediately ran into dependency failures.
https://github.com/vysheng/tg
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make

Beyond my skill set to solve those but before bugging anyone with questions I am wondering - in its current state - is it even possible with easy Debian to install something like telegram?

t-b 2015-08-08 09:19

Re: Easy Debian Fremantle Beta Testing
 
Done some more investigating resolved the biggest hurdle (that prevented me from installing anything)
After that I could install dillo and iceweasel - locale error messages and dbus and dbus-x11 error, but they still are installed and seem to work.

After that installed libreadline-dev libconfig-dev

libssl-dev
Result the following packages have unmet dependencies : libssl-dev: Depends: zliblg-dev but it is not going to be installed.
E: Unable to correct problems, you have held broken packages.

Anyone knows how to solve this?

The following dependencies are needed as well - lets see if those can be installed:

lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make

t-b 2015-08-08 12:05

Re: Easy Debian Fremantle Beta Testing
 
Installed lua5.2 - libevent-dev - libjansson-dev and make

Following issues:

liblua5.2-dev : depends libc6-dev but it is not going to be installed.
E: Unable to correct problems, you have held broken packages.
libpython-dev doesn't exist so I tried python-dev and this results in another dependency issue
python-dev : depends python2.7-dev (>=2.7.3.1~) but it is not going to be installed.
E: Unable to correct problems, you have held broken packages.

I assume this problem resides in the arm-debian repository and is not related to Easy Debian?

marmistrz 2015-08-09 04:48

Re: Easy Debian Fremantle Beta Testing
 
Maybe try apt-get update? And later apt-get install -f

t-b 2015-08-09 08:14

Re: Easy Debian Fremantle Beta Testing
 
Thanks, forgot to mention I also tried that. Unfortunately it didn't help. Tried to install build-essential to have the ability to compile from source. Also ran into dependency issues installing build-essential - apt-get complained about missing libc6-dev.


All times are GMT. The time now is 23:28.

vBulletin® Version 3.8.8