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)

qole 2011-02-24 20:00

Re: Easy Debian Fremantle Beta Testing
 
leetnoob: you shouldn't see that text once LXDE starts. It should be a wallpaper.

If you are updating with apt-get, always remember to use --no-install-recommends (which is the same as unchecking "consider recommended packages as dependencies")

leetnoob 2011-02-24 22:07

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 954776)
leetnoob: you shouldn't see that text once LXDE starts. It should be a wallpaper.

If you are updating with apt-get, always remember to use --no-install-recommends (which is the same as unchecking "consider recommended packages as dependencies")

I think the main problem is if us mere mortals use synaptic and enable lots of repositories synaptic always ticks "prefer higher version" which seems to be causing most of the reboot problems as higher is not always more stable i guess.

wrt the background wallpaper I had to go into pcman file manager and enable "manage desktop" in preferences, but it puts a "my documents" folder on the desktop which i don't want. I was wondering if there's a workaroud like me replacing the image which has the ctrl-back image.

qole 2011-02-24 22:30

Re: Easy Debian Fremantle Beta Testing
 
leetnoob: I put that message there using habak, you can use it to put an image there instead. I think it is something like
Code:

habak -hi /path/to/image.jpg
EDIT: You can randomly choose a wallpaper from the 800x480 selection I include with Easy Debian by issuing the following command:

Code:

habak -hi /usr/share/wallpapers/

leetnoob 2011-02-24 23:12

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 954843)
leetnoob: I put that message there using habak, you can use it to put an image there instead. I think it is something like
Code:

habak -hi /path/to/image.jpg
EDIT: You can randomly choose a wallpaper from the 800x480 selection I include with Easy Debian by issuing the following command:

Code:

habak -hi /usr/share/wallpapers/


bizarre... it doesn't work it always reverts to the ctrl-back image when i restart. it works in the session only. i've even used sudo.. I'll poke around and see why.

qole 2011-02-24 23:35

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by leetnoob (Post 954877)
bizarre... it doesn't work it always reverts to the ctrl-back image when i restart. it works in the session only. i've even used sudo.. I'll poke around and see why.

Yes it will revert each time; you have to set it each time you start, as part of your startup script. You could modify the appropriate line in (Maemo's) /usr/bin/debian-lxde (the startup script) to replace that message with a wallpaper instead.

qole 2011-02-24 23:50

Re: Easy Debian Fremantle Beta Testing
 
My turn to ask a silly question: My keyboard is acting strange in LXDE, the blue function key is acting like Ctrl and Ctrl is dead. What have I messed up?

leetnoob 2011-02-24 23:53

Re: Easy Debian Fremantle Beta Testing
 
ok.. got it working.

i edited /etc/xdg/openbox/autostart.sh and put the habak command in at the end, but i also had to change the session window manager from openbox-lxde to openbox-session

qole 2011-02-24 23:56

Re: Easy Debian Fremantle Beta Testing
 
leetnoob: why not put it in /etc/xdg/lxsession/LXDE/autostart instead?

leetnoob 2011-02-25 00:09

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 954898)
leetnoob: why not put it in /etc/xdg/lxsession/LXDE/autostart instead?

yes I'll try that now the previous change didn't go so well !

wrt to your keyboard problem i coincidently had something like this a few nights ago and i just restored a backup debian.ext2 and that fixed it...

DrKlaw 2011-02-25 02:32

Re: Easy Debian Fremantle Beta Testing
 
I posted this in another thread, but it probably belongs here? I'm have an install/version question. Sorry if I made a mistake with the placement of this question.

DrKlaw.

leetnoob 2011-02-26 10:04

Re: Easy Debian Fremantle Beta Testing
 
BREAKING NEWS! REBOOTING DURING SYNAPTIC INSTALL SOLVED

w0000t!

Now you can install as many applications as you want in one go , of any size without your phone rebooting!

steps:

1. upgrade dpkg to the latest version
2. make sure the debian.ext2 file is in your mydocs folder
3. PHYSICALLY REMOVE YOUR EXTERNAL MMC CARD FROM THE PHONE
4. Install all your software via synaptic, go on a software install binge
5. put your external memory mmc card back into the phone

why?

there is a bug in dpkg which is nothing to do with easy debian or the n900 where it can hang your computer if an external usb drive is plugged in during a software install.

https://bugs.launchpad.net/ubuntu/+s...kg/+bug/624229

That's it!


Problem fscking solved!

leetnoob 2011-02-27 22:01

Re: Easy Debian Fremantle Beta Testing
 
Can't change your easy debian font or icon theme?

edit /etc/xdg/lxsession/LXDE/autostart and comment out the line that says '@lxde-settings-daemon' by putting a # before it.

