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)

rebhana 2010-06-02 19:33

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by lazzarello (Post 696329)
sudo apt-get install rubygems1.8

this began installing dependencies and in the process broke with a "cannot find ldconfig in path" error. So apt-get is now unable to run because dpkg is broken. this means apt-get -f install also fails, along with apt-get remove.

Weird! From which repositories did you carry out the install?

rebhana 2010-06-02 19:46

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 696417)
Just sent another update to Extras-devel: Easy Debian 0.9.49

Can't see it yet on extras-devel - how long does such an update take usually?

EDIT: Got it now, installed it, and everything looks good. It should quickly go into Extras-testing now - quite a few may shy away from Extras-devel, but will feel less foolhardy to download from testing.

anandv76 2010-06-02 19:48

Re: Easy Debian Fremantle Beta Testing
 
thanks but unfortunately doesnt, in fact i lost the top panel again...and unable to logout again...tried restoring the image file but no luck still...

Quote:

Originally Posted by qole (Post 696395)
anandv76:

I'm afraid you're going to have to just kill LXDE the "ugly way". Hit Ctrl-backspace, then hit the blue X on the tiny "Easy Debian" window. Then use the Close Debian icon to shut down the chroot. Then try again to open Debian LXDE. Hopefully everything should be fixed.


rebhana 2010-06-02 20:07

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by anandv76 (Post 696447)
thanks but unfortunately doesnt, in fact i lost the top panel again...and unable to logout again...tried restoring the image file but no luck still...

The top panel is now gone or there and not clickable? Did you do any heavy modifications of themes or suchlike?

wmarone 2010-06-02 20:16

Re: Easy Debian Fremantle Beta Testing
 
Good job on the keyboard fixes, that was driving me crazy because Easy Debian has filled a few gaps I've run into with Maemo.

