maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition! (https://talk.maemo.org/showthread.php?t=24272)

qole 2009-10-19 19:16

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
No, do you?

shin 2009-10-20 08:40

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
@ qole : Thank you for helping us run Debian on the tablet.. It is so much more useful as it can be run within Maemo..

Friends - I have an use case where I want to write and read CJK characters on my N810. If I go for MaemoCJK I will loose my good finger friendly VKB.. With Easy Debian I can install Scim Anthy/ Pinyin within the debian and use them for my East asia language specific uses..

After installing Easy Debian (TC ed.) I have done the locale setup to include Japanese and Chinese locales. The above mentioned Scim setup is also done. The issue is I still see junk characters in place of Japanese, both in the browsers as well as in editors like leafpad. I guess there is some font problem and not sure how to get the relevant fonts into the debian environment.. ( Pls note I can read CJK in Maemo itself through the inclusion of fonts).

I would like fix the junk character display issue within the easy debian env.. Pls help

TiA
Shin

qole 2009-10-20 16:01

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Server is back up, files are available again, creatures of the field clap your hands!

qole 2009-10-20 16:03

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
shin:

If you put all the necessary fonts into a /home/user/.fonts directory, you should be able to use them in both Maemo and Easy Debian. It probably will require a reboot, first.

McLightning 2009-10-21 11:08

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
@qole
by the way,
what abt the new debian image file is it ready yet?
when you gonna upload it?
let us know ok :) :P

qole 2009-10-21 16:40

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Which image is that?
I assume you want me to fix the audio?
I'm sorry but I can't guarantee anything.

Follow my / mordark's instructions:

Quote:

Originally Posted by mordark (Post 340292)
Lmms does work under turbo easy debian. It's a bit slow though.
You need to install alsa as described in this post : http://talk.maemo.org/showpost.php?p...&postcount=290

You might need to copy some libasound_module....so files to your easy debian filesystem.

Then you must set the audio interface to alsa and device to default in lmms.

Restart lmms then you're done

I think most audio apps will work under easy debian once you've set up alsa. Hydrogen does run also.


dormant 2009-10-23 00:51

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I am starting to get to grips with this debian. i am excited by the possibilities.

Is there any way I can automate the following sequence so that it runs as a single command in os2008?

1 connect to a network with vpnc

2 launch debian

3 run a shell script which runs a java program. (i have the script already).

qole 2009-10-23 04:08

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
You can run a script in your home directory inside easy debian with the maemo command line:

debbie /home/user/scriptname

does that help?

qole 2009-10-23 04:10

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Ooops, just found this old question!

Quote:

Originally Posted by elschemm (Post 317356)
If I run xfontsel from the Debian chroot cmd prompt, it says that only
4 fonts are installed. If I run it inside LXDE, then I have all the usual suspects.

I'm guessing that's because the font's are not being seen by Maemos Xserver. Does anyone know where to put them / how to add them so that they are seen by the 'internal' Xserver.
...

I've tried a few ideas thus far, but no joy in the fonts. Any ideas?

If you want to have fonts that are seen by both Maemo and Easy Debian / LXDE, make a directory in your home directory (or make a soft link to a directory on your SD card) called .fonts and put all the shared fonts in there.

dormant 2009-10-23 14:42

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 356092)
You can run a script in your home directory inside easy debian with the maemo command line:

debbie /home/user/scriptname

does that help?

I'll try that.

But I have a more immediate problem. I run the Debian desktop and then open a terminal window. I then open the virtual keyboard (the full one) so that I can enter commands. But every time I hit a key, it seems to have a repeat function working, so the letter is entered again and again until I hit another key or move the cursor away from the keyboard. It's very annoying.

qole 2009-10-23 21:50

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Dormant, here are the answers I've given before:

Quote:

Originally Posted by qole (Post 236447)
Someone discovered that you have to go to the xvkbd menu (bottom left of keyboard), choose "Property", and set "Automatic Click" to "OFF".

Quote:

