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)

hstende 2010-03-09 12:47

Re: Easy Debian Fremantle Beta Testing
 
@optx yes I sat password user
Have you tried to run synchroot from maemo after mounting debian?

OptX 2010-03-09 13:35

Re: Easy Debian Fremantle Beta Testing
 
not yet, since i want to figure out, what kernel flasher does. Every time i install it, i get this msg :
mount failure!
/media/mmc1/debina-m5-v3b.img.ext2 failed to mount on loop0

/sbin/qmount line 195: dmlosetup: not found
mount: mounting /dev/dm-0 on /.debian failed: no such file or directory
.
Why that ? I used easy debian, installed kernel flasher, and then its funked up. How to solve that ? make a new .debian folder ?

qole 2010-03-09 15:45

Re: Easy Debian Fremantle Beta Testing
 
OptX: could you see if the new Easy Chroot in extras-devel fixes your "dmlosetup not found" problem?

rebhana: could you modify the debbie script and see if that fixes your problem?

hstende 2010-03-09 15:47

Re: Easy Debian Fremantle Beta Testing
 
optx: have you tried to remove/rename the dm module?
rmmod dm-loop
and then rename the dm-loop.ko to dm-loop.ko.org ?

But better try qole's sugestion,

OptX 2010-03-09 16:15

Re: Easy Debian Fremantle Beta Testing
 
@qole : Just installed the Easy Chroot, same msg.

@hstende : That did the trick (for now :P)

qole 2010-03-09 16:52

Re: Easy Debian Fremantle Beta Testing
 
I'll upload another version of Easy Chroot, then. I don't want that error.

OptX, do you have one of the custom kernels installed? If so, the custom kernel must include the dm-loop kernel module (I don't know why).

OptX 2010-03-09 17:15

Re: Easy Debian Fremantle Beta Testing
 
yes, i have a custom kernel with dm-loop.ko in /lib/modules/2.6.28maemo-omap1/ .

qole 2010-03-09 17:50

Re: Easy Debian Fremantle Beta Testing
 
OptX: I have sent a new version of Easy Chroot (0.3.0) to the builder. When you see it is available, I would really appreciate it if you could move dm-loop.ko.org back to dm-loop.ko and try the new Easy Chroot.

Which kernel do you have? The one by titan? I want to send the kernel creator a note that dm-loop.ko has its own package, and shouldn't be included in another package.

rebhana 2010-03-09 18:21

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 561330)
rebhana: could you modify the debbie script and see if that fixes your problem?

Replacing su by "su -" in the debbie script does fix the problems I had.

OptX 2010-03-09 18:48

Re: Easy Debian Fremantle Beta Testing
 
Tested the 0.3.0, everything is fine now. THX a lot :)

It is titans kernel that i use.

qole 2010-03-09 19:16

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 560975)
Not a showstopper, but what about deleting the theme setting line in ~/.config/lxde/config that prevents people from modifying themes in LXDE because it's overriding the settings in .gtkrc-2.0 ?

I can fix that.

Quote:

Coming back to an issue I raised before: I now realized that the different behavior of debbie versus sudo debian su - user comes from the fact that in /usr/bin/debbie you have su without "-"
Code:

if [ $# = 0 ] ; then
  echo Starting Debian shell... >/dev/stderr
  sudo /sbin/debian su $DEBUSER
else
  # Workaround to allow "debbie" to be used as login shell
  if [ "$1" == "-c" ]; then
    shift
  fi
  echo Starting Debian $* >/dev/stderr
  sudo /sbin/debian su $DEBUSER -c "$*"
fi

Is that on purpose, i.e. did you find it safer not to have a login shell behavior by default?
I tried adding the "-" to the chroot command, but that breaks other things. For instance, OpenOffice gives an error, "Failed to open display". Any ideas how to get this working for everyone?

Quote:

EDIT: I see it's too late for Testing now, so that's for the next round. Congrats btw for being constantly on Downloads/Popular! :)
Wow, I didn't notice that. I did notice the 2100GB of downloads from my website last month.

hstende 2010-03-09 20:36

Re: Easy Debian Fremantle Beta Testing
 
I tried to set the su -
The problem is that the DISPLAY variable will not be set.

rebhana 2010-03-09 22:04

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 561609)
I tried adding the "-" to the chroot command, but that breaks other things. For instance, OpenOffice gives an error, "Failed to open display". Any ideas how to get this working for everyone?

Strange! I have no such problem with openoffice!

My /usr/bin/debbie script now has
Code:

if [ $# = 0 ] ; then
  echo Starting Debian shell... >/dev/stderr
  sudo /sbin/debian su - $DEBUSER
else
  # Workaround to allow "debbie" to be used as login shell
  if [ "$1" == "-c" ]; then
    shift
  fi
  echo Starting Debian $* >/dev/stderr
  sudo /sbin/debian su - $DEBUSER -c "$*"
fi

and I can open openoffice both within LXDE and through debbie.

qole 2010-03-10 01:06

Re: Easy Debian Fremantle Beta Testing
 
OK, I've pushed Easy Debian 0.9.46 and Easy Chroot 0.3.0 to Testing. These packages incorporate all the stuff we've been hacking out together, including the fix to make LXDE theme editing a possibility.

Sorry, rebhana, we'll have to work on the whole su problem in Extras-devel until I get this version into Extras.

hstende 2010-03-10 06:21

Re: Easy Debian Fremantle Beta Testing
 
I have made a new ubuntu karmic image,
I fixed lxmusic so it work with libpulse
I added libgtkstylus
I changed with visudo so that user doesn't need password when sudo.
I added ssh so that it start the deamon on port 23.
I added a script that put the info from /proc/mounts into /etc/mtab so that the df command work.
I added mlocate so that locate work inside

http://www.filehosting.org/file/deta...ac-v2.img.lzma

kevineaton77 2010-03-10 10:14

Re: Easy Debian Fremantle Beta Testing
 
hi guys, i hope you are well.

im sorry for posting here as this isnt the right spot but i dont seem to be able to post a comment on the http://maemo.org/downloads/product/M...sy-deb-chroot/
page.

my question is as this runs java, would the logmein app work on it?

cheers!

jFROMcolourtheatre 2010-03-10 16:37

Re: Easy Debian Fremantle Beta Testing
 
qole, i just wanted to thank you immensely and offer you my first born child. easy debian on the n900 is just amazing. it works. its magical. yes, Mr.Jobs. this IS magical.

just got a quick question though guys. sorry if its a n00b query but is there any way that i can enable portrait mode in debian LXDE? its just that some of the menus in GIMP (ie preference) has options such as the "ok" button etc that cant be selected due to space restriction.

any ideas?

thanks once again qole. you're a legend!

qole 2010-03-10 17:06

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by jFROMcolourtheatre (Post 562713)
qole, i just wanted to thank you immensely and offer you my first born child. easy debian on the n900 is just amazing. it works. its magical. yes, Mr.Jobs. this IS magical.
....thanks once again qole. you're a legend!

As usual, I would like to point you to qole.org, where I have a paypal donation button. But past experience has taught me not to believe a word of it. ;)

Quote:

Originally Posted by jFROMcolourtheatre (Post 562713)
just got a quick question though guys. sorry if its a n00b query but is there any way that i can enable portrait mode in debian LXDE? its just that some of the menus in GIMP (ie preference) has options such as the "ok" button etc that cant be selected due to space restriction.

any ideas?

Use the Ctrl-period key combo to get the Move Window cursor, and then drag the window up with your stylus.

rebhana 2010-03-10 18:02

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 561995)
Sorry, rebhana, we'll have to work on the whole su problem in Extras-devel until I get this version into Extras.

Sure! I'll investigate further whether anything breaks with "su -". As I said, so far I everything works for me.

EDIT: I'm still using easy-chroot 0.2.8-2fremantle1. @qole, could that possibly make a difference?

delaroca 2010-03-10 18:59

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by hstende (Post 562109)
I have made a new ubuntu karmic image,
I fixed lxmusic so it work with libpulse

Are you able to run any of the v2.7.x betas of Gimp on this -- how does the new Single-Window mode of Gimp work out?

--denis

hstende 2010-03-10 19:39

Re: Easy Debian Fremantle Beta Testing
 
delaroca: The version in karmic is 2.6.7. You could try to add this ppa from this page https://launchpad.net/~matthaeus123/...e/mrw-gimp-svn and compile the source follow this guide:
http://ubuntuforums.org/showthread.php?t=101097

qole 2010-03-10 20:09

Re: Easy Debian Fremantle Beta Testing
 
rebhana, hstende: Looks like the display problem with su - is in Ubuntu, but not in Debian. But Debian ooo has its own problems with su -, it doesn't use the theme specified in ~/.gtkrc-2.0, for one.

hstende 2010-03-10 20:20

Re: Easy Debian Fremantle Beta Testing
 
The problem can be that the export variables in /sbin/debian will not be inherited when you use su -. You have to set them manually in the chroots users enviroment. .bashrc or some other place like
/etc/environment

#Messy hack to make tap-and-hold work with GTK apps.
export GTK_MODULES=libgtkstylus.so