I do have a question though. There are a handful of applications I am using in easy debian that do not allow me to right click via a touch and hold. Specifically, I am using EBView (epwing/japanese dictionary viewer) and to activate SCIM I have to bring up the right-click menu and select it via the input methods list (key bindings, etc. don't respond.) Unfortunately EBView just ignores the tap-and-hold, and my solution thus far is to swap the mouse buttons, activate it, and revert.

Is there a way to explicitly send a right-click via a keypress + tap?

anandv76 2010-06-02 20:20

Re: Easy Debian Fremantle Beta Testing
 
top panel gone completely...and i cant get the logout options by pressing on the desktop for a few secs (used to be avialable previously)....another thing that happens is the side panel keeps getting displayed and disappearing in quick succession...until i hold the panel in place by pressing the screen when it stops...not sure whats going on? no, i dont have any themes or anything undesirable cosmetics such like but do have lxde, ica receiver etc.

rebhana 2010-06-02 20:44

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by anandv76 (Post 696514)
top panel gone completely...and i cant get the logout options by pressing on the desktop for a few secs (used to be avialable previously)....another thing that happens is the side panel keeps getting displayed and disappearing in quick succession...until i hold the panel in place by pressing the screen when it stops...not sure whats going on? no, i dont have any themes or anything undesirable cosmetics such like but do have lxde, ica receiver etc.

If you de-install and re-install Easy Debian - just the application, not the image - this should re-install the configuration files for the LXDE panels.

EDIT: To make clean slate, you could do
Code:

rm -r /home/user/.config/lx*
rm -r /home/user/.config/openbox
rm -r /home/user/.config/pcmanfm

after de-installing and before re-installing Easy Debian.

anandv76 2010-06-02 20:48

Re: Easy Debian Fremantle Beta Testing
 
sorry, reverted back to 0.9.46...looks ok now but back to square one with respect to keyboard focus :(

anandv76 2010-06-02 20:50

Re: Easy Debian Fremantle Beta Testing
 
thanks rebhana, i shall try 0.9.48 in a bit...thanks for the help...

Quote:

Originally Posted by rebhana (Post 696560)
If you de-install and re-install Easy Debian - just the application, not the image - this should re-install the configuration files for the LXDE panels.

EDIT: To make clean slate, you could do
Code:

rm -r /home/user/.config/lx*
rm -r /home/user/.config/openbox
rm -r /home/user/.config/pcmanfm

after de-installing and before re-installing Easy Debian.


rebhana 2010-06-02 20:55

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by anandv76 (Post 696564)
sorry, reverted back to 0.9.46...looks ok now but back to square one with respect to keyboard focus :(

If you can be bothered, I would suggest that you now nevertheless upgrade again to the extras-devel version. I don't know what's going on, but perhaps this was just a fluke and you don't have any issues now?

anandv76 2010-06-02 21:04

Re: Easy Debian Fremantle Beta Testing
 
most certainly, and i just did...looks ok for starters and i have the top panel too which seems to be working now. closed a few times and reopened and looks good, so does the keyboard focus. much thanks...

pardon me and this probably is not the place but do you think you would be able to help with:\
http://talk.maemo.org/showthread.php...oomberg&page=2

Quote:

Originally Posted by rebhana (Post 696575)
If you can be bothered, I would suggest that you now nevertheless upgrade again to the extras-devel version. I don't know what's going on, but perhaps this was just a fluke and you don't have any issues now?


rebhana 2010-06-02 21:21

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by anandv76 (Post 696589)
most certainly, and i just did...looks ok for starters and i have the top panel too which seems to be working now. closed a few times and reopened and looks good, so does the keyboard focus. much thanks...

Good that it proved to be no more than a fluke apparently!

Quote:

pardon me and this probably is not the place but do you think you would be able to help with:\
http://talk.maemo.org/showthread.php...oomberg&page=2
I watched the video on that post - that's amazing: a financial guy talking about Easy Debian helping him run software for his trade. He also says he would answer e-mails about how to do that, could he not be reached? I'm certainly incompetent here - I'm just a theoretical physicist and financially illiterate.

rebhana 2010-06-02 22:35

Re: Easy Debian Fremantle Beta Testing
 
qole: what about merging the lxde.desktop and lxdefocus.desktop apps? I found it wasteful to have now two LXDE icons on the desktop and therefore simply hacked fixkbdfocus to have
Code:

if [ "x$FOCUSWIN" = "x" ] ; then                           
  debbie-sue xephwm5                             
#  gxmessage "No window found with the name $1"
#  exit 2                                   
fi

Now I can use the lxdefocus app for both, launching LXDE in the first place and regaining focus later. Perhaps a more proper version of that could go into 0.9.50? E.g., by having a generic script fixkbdfocus and one called fixlxdefocus which differs just by the above hack?

EDIT: while editing, you already made the last point yourself!

EDIT2: I've now replaced all debbie calls in that script by debbie-sue's. That reduces the errors I get with my locales settings and as you know I'm generally running all apps with su -.

qole 2010-06-02 22:39

Re: Easy Debian Fremantle Beta Testing
 
rebhana: good point. I should have another script that runs either the LXDE startup script or the fixkbdfocus script depending on whether LXDE is running...

I've put 0.9.49 into Extras-Testing, but maybe I'll rush out a 0.9.50 version with the single LXDE icon to make things better.

rebhana 2010-06-02 23:06

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 696798)
I've put 0.9.49 into Extras-Testing, but maybe I'll rush out a 0.9.50 version with the single LXDE icon to make things better.

Great! My hack is really just quick and dirty as it leaves a terminal window open in the background. I'm sure you'll come up with an elegant solution to that!

qole 2010-06-03 00:32

Re: Easy Debian Fremantle Beta Testing
 
Sometimes it is really good to have a theoretical physicist who's "got your back".

Anyway, I've uploaded 0.9.50 to Extras-devel which features an LXDE icon that first tries to raise an existing LXDE window, and if it fails to find one, it will start a new LXDE session.

In the process of doing this, I've again improved the keyboard hack. The terminal is only started now for the actual keyboard hack, not for the whole script. So if you haven't started LXDE yet, the terminal won't show, and if you're trying to get keyboard focus, the terminal will only flash for a brief second.

I've kept the keyboard focus icon, for legacy purposes, but it really isn't needed anymore. You can use the LXDE icon for everything.

Thanks again, rebhana.

mscion 2010-06-03 02:31

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 696911)
Sometimes it is really good to have a theoretical physicist who's "got your back".

Anyway, I've uploaded 0.9.50 to Extras-devel which features an LXDE icon that first tries to raise an existing LXDE window, and if it fails to find one, it will start a new LXDE session.

In the process of doing this, I've again improved the keyboard hack. The terminal is only started now for the actual keyboard hack, not for the whole script. So if you haven't started LXDE yet, the terminal won't show, and if you're trying to get keyboard focus, the terminal will only flash for a brief second.

I've kept the keyboard focus icon, for legacy purposes, but it really isn't needed anymore. You can use the LXDE icon for everything.

Thanks again, rebhana.

Works nice! Thank you all.

qole 2010-06-03 06:09

Re: Easy Debian Fremantle Beta Testing
 
0.9.50 promoted to Extras-testing, first post updated.

Mark June 13th on your calendars. That's when the keyboard fix will be delivered to the masses.

rebhana 2010-06-03 08:52

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 697122)
0.9.50 promoted to Extras-testing, first post updated.