Originally Posted by qole (Post 243757)
This is a known issue. You have to open the XVKB menu by clicking on the button on the lower left and turn Automatic Click to OFF.

But it is not terribly useful to open LXDE just to run a terminal. Better to open a Maemo terminal and type "debbie" (for a Debian terminal as "user") or "sudo debian" (for a Debian terminal as "root").

dormant 2009-10-23 22:16

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Thanks,

I did look through the thread, but obviously not close enough 'cos I missed that info.

qole 2009-10-23 22:20

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Don't worry. It's a very big thread.

daveb70 2009-10-23 22:39

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 356905)
Don't worry. It's a very big thread.

Qole has a big thread?! :p

Nice work on the ED. I'm just sloshing around in Linux more and more as of late so I had to check the thread to see what's happening in here. Last time I put an image on my card and dualbooted it lasted a few weeks then I got stuck in an endless reboot cycle. I am hoping to drop ED on a card soon to check it out, I'm just a bit leary still.

bncase 2009-10-24 16:47

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I am trying to view my online broker info, and I have to have java. when i use iceweasle, it never loads and i have to close it. is something wrong? is java installed?

qole 2009-10-25 21:15

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Java is very very very slow, so I suggest you use Epiphany, a lighter-weight browser to speed things up a tiny bit. You might also have to wait two minutes (!) or more (!!) for the applet to load.

McLightning 2009-10-28 08:35

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 354176)
Which image is that?
I assume you want me to fix the audio?
I'm sorry but I can't guarantee anything.

Follow my / mordark's instructions:

which libasound-module files to be copied
i copied and replaced all of them
then i tried to play an mp3 file with aplay
but all i hear was a annoying buzzer noise or something like that
sorry for my english
anyway i'll try with puredata and lmms

qole 2009-10-28 15:56

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I don't think aplay can decode mp3s (you have to use a .wav file), so the fact you heard a buzzer sound probably means that it is working.

shin 2009-10-28 18:05

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
okey .. I have set up the locales and the necessary fonts and I able to read japanese on the browsers..

Now I want to enable Japanese input too.. I have installed SCIM & Anthy IM through Synaptic package mgr. When I invoke Scim ( through " debbie scim" or "scim" on the debian chroot X terminal) hoping that I would see the IM panel with Anthy as an option, all that I get is a SCIM setup screen.

Why am I not getting the input panel as in Maemo CJK where I can select Anthy and start Japanese input..

Any pointers/help much appreciated to enable Japanese input through Scim Anthy on debian.

Thanks

qole 2009-10-28 18:10

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I can't help here...

shin 2009-10-29 08:20

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Thanks qole for your response.. I understand that this is specific to users who have a need to use SCIM or CJK input.

Any one please, on the above.. As mentioned when I invoke scim through X terminal ( Debian Chroot), I get the SCIM icon appearing in the status bar and in the drop down I only see the SCIM set up screen. There is no option to select Anthy for Japanese input.

Any inputs to get scim working on Easy debian for scim Anthy input much appreciated

- TiA
Shin

McLightning 2009-10-29 13:33

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
http://farm3.static.flickr.com/2423/...8d58f4086d.jpg
linux multimedia studio
at the end ,sound working fine :)
thanks qole

check out the demonstration video
http://www.youtube.com/watch?v=5qwdOdzPM58

dgweud 2009-10-29 23:11

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Can someone who owns a n900 with Debian installed please make a youtube video of you going from Hildon to common linux applications like Iceweasel, Thunar, Audacious2, Pidgin, etc. I am just trying to get a sense of the speed to expect on this device when running FOSS desktop software. I am aware of videos on youtube, but they seem to all be of the n810. Thanks :)

qole 2009-10-29 23:28

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
The speed is somewhat better, but the Fremantle UI breaks many of the apps to the point where I cannot release a Fremantle version of Easy Debian until I have figured out a better UI to use. (Some other desktop environment inside a Xephyr window, I think).

