| Prev | 309   317     318   319   320     321   329 | Next | Last
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)

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/


| Prev | 309   317     318   319   320     321   329 | Next | Last
All times are GMT. The time now is 22:47.

vBulletin® Version 3.8.8