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)

dannycamps 2010-09-05 18:27

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by extendedping (Post 808021)
sorry I keep trying to catch the mysqld output in top but I can't grab it (due to it refreshing) but it is still there.

Just run the following command from X-term to see if mysql is still running:

ps -eaf | grep mysqld

cloud596 2010-09-05 19:48

Re: Easy Debian Fremantle Beta Testing
 
well guys. I had problem while i open openoffice shortcut under maemo. Accidently i touch style and formatting. I cant go back to main apps cause there is no (x) close button.
But its weird in debian i can open openoffice.org and close style and formatting.
Any way is this we can use physicall keyboard.
Sorry i ve searched under search engine but nothing.
Iam to lazy to seek page/page.
Thanx fur uy advance

extendedping 2010-09-05 19:55

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by dannycamps (Post 808028)
Just run the following command from X-term to see if mysql is still running:

ps -eaf | grep mysqld

~ $ ps -eaf |grep -i mysql
1801 root 4548 S /bin/sh /usr/bin/mysqld_safe
2081 101 77896 S /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
2082 root 3368 S logger -p daemon.err -t mysqld_safe -i -t mysqld
~ $

and to show I do not have it in maeme

$ sudo dpkg -l |grep -i mysql
~ $

thanks.

rebhana 2010-09-05 20:31

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by cloud596 (Post 808078)
well guys. I had problem while i open openoffice shortcut under maemo. Accidently i touch style and formatting. I cant go back to main apps cause there is no (x) close button.
But its weird in debian i can open openoffice.org and close style and formatting.
Any way is this we can use physicall keyboard.
Sorry i ve searched under search engine but nothing.
Iam to lazy to seek page/page.
Thanx fur uy advance

For this you need the function keys F1-F12, which with "Set Deb HW Keys" are mapped to Fn+Shift+(first row of the keyboard). To get out from Styles&Formatting, you have to press F11 this way.

You don't have to read all of this thread for finding that out, it's like most of the important things in the wiki: http://wiki.maemo.org/Easy_Debian#Se..._and_xbindkeys

qole 2010-09-06 17:06

Re: Easy Debian Fremantle Beta Testing
 
It seems that it would be a good idea to add shutdown scripts to closechroot. That way, you could shut down problem services like mysqld.

I'll try to add that this week.

extendedping 2010-09-06 22:13

Re: Easy Debian Fremantle Beta Testing
 
Thank you quole.

petrelli 2010-09-07 10:08

Re: Easy Debian Fremantle Beta Testing
 
A question,

Is there a fast|automated way to uninstall all unneeded packages, without having to select one per one (with no idea of which ones are important and which not), in order to leave the minumum system possible??

I've installed some programs, these have installed some other packages. Now I don't know how to uninstall all the packages, and I'm having the sensation that the system is getting biger and biger ...

mscion 2010-09-07 13:51

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 800865)
After my N900 got stolen and I finally got a new one, I had to reinstall Easy Debian. Fortunately I had kept records of what I had been doing with Easy Debian over the last half year.
On http://wiki.maemo.org/User_talk:Rebhana I have now compiled a concise list of modifications and additions to Easy Debian that I think might be useful to other users of Easy Debian, including a list of packages that I've installed successfully and that I'm actually using regularly.

Very sorry about your n900. Hope you could take advantage of the rebates.

Anyways, Thanks for creating this wiki.

Question. When in LDXE, running pdflatex on a tex file with some figures and images seems to work beautifully. Equations that are fairly complicated come out true and figures look good. But if I run "debbie pdflatex file.tex" from the terminal outside LDXE I run out of space.
Or, if after running apt-get clean and then the pdflatex command (out of root of course) I just get an error "fwrite() failed

Anyway to fix this as it is nice to directly use debbie and not bring up LDXE