dgweud 2009-10-29 23:33

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I am not very familiar with how the device's software stack looks, so can you explain how things are laid out? Is the Fremantle UI a window manager running on a plain X11 server? If so, does this mean the app breakage occur because of some non standard way that the WM handles windows?

qole 2009-10-29 23:42

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Yes, Maemo 5 has a desktop environment called Hildon that is loosely based on the GTK+ toolkit, like Gnome, but unlike Gnome (or even previous versions of Maemo), they have broken the UI in many places to the point where just about every desktop app that I have tried is unusable in at least one core area.

The most broken thing in Fremantle is the dialog box. Without using Hildon-specific widgets, most GTK+ dialogs are barely usable, and some dialogs are completely unusable. And I don't see any workarounds, like in previous versions of Maemo.

I've pretty much resigned myself to waiting for the devices to start selling before issuing a new version of Easy Debian, so I can get some help from other hackers to figure out how to work around these very difficult UI problems...

dgweud 2009-10-29 23:48

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 361211)
Yes, Maemo 5 has a desktop environment called Hildon that is loosely based on the GTK+ toolkit, like Gnome, but unlike Gnome (or even previous versions of Maemo), they have broken the UI in many places to the point where just about every desktop app that I have tried is unusable in at least one core area.


Does this mean that they are using some custom GUI library that replaces GTK+, but is not 100% compatible? If so, I'm sure you have considered installing Debian's own GTK libraries in a chrooted environment; why did this not work?

I also find it strange they are using GTK when Nokia is in control of QT at this point.

I am very excited for the n900 to come out. If I can get my cell carrier to subsidize the price of the device ($500+ is a bit much), I would love to join you in hacking the device.


EDIT: I think I misunderstood you on GTK. Do you mean that Hildon is not taking the dialog boxes' hints into consideration? (Something along the lines of _NET_WM_WINDOW_TYPE). By the way. are the Hildon sources available to the community?

attila77 2009-10-30 00:03

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by dgweud (Post 361218)
I also find it strange they are using GTK when Nokia is in control of QT at this point.

Qt wasn't in Nokia's hands for long enough for such a commitment when the time of final choices came. That's why Maemo 5 is GTK and Maemo 6 will be Qt based.

qole 2009-10-30 00:10

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Yes, they started with GTK+ and then they twisted it beyond recognition in many places. When a Debian GTK+ app is run under Maemo 5 in a chroot, it uses the standard GTK+ widgets to display, but Maemo 5 then mangles and disfigures the widgets into grotesque, unusable shapes.

Maemo also built (really nice) custom Hildon libraries on top of GTK+, but they did it in a way that ended up being the worst possible case for "standard" GTK+ apps. All the brokenness is in the standard GTK+ widgets, and all the elegant fixes for the brokenness are in the custom Hildon replacements. So, for example, there's no automatic conversion of big GTK+ dialog boxes that don't fit on the screen into the cool kinetically scrolling dialog boxes found in Hildon. The GTK+ dialog boxes just break horribly.

Another example: the standard "File Open" dialog box, under Maemo 5, is the most hideous thing you will ever see, because the OK button eats 1/4 of the space, and the file lists are tiny and unreadable with microscopic scroll bars... but most users of the N900 will never see that atrocity because all of the Maemo 5 apps have replaced it with the custom Hildon version that looks good on the device.

In Maemo 4, I was able to work around many of these problems because Hildon still displayed most of the GTK+ widgets correctly. It no longer does that in Maemo 5.

My only option is to try a secondary desktop environment, like the LXDE-in-Xephyr hack I used in the current Easy Debian. But because the screen is so small on the N900, I have to find a way to make everything in the secondary environment big and "chunky". I also need to figure out a way to get out of the secondary environment and back to Maemo, something that is proving to be quite challenging now that there is no hardware keys for toggling fullscreen mode or pulling up the task switcher.

Nokia has already announced that Maemo 6 will be QT-based. This might actually be a good thing for GTK+, because then apps using that toolkit will look "normal" again.