leetnoob 2011-03-02 19:22

Re: Easy Debian Fremantle Beta Testing
 
i've installed x11vnc on maemo and also on easy debian. my windows xp laptop obviously has a greater resolution than the n900 but i'd like easy debain / X / vnc to take advantage of this and display a nice large screen on my laptop. i'm not talking about 'magnifaction' but full use of the larger screen real estate. has anyone attempted this? is vnc a dead end for this, is so is there any other pc client side tools that might work?

qole 2011-03-02 20:44

Re: Easy Debian Fremantle Beta Testing
 
leetnoob: you can do what you're talking about if, when starting LXDE, you start a vncserver session with bigger screen dimensions instead of using Xephyr. Then you connect to your LXDE vncserver. There's a benefit to this if you use it locally, too. You have a bigger virtual screen that you can pan around on.

leetnoob 2011-03-02 22:54

Re: Easy Debian Fremantle Beta Testing
 
1 Attachment(s)
hi, before i read your post i managed to do it, but it was eeerily simple..

1. start up easy debian. full screen
2. run x11vnc from roxterm/whatever
3. open up another roxterm terminal

4. go to your pc , connect using tightvnc to , in my case, 192.168.1.1:0
5. when the screen appears on your pc, enable numlock on your pc
6. in the spare roxterm window type 'xrandr' to see available resolutions

xrandr

7. then change your resolution type e.g.

xrandr --size 1400x1050

(small 'x')

you need to use the numeric keypad to type the numbers

then hey presto, it resizes the pc vnc window in real time.

maybe this would have been the future if ms/nokia didn't happen.. no laptops just powerful phones connecting to dumb docking stations.

I'm experimenting with client side connection settings and some give quite a good performance and some are dog slow.

qole 2011-03-03 00:19

Re: Easy Debian Fremantle Beta Testing
 
leetnoob: It would be faster to not start Easy Debian LXDE first. Get into Easy Debian by running "debbie" at a Maemo terminal, then start VNC server first as display :1, with the dimensions you want, and then run "startlxde1" to start LXDE in the vncserver display. This creates a second virtual display that can only be seen when logging in to the N900 via VNC clients. The Android Debian project has to use this method because they don't have an X Server on Android.

leetnoob 2011-03-03 01:19

Re: Easy Debian Fremantle Beta Testing
 
I was using x11vnc and it doesn't like -display :1 are you talking about tightvnc server? I'd be quite interested in getting it to work.

also I've noticed a "feature" of my method above, if you start up apps before changing resolution using xrandr all is fine but afterwards the fonts are scaled and become huge.

leetnoob 2011-03-03 02:47

Re: Easy Debian Fremantle Beta Testing
 
ok , got it working. it's much better than my method above as

1. the pc keyboard is mapped properly, could even use the scroll rocker
2. there is no issue with post connection launched apps having huge fonts.

here's what i did in case anyone else wants it:

1. install tightvncserver via symantic
2. go to maemo terminal
3. type : debbie
4. type : tightvncserver -geometry 1400x1050 :1 (or whatever resolution your pc has)
5. type startlxde1

you will be asked to enter a password for users to use when connecting at step 4

when you connect from your pc specify ipaddress:1 e.g. 192.168.1.1:1

amazing stuff.

DrKlaw 2011-03-03 03:39

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by leetnoob (Post 959347)
ok , got it working. it's much better than my method above as

1. the pc keyboard is mapped properly, could even use the scroll rocker
2. there is no issue with post connection launched apps having huge fonts.

here's what i did in case anyone else wants it:

1. install tightvncserver via symantic
2. go to maemo terminal
3. type : debbie
4. type : tightvncserver -geometry 1400x1050 -display :1 (or whatever resolution your pc has)
5. type startlxde1

you will be asked to enter a password for users to use when connecting at step 4

when you connect from your pc specify ipaddress:1 e.g. 192.168.1.1:1

amazing stuff.

Wow. This is great! But for me, line 4 only worked if I did:

tightvncserver :1 -geometry 1400x1050

qole 2011-03-03 03:56

Re: Easy Debian Fremantle Beta Testing
 
You can also use this method to access a big virtual screen on the N900 itself with localhost:5901 as the server name.

sdpkom 2011-03-03 04:37

Re: Easy Debian Fremantle Beta Testing
 
Stupid question, but I couldn't solve it for 2 days.

I opened a pdf in full screen.
You need to press esc to get out.

No esc key.
The pdf is above the on screen keyboard.

Is there a key combination that escapes?

Thanks

leetnoob 2011-03-03 07:44

Re: Easy Debian Fremantle Beta Testing
 