Mark June 13th on your calendars. That's when the keyboard fix will be delivered to the masses.

I've installed and tested it. The first time I tried out fixing the keyboard by clicking on the LXDE icon again I ended up with LXDE in task manager again, but after that it always restored to full screen with working keyboard. I guess we shall get more statistics on that after June 13...

I've updated the wiki, pointing users already to Extras-testing. That will have to be cleaned up after June 13.

Since I was not completely successful in my push for "su -": in particular to those with non-English keyboards and having reconfigured locales I recommend to edit the new script /usr/bin/debwm and to replace "debbie" by "debbie-sue":
Code:

fixkbdfocus "N/A Easy Debian"
if [ "$?" = 2 ] ; then
  debbie-sue xephwm5
fi

Without that localization will be incomplete and special characters from the keyboard won't display in ROXTerm, for instance. (OO and other applications don't seem to have a problem with the keyboard.)

Also for the Deb chroot terminal, replacing "sudo debian" by "sudo debsu" in /usr/share/applications/hildon/debchroot.desktop gets rid of lots of spurious warning messages when installing from the command line.

Actually, I recommed debbie-sue over debbie for everyone and everywhere as some additional programs that I have installed (zim, gramps) had problems to varying degrees without the "su -" and it's not clear to me that that's only because of localization.

qole, since you were reluctant to include "su -", with 0.9.50 in testing, perhaps it would be good to have 0.9.51 with the above changes provided through extras-devel. It would make it easier to point people with localization issues to extras-devel than to have them do all those editing by themselves. This way we might get more feedback on whether "su -" should be the default behavior in the future as users would have a convenient choice between the two setups.

niqbal 2010-06-03 09:26

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 697122)
0.9.50 promoted to Extras-testing, first post updated.

Mark June 13th on your calendars. That's when the keyboard fix will be delivered to the masses.

i have just started to download easy debian, haven't used it before. now does the image loads three programs by default, how can i go about so only open office installs? are there any workarounds for that

rebhana 2010-06-03 10:06

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by niqbal (Post 697318)
i have just started to download easy debian, haven't used it before. now does the image loads three programs by default, how can i go about so only open office installs? are there any workarounds for that

The Debian image contains a lot more programs than three. I guess you mean the application icons "OpenOffice", "Iceweasel Web B" and "Synaptic Pkg Mg"? If you don't like the last two shortcuts, just delete "/usr/share/applications/hildon/iceweasel.desktop" and "/usr/share/applications/hildon/synaptic.desktop".

anandv76 2010-06-03 10:22

Re: Easy Debian Fremantle Beta Testing
 
thanks rebhana! unfortunately, no response to my emails to the chap. havent lost hope yet :)

Quote:

Originally Posted by rebhana (Post 696625)
Good that it proved to be no more than a fluke apparently!


I watched the video on that post - that's amazing: a financial guy talking about Easy Debian helping him run software for his trade. He also says he would answer e-mails about how to do that, could he not be reached? I'm certainly incompetent here - I'm just a theoretical physicist and financially illiterate.


Sash 2010-06-03 12:07

Re: Easy Debian Fremantle Beta Testing
 
I'm trying out the new Debian version in Testing but I'm still having trouble with the keyboard once I run another Maemo application.

I tried hitting the power button and then tapping outside the menu, but then it makes it worse as I'm unable to access the control panel. And then there's no way to exit LXDE other than rebooting my phone as pressing Ctrl+backspace doesn't do anything.

rebhana 2010-06-03 13:54

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Sash (Post 697545)
I'm trying out the new Debian version in Testing but I'm still having trouble with the keyboard once I run another Maemo application.

I tried hitting the power button and then tapping outside the menu, but then it makes it worse as I'm unable to access the control panel. And then there's no way to exit LXDE other than rebooting my phone as pressing Ctrl+backspace doesn't do anything.