rebhana 2010-09-07 17:22

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 809536)
Question. When in LDXE, running pdflatex on a tex file with some figures and images seems to work beautifully. Equations that are fairly complicated come out true and figures look good. But if I run "debbie pdflatex file.tex" from the terminal outside LDXE I run out of space.
Or, if after running apt-get clean and then the pdflatex command (out of root of course) I just get an error "fwrite() failed

I have no problem running pdflatex outside of LXDE - actually I hardly use LXDE at all.

Perhaps your issue is that your working directory is "/" when you run pdflatex and then you might be in danger of running out of disk space if you have filled your Debian image to the brim! But if you really run your commands by the one line you wrote, it might have just tried to process everything in "/" and failed because user cannot write there.

Try debbie-sue instead of debbie, that will give you /home/user as default working directory. If you want to use some designated directory for your LATeX processing, optimally in MyDocs, you should better first enter a debbie terminal, change to that directory, and then do your processing. Or define a shortcut as described here to be able to run with one line from XTerminal.

mscion 2010-09-07 18:05

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 809794)
I have no problem running pdflatex outside of LXDE - actually I hardly use LXDE at all.

Perhaps your issue is that your working directory is "/" when you run pdflatex and then you are in fact in danger of running out of disk space! If you really run your commands by the one line you wrote, it might have processed everything in "/" and failed because user cannot write there.

Try debbie-sue instead of debbie, that will give you /home/user as default working directory. If you want to use some designated directory for your LATeX processing, optimally in MyDocs, you should better first enter a debbie terminal, change to that directory, and then do your processing. Or define a shortcut as described here to be able to run with one line from XTerminal.

Thanks! Using debbie-sue did the trick. It took me a while but
I now see the benefit of running applications from the command line instead of first running LDXE.

nenavata 2010-09-07 19:21

Re: Easy Debian Fremantle Beta Testing
 
Installed easy debian.working fine except the following issues.
1.How to increase font size?
2.Iceweasel web B sun issue.not getting opened java applets.
3.Querty keyboard is alphabets are working but nubers are not working.What to do please help me?

extendedping 2010-09-08 19:58

Re: Easy Debian Fremantle Beta Testing
 
ok I have commented out mysql in $chroot/var/run for now.

If it is any help in troubleshooting, I got mysql installed as a dependancy while installing drupal via apt-get...

mscion 2010-09-09 12:41

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 807853)
OK, this is perhaps only something of interest to theoretical high energy physicists, superstring theorists and the like: I've successfully installed and tested the computer algebra system Cadabra in Easy Debian. Cadabra is now available in Debian squeeze and can be installed from there with
Code:

apt-get install cadabra texlive-latex3
(texlive-latex3 is a missing dependency). On my installation, it was just barely possible given the space limitations, but once installed it runs nicely and fast with "debbie xcadabra".

Hi Rebhana, I was trying to install cadabra but ran out of space.
Would moving and constructing the symoblics links for doc and archives as suggested in your wiki help here?

One more thing, I see you actually move archives to archives-
and then create a link for archives. Is this to just keep an addtional
record of files?


Update:
Tried setting the symbolic links and cadabra compiled. Thanks again for the useful wiki!

avidscavenger 2010-09-10 03:35

Re: Easy Debian Fremantle Beta Testing
 
Still trying to figure out what's making closechroot shut down my N900. qole, can you explain why you use 'fuser -m' and not simply 'fuser'? If I take out the '-m' then it correctly identifies those processes that are accessing files under the /.debian

I guess this is a bug in fuser (and also in the gnu version). But really just looking for a fix. :)

qole 2010-09-10 04:23

Re: Easy Debian Fremantle Beta Testing
 
avidscavenger:

As the fuser man page says:

-m name specifies a file on a mounted file system or a block device that is mounted. All processes accessing files on that file system are listed. If a directory file is specified, it is automatically changed to name/. to use any file system that might be mounted on that directory.


I suspect the way your encrypted partition is mounted is causing your problems with Easy Debian.

A simple workaround for your problem is to find the line in /sbin/closechroot that says:

Code:

TEST1=`mount | grep " $CHROOT "`
and stick a # at the beginning. Then add another line, so it looks like this by the end:

Code:

#TEST1=`mount | grep " $CHROOT "`
TEST1=""

This will make the closechroot not use the -m option at all.

avidscavenger 2010-09-10 04:34

Re: Easy Debian Fremantle Beta Testing
 
I tried something like that and it does indeed appear to work. My question was about what the purpose of the '-m' was and if the code works well without it then why not remove it completely?

qole 2010-09-10 05:28

Re: Easy Debian Fremantle Beta Testing
 
Under normal circumstances (when Easy Debian is a mounted filesystem in an image file or a partition), the -m makes sense, and it is the default.

Perhaps for your case, avidscavenger, I should write an exception to the rule; I could have it check for an encrypted partition... Is there anything special about the mount entry for your partition that I could search for?

avidscavenger 2010-09-10 05:50

Re: Easy Debian Fremantle Beta Testing
 
There is nothing special about my case that I can detect - I'm not even certain that it's because the partition is encrypted, it may be because it contains an ext2 rather than vfat partition, or it may be connected with the device mapper. I have another SD card to play with so when I find the time I'll try a few things to see if I can pin the problem down. At least I have a workaround for the time being.

On an unrelated issue - I often find myself coping /etc/resolv.conf from the native Maemo filesystem to the Easy Debian filesystem so that I have domain resolution available for debian apps. Would it make sense to automate this?

Thanks for your enthusiasm and prompt responses!

qole 2010-09-10 06:05

Re: Easy Debian Fremantle Beta Testing
 
avidscavenger, could you please enter "mount" into your terminal when both Easy Debian and your encrypted partition are mounted, and paste here the two lines for those two mounts?

Also, what you ask for is automated. sudo synchroot will copy all the needed stuff to your chroot to make it work.

avidscavenger 2010-09-10 06:28

Re: Easy Debian Fremantle Beta Testing
 
I guess these are the two lines:

> /dev/mapper/mmc1 on /media/mmc1 type ext2 (0)
> /dev/dm-1 on /.debian type ext2 (noatime,nobh,nodiratime)

Necc 2010-09-10 06:35

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by nenavata (Post 809919)
...
3.Querty keyboard is alphabets are working but nubers are not working.What to do please help me?

Press and hold fn.

qole 2010-09-10 08:00

Re: Easy Debian Fremantle Beta Testing
 
avidscavenger: I've built-in a test to check for "/dev/mapper" in the next version. Thanks for your help.

qole 2010-09-10 08:08

Re: Easy Debian Fremantle Beta Testing
 
extendedping: The next version will also have support for pre-close scripts, the same as the post-open scripts:

Place any (Maemo) commands you wish to run before you close the chroot into the /var/run/onclosechroot-ext.rc file (inside your rootfs),
Place any commands you wish to run from inside the chroot before you close the chroot into the /var/run/onclosechroot.rc file (inside your rootfs)

Straycat 2010-09-10 08:19

Re: Easy Debian Fremantle Beta Testing
 
Nothing but to say that qole is my hero.

extendedping 2010-09-10 08:36

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 812405)
extendedping: The next version will also have support for pre-close scripts, the same as the post-open scripts:

Place any (Maemo) commands you wish to run before you close the chroot into the /var/run/onclosechroot-ext.rc file (inside your rootfs),
Place any commands you wish to run from inside the chroot before you close the chroot into the /var/run/onclosechroot.rc file (inside your rootfs)


Thats great but...

Shouldn't you be in bed (Baby keeping you up too)???

mscion 2010-09-10 14:35

Re: Easy Debian Fremantle Beta Testing
 
This probably been addressed in the wiki but I didn't understand how to fix...