i installed xrdp via synaptic and using thie /etc/xrdp/xrdp.ini file below I can now connect via windows remote desktop to the vnc session on the n900 (and also to maemo hildon if i run x11vnc on the maemo side)

you must run xrdp as root on easy debian (sudo xrdp)


[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=low
channel_code=1

# set empty username because VNC auth
# doesn't actually use username, so no
# point in asking the user for one.

[xrdp1]
name=LXDE
lib=libvnc.so
username=
password=ask
ip=127.0.0.1
port=5901


[xrdp2]
name=Hildon Desktop
lib=libvnc.so
username=
password=ask
ip=127.0.0.1
port=5900

leetnoob 2011-03-03 07:52

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by DrKlaw (Post 959369)
Wow. This is great! But for me, line 4 only worked if I did:

tightvncserver :1 -geometry 1400x1050

youre right, sorry typo.

DrKlaw 2011-03-04 01:10

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by leetnoob (Post 955783)
BREAKING NEWS! REBOOTING DURING SYNAPTIC INSTALL SOLVED

w0000t!

Now you can install as many applications as you want in one go , of any size without your phone rebooting!

steps:

1. upgrade dpkg to the latest version
2. make sure the debian.ext2 file is in your mydocs folder
3. PHYSICALLY REMOVE YOUR EXTERNAL MMC CARD FROM THE PHONE
4. Install all your software via synaptic, go on a software install binge
5. put your external memory mmc card back into the phone

why?

there is a bug in dpkg which is nothing to do with easy debian or the n900 where it can hang your computer if an external usb drive is plugged in during a software install.

https://bugs.launchpad.net/ubuntu/+s...kg/+bug/624229

That's it!


Problem fscking solved!

Did this solution change since you last posted it? I seem to remember that you posted something about creating a link and file system conflicts. I only ask because I followed that (the old way) and found it still crashed, just not the same way (it didn't reboot the brick, just hung it up indefinitely). If this changed because you found that as well and then found that this new solution worked, I'll be brave enough to try installing Scilab again... :)

Thanks for all of the great posts, by the way. They've really helped.

DrKlaw

DrKlaw 2011-03-04 03:30

Re: Easy Debian Fremantle Beta Testing
 
I went ahead and tried again. I WORKED! I installed SciLab (I used apt-get, not Synaptic, but same difference). Wow. You solved it... Thanks.

leetnoob 2011-03-04 03:46

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by DrKlaw (Post 960146)
Did this solution change since you last posted it? I seem to remember that you posted something about creating a link and file system conflicts.

yes, i announced in a nice big font that i solved the problem, found that i hadn't, thought nobody had noticed, so went back and changed it to the actual solution. at least i found the actual solution within a few hours of my original incorrect post. but i should have edited the original post to have 'crossed out' the original solution in case someone had read it.

leetnoob 2011-03-04 04:00

Re: Easy Debian Fremantle Beta Testing
 
also sudo umount /media/mmc1 seems to have the same effect as removing the card physically as the problem is to do with dpkg's use of sync() . But i'm not sure how to mount it again afterwards. i guess it's the same mount options as in etc/fstab for the internal fat32 file system but i'm too lazy to check.

leetnoob 2011-03-04 06:20

Re: Easy Debian Fremantle Beta Testing
 
1 Attachment(s)
Quote:

Originally Posted by sdpkom (Post 959386)
Stupid question, but I couldn't solve it for 2 days.

I opened a pdf in full screen.
You need to press esc to get out.

No esc key.
The pdf is above the on screen keyboard.

Is there a key combination that escapes?

Thanks

if nobody else has a better idea, then follow the vnc procedure on the last page, and install 'presence vnc' into maemo, start up easy debian tightvncserver as described and connect to 127.0.0.1:1

then you have a lot of extra soft keys to use

leetnoob 2011-03-04 10:13

Re: Easy Debian Fremantle Beta Testing
 
2 Attachment(s)
here's a modified clearlooks theme for the n900. it has chunky scrollbars. if you want to modify any theme yourself, edit /usr/share/themes/<themename>/gtk-2.0/gtkrc and change the lines that contain slider and stepper values as below to 30

GtkRange ::slider_width = 30
GtkRange ::stepper_size = 30

if you can't be bothered, then just replace /usr/share/themes/Clearlooks/gtk-2.0/gtkrc with the one attached below.

must be logged into e.d. as root.

edit: forum software wont allow me to upload gtkrc so i had to attach gtkrc.txt , so rename it back to gtkrc when you download it.

edit: as an added bonus i've animated the progress bar which clearlooks doesn't do by default.

Iyanyola 2011-03-06 08:59

Re: Easy Debian Fremantle Beta Testing
 
I have a problem installing the image file.After manual download of the 300mb lzma file,i decompressed it on my computer & got the exact 2147....bytes stated in your maemo wikki.I places the decompressed file using a USB cable to home/user/mydoc.Now my problem is that when i run any of the installed easy debian icon,it dosen't seem to recorgnise the presence of the 2GB image file placed under my doc,eg when ever i run the debian image installer i will start fresh download of the LZMA file instead of recorgnising the decompressed file placed.PLEASE HELP ME OUT!

mankir 2011-03-06 11:52

Re: Easy Debian Fremantle Beta Testing
 
@lyanyola: have a look at the path and fs-type in ~$.chroot
@all: Which distribution provides the newest packages for arm without thumb2?

Iyanyola 2011-03-06 12:43

Re: Easy Debian Fremantle Beta Testing
 
I typed charoot in the terminal and it wrote 'charoot not found.Moreso i did not understand what you wrote about looking at path fs.Kindly shade more light.Waiting for your reply.

Iyanyola 2011-03-06 15:21

Re: Easy Debian Fremantle Beta Testing
 
I did not understand Mankir post in my response.Can any one help me & tell me what to do next.Initially i manually downloaded the debian image file & decompressed it to 2GB on my PC & copied to home/user/doc,but when i run any of the installaed easy debian icon it shows"errow,you have no debian.img.ext2 file on your memory cards...".But actually i have the file in the phone memory placed under my doc.Please let someone here tell me where i am going wrong & what to do next.

qole 2011-03-06 16:59

Re: Easy Debian Fremantle Beta Testing
 
lyanyola: If you downloaded and decompressed the image, you do NOT need to run the installer anymore.

You should be able to run the other Easy Debian applications now. If they don't work, what error do you get?

Iyanyola 2011-03-06 18:38

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 961910)
lyanyola: If you downloaded and decompressed the image, you do NOT need to run the installer anymore.