The power button trick no longer works. Indeed, it now has the reverse effect of removing the keyboard focus and even disabling Ctrl+Backspace (which is still there usually when keyboard focus is lost after coming back from the task manager)! However, in such situations, I can still tap on the LXDE menu with the stylus and shut down LXDE regularly. I remember having once also lost the touchscreen, even with the power button menu frozen, where I had to do a hard shutdown. But that was prior to PR1.1.1 I think. So avoid the power button when in LXDE!

EDIT: Just discovered a way to get to the Task Manager when everything else fails: Open the camera lens and close the camera app again! :D

anandv76 2010-06-03 14:14

Re: Easy Debian Fremantle Beta Testing
 
i had to revert to this to be even able to kill lxde the "ugly way"...not upgrading to 0.9.50 yet, happy with ver.49 for now...

Quote:

Originally Posted by rebhana (Post 697715)
EDIT: Just discovered a way to get to the Task Manager when everything else fails: Open the camera lens and close the camera app again! :D


rebhana 2010-06-03 15:15

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by anandv76 (Post 697738)
i had to revert to this to be even able to kill lxde the "ugly way"...not upgrading to 0.9.50 yet, happy with ver.49 for now...

In fact, using the camera trick, you shouldn't have to kill LXDE the ugly way, since then you should be able to go back to LXDE with restored keyboard. Except if the stylus stopped working because of some weird cosmic ray event...

Upgrading to 0.9.50 is no sweat at all since you don't have to change anything in the image. If you have done some configuations of LXDE, you could however backup the directory /home/user/.config to be able to quickly revert any changes to that.

MaltedVomit 2010-06-03 16:28

Re: Easy Debian Fremantle Beta Testing
 
I installed 0.9.50 this morning, at first everything was fine. i set up my panel the way i like it, shut down, then opened easy debian back up. this time the panel loads then closes in a continuous loop. this makes it unusable. is anyone else having this problem?

rebhana 2010-06-03 16:31

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by MaltedVomit (Post 697975)
I installed 0.9.50 this morning, at first everything was fine. i set up my panel the way i like it, shut down, then opened easy debian back up. this time the panel loads then closes in a continuous loop. this makes it unusable. is anyone else having this problem?

Never seen such a behavior. To start all over, you won't have to reinstall the image. Just de-install Easy Debian through the application manager and re-install.

anandv76 2010-06-03 16:32

Re: Easy Debian Fremantle Beta Testing
 
yesterday, i couldnt get keyboard focus on lxde at all as the top panel wasnt working first and then disappeared completely...

Quote:

Originally Posted by rebhana (Post 697849)
In fact, using the camera trick, you shouldn't have to kill LXDE the ugly way, since then you should be able to go back to LXDE with restored keyboard. Except if the stylus stopped working because of some weird cosmic ray event...

Upgrading to 0.9.50 is no sweat at all since you don't have to change anything in the image. If you have done some configuations of LXDE, you could however backup the directory /home/user/.config to be able to quickly revert any changes to that.


qole 2010-06-03 16:37

Re: Easy Debian Fremantle Beta Testing
 
MaltedVomit:

It would be useful to me if you started LXDE from the terminal, instead of the icon. At the terminal, enter:

Code:

debbie xephwm5
I'm hoping that when the panel goes into the continuous open/close loop, that there will be some messages sent to the terminal that we can use to determine what's going on.

It looks like I get "Could not init font path element /usr/share/fonts/X11/..." a few times, then "unrecognised device identifier!" twice, and then things are quiet.

Could you see if you get any more messages than that?

Also, I find closing the chroot really can fix a lot of problems. Use the "Close Debian" icon before starting again.

rebhana 2010-06-03 16:38

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by anandv76 (Post 697983)
yesterday, i couldnt get keyboard focus on lxde at all as the top panel wasnt working first and then disappeared completely...

If you somehow managed to screw up the LXDE configuration files, the easiest solution would be imo to just de-install and re-install Easy Debian through the application manager, leaving the image as is.

MaltedVomit 2010-06-03 17:25

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 697991)
MaltedVomit:

It would be useful to me if you started LXDE from the terminal, instead of the icon. At the terminal, enter:

Code:

debbie xephwm5
I'm hoping that when the panel goes into the continuous open/close loop, that there will be some messages sent to the terminal that we can use to determine what's going on.