When running xcadabra (or xmaxima) I need to use curly brackets to make
tensors (i.e. A_{a,b}). Fortunately, in LDXE it works fine because I have xbindkeys
set up to make these. For example, "control left arrow" is defined to make a {.
However, when using debbie In xterminal the new key defintions
did not work. I tried "debbie xbindkeys" and "debbie-sue xbindkeys" to see if the keys
would be redefined but no luck.

Any idea how to fix this?

groxx 2010-09-10 16:41

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 806683)
Now I have discovered that there is an alternative GUI for maxima, wxmaxima, which has the advantage that it also runs nicely with debbie and is much more convenient to use. It can be installed from lenny-backports by
Code:

apt-get -t lenny-backports install wxmaxima
Maxima commands are executed by Shift+Return, provided one has selected "Enter evaluates cells" in the configure menu and xbindkeys is running (the "Set Deb HW Keys" icon). If the configure menu is too much scrambled under debbie, you can also do it from LXDE.

Hi there! Thanks for this super-hint rebhana! :)
I was looking for some application like this!
But now i think there's a problem.

I used this application happily since i red your comment, no problems - everything was fine. Yesterday i had to flash my N900 because i ruined my phone by some creepy apps (probably). So i flashed it including the kernel, setting up everything thing needed also easy-debian (0.9.53-1). I installed the new version of Open-Office described in the wiki via squeeze-repository (it was enabled only during OO-instalation). After this i tried installing wxmaxima as well but now there is this problem:
Starting wxmaxima but nothing happens. It says "maxima startet, waiting for connection" in the lower right corner - thats all. I can't input anything, after a wile it is crashing. While i was searching for solutions i found some related bugs (here, here and here).

I posted this issue in this thread because i can imagine the error might be depending on a newer version of easy-debian. Is ist also possible that there are missing packages? :confused:

groxx 2010-09-10 16:50

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 812677)
When running xcadabra (or xmaxima) I need to use curly brackets to make
tensors (i.e. A_{a,b}). Fortunately, in LDXE it works fine because I have xbindkeys [...]
Any idea how to fix this?

Yep... you can try remapping the keyboard described on this helpfull page

Probably there are other solutions...

rebhana 2010-09-10 17:30

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by groxx (Post 812816)
I posted this issue in this thread because i can imagine the error might be depending on a newer version of easy-debian. Is ist also possible that there are missing packages? :confused:

Weird! So you did exactly as I described above? OO from squeeze, but the rest from lenny, and wxmaxima from lenny-backports? (I read somewhere wxmaxima from lenny would have problems, but don't know which precisely, so make sure you got wxmaxima from lenny-backports!)

For comparison, my versions are
Code:

maxima        5.13.0-3.1
xmaxima        5.13.0-3.1
wxmaxima      0.8.2-1~bpo50+1


mscion 2010-09-10 17:37

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by groxx (Post 812827)
Yep... you can try remapping the keyboard described on this helpfull page

Probably there are other solutions...

Thanks for the info. I like the way I have currently set up my
keymapping using .xbindkeysrc so I was hoping I could still utilize this.
In an earlier post (1704) I noticed the use of

Exec=debbie "xbindkeys; wxmaxima"

and thought I could do the same but it did not work for me.

rebhana 2010-09-10 17:39

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 812677)
When running xcadabra (or xmaxima) I need to use curly brackets to make
tensors (i.e. A_{a,b}). Fortunately, in LDXE it works fine because I have xbindkeys
set up to make these. For example, "control <" is defined to make a {.
However, when using debbie In xterminal the new key defintions
did not work. I tried "debbie xbindkeys" and "debbie-sue xbindkeys" to see if the keys
would be redefined but no luck.

Any idea how to fix this?

I also had some problems using xbindkeys as I described earlier in this thread - some special characters simply couldn't be accessed. But xbindkeys is still useful for fullscreen toggle and the like.

What I'm doing is exactly what groxx suggested: I use a heavily modified rx51 file in debbie. There is also a page in the Maemo wiki on that.

mscion 2010-09-10 17:43

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 812870)
I also had some problems using xbindkeys as I described earlier in this thread - some special characters simply couldn't be accessed. But xbindkeys is still useful for fullscreen toggle and the like.