You should be able to run the other Easy Debian applications now. If they don't work, what error do you get?

It shows"errow you have no debian.img.ext2 on your memory cards,please use the debian image installer in the exstras".This is the errow message i get.Does it mean that i must use external memory card rather than using the phone's memory to place my decomressed 2GB file,before it can be detected by easy debian application?.

qole 2011-03-06 21:51

Re: Easy Debian Fremantle Beta Testing
 
lyanyola: You can put the file into MyDocs (shows as "N900" on PC) or an external card. The file must start with "debian" and end with "img.ext2" to work.

Iyanyola 2011-03-07 07:49

Re: Easy Debian Fremantle Beta Testing
 
qole:That is what i have been saying that the image file is debian-m5-v3d.img.ext2 & it has exactly 2147483648 bytes & i placed it in a folder under home/user/myDocs but the installed ED is not sensing it, each time i run anyone of its icon on my menu it show i dont have the file(as quoted in my last post before this one).Initially i tried downloading the LZMA file through the Deb App Ins,after download it fails to extract,that is why i resorted to manual download from the link you gave in your wikki and subsequently decompressed it on my PC,but it also appear not to work.So what can i do to get debian app working on my N900? .

qole 2011-03-07 19:09

Re: Easy Debian Fremantle Beta Testing
 
lyanyola, please reboot your phone and then open a terminal. Type
Code:

sudo debian
and post the output here, please. (Copy and paste on the N900 is easiest)

Iyanyola 2011-03-08 13:58

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 962649)
lyanyola, please reboot your phone and then open a terminal. Type
Code:

sudo debian
and post the output here, please. (Copy and paste on the N900 is easiest)



You have no debian.img.ext2 file on your memory cards.

Please use the Debian Image Installer in Extras.
~ $ sudo debian
Chroot dir specified: /.debian
No image file or partition specified.
ls: /home/user/MyDocs/debian*.img*: No such file or directory
ls: /media/mmc1/debian*.img*: No such file or directory
~ $

Qole:Above is the message i got when i type SUDO DEBIAN on the Terminal.Thank you for the concern.

leetnoob 2011-03-08 15:52

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sdpkom (Post 959386)
Stupid question, but I couldn't solve it for 2 days.

I opened a pdf in full screen.
You need to press esc to get out.

No esc key.
The pdf is above the on screen keyboard.

Is there a key combination that escapes?

Thanks

heres an easier solution

edit /home/user/.config/openbox/lxde-rc.xml

change

<keybind key="F11">
<action name="ToggleFullscreen"/>
</keybind>

to

<keybind key="C-comma">
<action name="ToggleFullscreen"/>
</keybind>

then you can use CTRL-<comma> to toggle every app back and to fullscreen.


All times are GMT. The time now is 15:34.

vBulletin® Version 3.8.8