It looks like I get "Could not init font path element /usr/share/fonts/X11/..." a few times, then "unrecognised device identifier!" twice, and then things are quiet.

Could you see if you get any more messages than that?

Also, I find closing the chroot really can fix a lot of problems. Use the "Close Debian" icon before starting again.

Sorry qole, i already reinstalled and that fixed the problem. should i be closing the chroot every time i close out of easy debian? or just when i have a problem? I've been logging out or shutting down when i close out because i read to do that somewhere in this thread.

rebhana 2010-06-03 17:32

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 697991)
It looks like I get "Could not init font path element /usr/share/fonts/X11/..." a few times, then "unrecognised device identifier!" twice, and then things are quiet.

Could you see if you get any more messages than that?

qole, sorry for having prevented a closer analysis.

I have looked into the error messages and warnings I'm getting from launching xephwm5, and there are a few more involving inet6:
Code:

(process:5900): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/Nokia-N900-42-11:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
unrecognised device identifier!
unrecognised device identifier!
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.

The warning about unsupported Locale is btw absent when I call ephwm5 with debbie-sue.

qole 2010-06-03 17:33

Re: Easy Debian Fremantle Beta Testing
 
MaltedVomit:

No big deal, I would just like to know what causes problems like the one you suffered.

I find that hitting the "Close Debian" icon after you've logged out of LXDE is a good practice, just to ensure that nothing from your Debian session is lingering in the background, eating your battery. Also, I think keeping the image open can cause other performance issues.

qole 2010-06-03 17:37

Re: Easy Debian Fremantle Beta Testing
 
Please, anyone who is non-English speaking, with some technical savvy, could you verify rebhana's observations about "debbie-sue" producing better results than "debbie"?

You need to have Easy Debian 0.9.49 or 0.9.50 installed.

Please start LXDE from the icon, as you normally do, and try to type non-english symbols into the terminal. Logout. Then, run "debbie-sue xephwm5" from the terminal, and try the same thing again. Does "debbie-sue" improve things for you?

I would like to determine how important this issue is to the wider audience of Easy Debian.

MaltedVomit 2010-06-03 18:03

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 698048)
MaltedVomit:
I find that hitting the "Close Debian" icon after you've logged out of LXDE is a good practice, just to ensure that nothing from your Debian session is lingering in the background, eating your battery. Also, I think keeping the image open can cause other performance issues.

I see, makes sense. I placed a shutdown icon on my lxde desktop to make it a little easier to shut down. So just a thought, would it be possible to create an icon on the lxde desktop for shutting down and closing the chroot? basically just one "exit" button that would shutdown and close everything the proper way. it would cut down a couple steps and hopefully avoid some of the possible problems you talked about.

jackburton 2010-06-03 19:03

Re: Easy Debian Fremantle Beta Testing
 
What's the fastest Micro SDHC card anybody has run Easy-Debian from? Has anybody tried a Class 10? Is there a noticeable difference depending on Class?

rebhana 2010-06-03 20:22

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by MaltedVomit (Post 698102)
I see, makes sense. I placed a shutdown icon on my lxde desktop to make it a little easier to shut down. So just a thought, would it be possible to create an icon on the lxde desktop for shutting down and closing the chroot? basically just one "exit" button that would shutdown and close everything the proper way. it would cut down a couple steps and hopefully avoid some of the possible problems you talked about.

That's not so trivial, because the shutdown of LXDE is a command issued in the Debian chroot environment, and the closing of chroot needs to be done from outside that.

I personally have the Debian image mounted most of the time with no adverse effect. However I have a CPU monitor in the status bar which would alarm me if something would run in the background drowning the battery. When that happens, it's usually something within Maemo, not Debian. However, if you are not completely sure what you have done within Debian, it's probably better to close everything afterwards.

wolfs are great!!! 2010-06-04 04:30

Re: Easy Debian Fremantle Beta Testing
 
I have some things to say.

First, Qole, I am using a N810. NOW how do I extract it?

Second, this goes to everyone. Can SOMEONE tell me the boot order(s) for a N810?

qole 2010-06-04 06:08

Re: Easy Debian Fremantle Beta Testing
 
wolfs: head over to this post in the N810 thread and read my instructions in that post and my next ones.


All times are GMT. The time now is 13:55.

vBulletin® Version 3.8.8