#Some OpenOffice environment variables
export SAL_USE_VCLPLUGIN="gtk"
export OOO_FORCE_DESKTOP="gnome"
export SAL_NOOPENGL="true"
export OOO_DISABLE_RECOVERY="true"
export SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION="true"
#export SAL_DISABLE_CUPS="true"
#dirtyhack for setting display
DISPLAY=:0.0

rebhana 2010-03-10 20:52

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 562931)
rebhana, hstende: Looks like the display problem with su - is in Ubuntu, but not in Debian. But Debian ooo has its own problems with su -, it doesn't use the theme specified in ~/.gtkrc-2.0, for one.

OK, I think it's better then to leave debbie as is, and run
"sudo debian su - user -c ... " when a full login shell is needed. Or perhaps modify debbie to pass the optional switch "-" to su.

hstende 2010-03-10 21:01

Re: Easy Debian Fremantle Beta Testing
 
To make my firefox in the ubuntu-image start better I did a change :
I made a script /usr/bin/iceweasel and put this into it:

#!/bin/bash
dbus-launch firefox

leetut 2010-03-10 23:01

Re: Easy Debian Fremantle Beta Testing
 
for some reason i can not find gimp anymore, all i have after starting debian is my documents, pc file man, term, and web ?
dont have the menu button that was in the top left of screen previously, anyone know whats going on with that?

jahberre 2010-03-10 23:02

Re: Easy Debian Fremantle Beta Testing
 
I have a problem with the menu of LXDE, I change the resolution of the monitor, now the menu lxde flashes, how can i fix it?

jahberre 2010-03-10 23:05

Re: Easy Debian Fremantle Beta Testing
 
I replace the image with a clean even so not work

leetut 2010-03-10 23:06

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by leetut (Post 563121)
for some reason i can not find gimp anymore, all i have after starting debian is my documents, pc file man, term, and web ?
dont have the menu button that was in the top left of screen previously, anyone know whats going on with that?

also my documents wont open?
it just opens pcfile man
but the folder icon at the top of the list on the left does that,
so whats the point of having my documents on the homescreen?

and what is debian chroot for?
it only ever opens xterm then does nothing else?

jahberre 2010-03-10 23:12

Re: Easy Debian Fremantle Beta Testing
 
how can i delete the configuration of lxde with the console, what are the files to delete to fix the flashing problem menu

qole 2010-03-11 00:17

Re: Easy Debian Fremantle Beta Testing
 
Ok, leetut and jahberre, you're asking the same question again, so I've added a section to the wiki:

LXDE Top Menu Disappears


Go there and follow the instructions.

The "Debian chroot" icon opens a root shell in the chroot. You can install apps or other root tasks this way.

(By the way, what do you mean, "change the resolution of the monitor"?)

jahberre 2010-03-11 00:32

Re: Easy Debian Fremantle Beta Testing
 
thanks, my problem is this:
curious change the resolution from 800x400 to 840x400, now flashing the menu bar

qole 2010-03-11 00:34

Re: Easy Debian Fremantle Beta Testing
 
jahberre: where did you change this resolution? The resolution of all Maemo devices is fixed at 800x480.

jahberre 2010-03-11 00:37

Re: Easy Debian Fremantle Beta Testing
 
a main menu option where you set the resolution and rate, I do not remember exactly

jahberre 2010-03-11 00:38

Re: Easy Debian Fremantle Beta Testing
 
my menu appears and disappears quickly

jahberre 2010-03-11 00:43

Re: Easy Debian Fremantle Beta Testing
 
if i erased the settings that lxde kepps, i would fix it. but i donŽt know

qole 2010-03-11 00:53

Re: Easy Debian Fremantle Beta Testing
 
jahberre: Try opening the terminal inside LXDE and type "sudo lxrandr" and see if that lets you fix the monitor resolution. I don't have any other ideas...

jahberre 2010-03-11 00:58

Re: Easy Debian Fremantle Beta Testing
 
it was the screen where i changed, but it does the same. by the way, I'm from mexico, can i write in spanish?

qole 2010-03-11 01:03

Re: Easy Debian Fremantle Beta Testing
 
jahberre:

I can't read Spanish, perhaps someone else can help you in Spanish.

But I can't help you with this problem anyway. If this doesn't help, I don't have any other ideas:
- Change the resolution back to 800x480 with sudo lxrandr
- Logout / close LXDE
- Close chroot
- Reboot N900

jahberre 2010-03-11 01:05

Re: Easy Debian Fremantle Beta Testing
 
iŽll do it, thanks!


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

vBulletin® Version 3.8.8