What I'm doing is exactly what groxx suggested: I use a heavily modified rx51 file in debbie. There is also a page in the Maemo wiki on that.

Thanks groxx and rebhana. I will give it a try.

rebhana 2010-09-10 17:54

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by mscion (Post 812876)
Thanks groxx and rebhana. I will give it a try.

There are two important things to take care of, as mentioned in the wiki: don't make a backup copy of the rx51 in its native directory, and also test the new rx51 before rebooting your device.

groxx 2010-09-10 20:56

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 812864)
For comparison, my versions are
Code:

maxima        5.13.0-3.1
xmaxima        5.13.0-3.1
wxmaxima      0.8.2-1~bpo50+1


Hi! Yes - I had and have exactly the same versions!

But it's getting more wired...
I now removed wxmaxima completely using Synaptic. There were some packages hold back (some tex packages for example). I then started the Debian chroot terminal intending to install evince. When i used...

Code:

apt-get update
apt-get install evince

.. i was told about the hold back packages and to use

Code:

apt-get autoremove
I did so and decided to install kile (which also depends on some tex packages) via apt-get. Then i had a cup of coffee and thought about giving wxmaxima a last chance. I installed wxmaxima (for the 5th time after the flashing) and it is now working well. No problems at all!

I don't want to say the tex-packages are responsible for the error! But before i did the autoremove and the kile-installation i tried to install wxmaxima several times without success. Maybe there are dependencies to some of those packages...?


Thx for your time thinking about my problem - i think it's solved now :)

qole 2010-09-12 05:32

Re: Easy Debian Fremantle Beta Testing
 
New version of easy chroot addresses the closechroot issues discussed above.

extendedping, install the new version and put an explicit command to shut down your problem services into the /var/run/onclosechroot.rc script. Report if that fixes your problems.

avidscavenger, see if this version addresses your problems.

extendedping 2010-09-12 08:28

Re: Easy Debian Fremantle Beta Testing
 
Thanks, I downloaded the latest version. first off after opening easy debian I thought zI would see /var/run/onclosechroot but it was not there. I created a file of that name and put the command /etc/init.d/mysql stop in it but top/ps -ef after the debian down icon still shows mysqlrunning :(

TheBurek 2010-09-12 11:43

Re: Easy Debian Fremantle Beta Testing
 
I just had an idea, and it seems noone mentioned such a thing here before. I'm no expert on X servers and their input handling, and I guess it wouldn't be so easy to do - but I think a "touchpad mode" would be very useful in Easy Debian LXDE. Idea is to control the cursor like you would using a touchpad on a laptop (relative, not absoulute). With adjustable sensitivity and acceleration, I think it could be easier to point at things. Maybe a reserved portions of screen for left and right click, etc. Does anyone else think this would be useful? Any thoughts on implementation?

extendedping 2010-09-12 15:10

Re: Easy Debian Fremantle Beta Testing
 
btw I checked both /var/run in maemo and in easy debian for a onclosechroot script after downloading the new version, did not see a file, so I created one in $chroot/var/run. It has the exact same permissions as the onfirstchroot.rc.

:(

qole 2010-09-12 16:17

Re: Easy Debian Fremantle Beta Testing
 
extendedping: please make sure you chmod +x the onclosechroot.rc script. I know you don't have to do that for the open scripts, but you seem to need it for the close scripts... (I'll try to fix that)

Also, if you're still having problems, reboot, open a terminal, "sudo debian", "exit", and "closechroot" then post the closechroot output here...

extendedping 2010-09-12 16:25

Re: Easy Debian Fremantle Beta Testing
 
ok will do that now...and just to make sure I am using the correct version...the script is not there by default like the others were? it needs to be created by the user...


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

vBulletin® Version 3.8.8