debernardis 2009-10-30 06:39

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 361234)
My only option is to try a secondary desktop environment, like the LXDE-in-Xephyr hack I used in the current Easy Debian. But because the screen is so small on the N900, I have to find a way to make everything in the secondary environment big and "chunky". I also need to figure out a way to get out of the secondary environment and back to Maemo, something that is proving to be quite challenging now that there is no hardware keys for toggling fullscreen mode or pulling up the task switcher.

In the true spirit of "release soon, release often", I ask you to make available an interim version with the default tiny widgets and texts, to start using debian on the N900 even if with enlarging goggles.

dgweud 2009-10-30 16:15

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Qole:
How do non GTK applications perform? Do Qt, Motif, or even console software work?
For GTK applications, have you tried statically linking in their GTK libraries?

qole 2009-10-30 21:45

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by debernardis (Post 361366)
In the true spirit of "release soon, release often", I ask you to make available an interim version with the default tiny widgets and texts, to start using debian on the N900 even if with enlarging goggles.

I have put easy-chroot into Fremantle Extras-Devel, and I have uploaded a Fremantle-themed version of the Debian Sid image to my server (debian-squeeze-m5-img.bz2). You install easy-chroot, download and unzip the image file in /home/user/MyDocs, make a new /debian directory (by typing "sudo mkdir /debian") and then run

Code:

sudo qchroot /home/user/MyDocs/debian-squeeze-m5.img.ext2 /debian
and that will get you started. You are root by default, so be careful about running user apps. Apps can be run inside the chroot as user by typing, "hilda appname".

But like I said, it is still pretty unpleasant to use at the moment, and honestly, if those instructions are too complex for you, then you shouldn't be messing about with it...

realitygaps 2009-10-31 03:47

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Is there an easy way to unmount the chroot after use on the n900?

(Apologies if this was already mentioned in this superlong thread)

qole 2009-10-31 06:39

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
sudo closechroot

qole 2009-11-03 00:02

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Here's two screenshots showing one of the GTK+ improvements I've made. I've widened the scrollbars so they can be used with your thumb instead of only with the stylus. Here's a Maemo app, XChat, first with standard scrollbar (from GeneralAntilles photo thread) and second with the "fat" scrollbar:

http://farm4.static.flickr.com/3287/...1f210c81_m.jpg http://farm3.static.flickr.com/2469/...91362cf3_m.jpg

Godzilla 2009-11-04 11:11

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Dear Friends

I installed Easy Debian Chroot and after I updated it I have no flashplugin and the terminal emulators do not "remember" the last commands.
apt-get install says that cannot install flashplugin-nonfree, its not avaiable but its referred by other packages...

There is any repository I need to add?
Thanks

shin 2009-11-06 14:44

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I have a N810 with cloned OS running on a 16GB external mmc. I have installed Easy Debian image file (debian-squeeze.img.ext2) and customized heavily with Japanese support and other applications..

I would like to move the debian setup that I have as it is( so that I dont have to redo the setup from the beginning on a fresh debian install), to be moved to a free bootable ext2 partition that I have.. This way can I modify the /home/usr/.chroot file to start existing debian out of the partition? With this method I hope to have more space for the debian without loosing the existing setup I have done..

Now, appreciate if someone could tell me if and how I can do this. Is this possible at all or should I start all over again to install on a new ext2 partition

TiA
Shin

qole 2009-11-06 18:20

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
You can copy everything out of your image file to the new partition. There is a whole thread on doing this in the Alternatives section. I will try to find it for you when I get some time this weekend, but you can also search for it yourself or perhaps some other kind soul can find it for you first...

shin 2009-11-06 19:02

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Thank you qole..

I guess I found it with a little more searching... hope it is this link link, that you mentioned..

I am copying the img file contents to the partition now as i type this msg..

qole 2009-11-07 01:19

Re: [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
shin:

Thanks for finding that, I made a couple of updates and posted to that thread. No big deal, the method you found still works, but my new instructions are just faster than the method you linked to.


All times are GMT. The time now is 16:44.

vBulletin® Version 3.8.8