| Prev |   5     6   7   8   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] Debian Apps That Run Well On The Tablets (https://talk.maemo.org/showthread.php?t=21719)

fatalsaint 2008-08-25 00:17

Re: Debian Apps That Run Well On The Tablets
 
Dan you are thinking too much into this.

I know you dont have a .chroot file...create one and add that to it. The TMP size has nothing to do with the size of the root...dont change it.

Just modify the variable for IMGFILE to be the partition u have debian/deblet/whatever on. Hae u always used an img file or did you setup an easy debian partition?

If youve never changed anything ..ever.. then u use he image file and you are full. Only way to fix that is to resize the image file. If you downloaded and extracted qole's rootfs to a partition then thats what u use for the chroot file.

BrentDC 2008-08-25 00:42

Re: Debian Apps That Run Well On The Tablets
 
Quote:

Originally Posted by dan (Post 217128)
BrentDC thanks.
How can I add the following command to GParted so I don't have to do it in xterm everytime I want to load GParted after a reboot? I'm tired of having to do that command everytime I want to use GParted after a reboot. I don't have to do that command for QTParted. TIA

' mount -o bind /var/run/dbus/ /debian/var/run/dbus/ '

I would think that you might be able to add that line to "/sbin/debian", but ask qole before doing that. You also could probably write a script that does that mount command and launches gparted, but I have no idea how to script on linux. (I've got to learn how...).

fatalsaint 2008-08-25 01:15

Re: Debian Apps That Run Well On The Tablets
 
Code:

cat > /usr/sbin/sgparted << EOF
#!/bin/sh
mount -o bind /var/run/dbus/ /debian/var/run/dbus/
debian gparted
EOF

Code:

chmod +x /usr/bin/sgparted
then just run sgparted.

That should be done in maemo..

dan 2008-08-25 04:20

Re: Debian Apps That Run Well On The Tablets
 
Fatalsaint, thanks.
Here's what I get following code.
Please explain what I'm doing wrong. I'm glad I discovered all this before starting Deblet.

/home/user # cat > /usr/sbin/sgparted << EOF
> #!/bin/sh
> mount -o bind /var/run/dbus/ /debian/var/run/dbus/> debian gparted
> EOF
/home/user # chmod +x /usr/bin/sgparted
chmod: /usr/bin/sgparted: No such file or directory
/home/user #

dan 2008-08-25 04:43

Re: Debian Apps That Run Well On The Tablets
 
Fatalsaint, thanks.
OK made a file called ' .chroot ' and put it in ' /home/user/ ' then I put in the info ' IMGFILE=/dev/mmcblk1p2 ' , etc... Now I'm unclear how to modify the IMGFILE to be my partition? Very confused. Can you explain in more detail. TIA

here dan:


Put that into /home/user/.chroot and modify the IMGFILE to be your partition obviously.[/QUOTE]

P.S. I don't want to create a partition in my mmc1 because then I can't use that card in my camera, mac, etc... I just want to increase size of .debian image file. TIA

fatalsaint 2008-08-25 05:31

Re: Debian Apps That Run Well On The Tablets
 
Ok that first command I missed a s.. it should be:

Code:

chmod +x /usr/sbin/sgparted
Not /usr/bin/sgparted.

And for the second half.. if you want to increase the size of the image file you need to use the resize2fs command. I don't have it off the top of my head but do a search for debian resize2fs and the post you are looking for is one of qole's two threads on Easy Debian. Explains how to resize it. If you go much over 1.5GB you might run into problems though and toast your whole image.. I did a 2048MB file and wasn't able to recover.. had to start over. So be careful and make backups. However you will not be needing that .chroot file if you want to use the image.. that's useless. You'll need that file when you use deblet however.

dan 2008-08-25 11:12

Re: Debian Apps That Run Well On The Tablets
 
Fatalsaint,
The chmod doesn't seem to work when I try to start gparted from my hildon menu. I use to have in ' /usr/share/applications/hildon/gparted a file called gparted.desktop ' with ' Exec=sudo debian hildon gparted /dev/mmcblk0 /dev/mmcblk1 ' and that worked from hildon menu, after putting the ' mount -o bind, etc... ' after a reboot I only had to do it once and it got be backup with gparted showing all partitions but the ' chmod change doesn't load gparted. There seems to be a conflict. Any ideas?

Also why is there a limit on image size? Qole any ideas? If I put in a partition I can't easily remove card and make a backup of Debian image or Deblet and can't use card for other purposes. I'm trying to keep backups on a regular basis so if I crash I can be backup quickly. If I had a backup for mmc2 I would not still be struggling with home/desktop/ nuke issues from last week. I'm trying to get away from this isanity of having to start from scratch everytime I nuck system. I read daily someone having to spend hours reloading everything. I'm too busy to do that. I need a quick and reliable backup that works everytime. So far the Debian image backup setup I've had does this flawlessly for Debian side of things. I hope you understand why I want to keep this setup and expand to mmc2 and dual boot and kde, etc... the backup method. I've tried Emelfm2 and qtparted and gparted for backups but none of them seem to be able to do backup. TIA

fatalsaint 2008-08-25 14:14

Re: Debian Apps That Run Well On The Tablets
 
When you create an image file you have to tell it specifically how large it is.. and Filesystems have harder times (especially DOS) with single files that are huge than thousands of smaller files. As an example.. DOS cannot handle files that are larger than 2GB.. at all. And since the image file is a single file; it cannot be more than 2GB in size. But I tried 2048 on an ext3 and it still corrupted on me.

Using an image file is not the best way to go.. And it only comes from qole with 1GB of space.. of which more than half is covered just by the OS.. and the default app's that come with it. So in order to get more you have to make that single file larger.

It's a much better idea to use partitions.. but even with partitions you have to tell it a specific size - and if you go over that size you have to resize the partition; and again risk losing data.

You only get as much space as you allot for the filesystem..

Ok.. modify the /usr/sbin/sgparted to look like:
Code:

#!/bin/sh
mount -o bind /var/run/dbus/ /debian/var/run/dbus/
debian hildon gparted /dev/mmcblk0 /dev/mmcblk1

Although it's odd that you can run that as a user and still be able to resize/move things. Then change your gparted.desktop file to have:

Exec=sudo /usr/sbin/sgparted

Your other option (and probably a better one since it will only mount once) is to modify /usr/sbin/debian script and find where it mounts the home, dev, and tmp directories and add a line that mounts the dbus around there. Then when you run debian for the first time and it sets everything up it will include mounting that dbus directory.. and every subsequent run it will know it's already setup and not mount it again.

Using this hack with my little script here will mount that dbus every time you run it.. which gets ugly when you run df -h and see 100 copies of the same mount.

qole 2008-08-25 15:55

Re: Debian Apps That Run Well On The Tablets
 
So, anyway, anybody know of any Debian Apps That Run Well On The Tablets?

EDIT: Yes, feel free to add the dbus line to your /sbin/debian script. My next version will have that. Something like:

Code:

mount -o bind /var/run/dbus/ "$CHROOT/var/run/dbus/"

fatalsaint 2008-08-25 15:59

Re: Debian Apps That Run Well On The Tablets
 
SimDock is working ok :).

Need to change your pointer with xmodmap to get a middle click to move the dock around to where you want it.. but other than that it's decent so far. Transparency on it messes with some wallpapers.

Its a Mac-Like Dock that doesn't require any 3d extensions.

slick204 2008-08-25 17:23

Re: Debian Apps That Run Well On The Tablets
 
I installed UFRaw yesterday and was able to adjust and covert a raw image to a jpg with no problems. I may give Raw Studio a try too.

BrentDC 2008-08-29 23:22

Re: Debian Apps That Run Well On The Tablets
 
I just installed KeePassX, and wow; this is the password manager I've been looking for.

It is QT, not GTK, so no tap 'n hold, but I can't even see a use for it. Everything works great. If it wasn't for some of the forms being slightly too big and the font on the small side, I would practically think it was designed for the tablets (even memory use is low :eek: ).

I seriously recommend you guys take a look at this.

jiiv 2008-09-02 19:25

Re: Debian Apps That Run Well On The Tablets
 
Sorry if this has been asked/answered (I tried searching for threads with 'battery' but didn't locate an answer): Do we have a working battery status applet anywhere for deblet? Or is there something in /proc with information on remaining charge? I poked around and didn't find anything; perhaps I've been spoiled by acpi.

fatalsaint 2008-09-02 19:29

Re: Debian Apps That Run Well On The Tablets
 
There is a xfce-battery-applet that is included in the local repo for XFCE.

I have no had my deblet on a single WM long enough for me to even both trying to figure out how/if it works.

KDE4's default battery applet also appears to work.. at least in a general sense. It says a percentage but doesn't change for a very long time.. when it was empty the battery applet was empty.. when it was full the applet was full.. but after a few hours running on battery it didn't seem to actually "change"

jiiv 2008-09-02 20:33

Re: Debian Apps That Run Well On The Tablets
 
Heh...that KDE one sounds handy. It's kinda like "If the tablet powers up, you have some battery power remaining. If not, you don't."
I'll check out the xfce applet, thanks much.

qole 2008-09-02 23:11

Re: Debian Apps That Run Well On The Tablets
 
The "fullness" of Li-poly batteries is especially hard to guess at. Even the OS2008 battery meter will suddenly drop from "full" to "empty" on me if I'm doing something battery intensive, and the time between the first non-full step and "empty" is always a fraction of the time between "full charge" and the first non-full step.

samhogue 2008-09-08 17:28

Re: Debian Apps That Run Well On The Tablets
 
Has anyone gotten cellwriter working? It loads and runs fine for me in Easy Debian, but other apps don't seem to accept characters from it. Seems like a perfect fit for the it if we could get it working.

samhogue 2008-09-08 21:48

Re: Debian Apps That Run Well On The Tablets
 
Epiphany-gecko so far has been the fastest and most stable browser for me.

qole 2008-10-02 16:36

Re: Debian Apps That Run Well On The Tablets
 
I've wanted a good Flickr uploader program for a while now, something that will upload pictures from my camera via the N800. I finally hunted around the Debian repos and found Postr. It works fine, better than anything else I've found. A couple of bugs, but <shrug> ... still better than the competition.

http://farm4.static.flickr.com/3091/...ab879a7e_o.png

One of the bugs is that you have to upload from the File menu. The button under the photo list doesn't seem to do anything...

pton 2008-10-17 23:52

Re: Debian Apps That Run Well On The Tablets
 
I run the following apps:
1. fortune: fortune cookies (you can make your own)
2. gmessage: gtk2 messagebox to replace xmessagebox. I use it to display fortune cookies.
3. gjots2: tree-style notes organizer. Simpler than maemopad+ but more versatile in tree organization.
4. gthumb: image viewer with editing features.
5. scim: for Chinese input! I've uninstalled maemocjk from diablo because it replaces the hildon keyboard with matchbox-keyboard, and worst still it can't work with microb browser.
6. freemind: it works! but very slow (slower than iceweasel browser).

BrentDC 2008-10-18 04:38

Re: Debian Apps That Run Well On The Tablets
 
Quote:

Originally Posted by pton (Post 234427)
6. freemind: it works! but very slow (slower than iceweasel browser).

I didn't know that was possible :eek:

Helmuti 2008-10-21 13:18

Re: Debian Apps That Run Well On The Tablets
 
Quote:

Originally Posted by qole (Post 201326)
I would love to know some Java applets that people really wish they could run on the tablets, I'd like to see how they run in Kazehakase.

Hallo or "Moin Moin" from the North of Germany.

I dont't need it. But as an example. This is a very big JAVA-Applet for the videotext of the german TV-Station n-tv: http://www.n-tv.de/1180.html

I try it on both Browsers in the Easy-Debian-package. Kazehakase seems a little bit faster. The Applet open - but can't work out to the end. I really think it's a powerfull applet.

qole 2008-10-21 23:56

Re: Debian Apps That Run Well On The Tablets
 
Helmuti: The applet you suggest is running out of memory. I went to a Java diagnostic page, it looks like, by default, there's only ~6 MB of memory available for Java.

http://farm4.static.flickr.com/3230/...2b500649_o.png

I'll do some research and figure out what's going on, but I think you need to increase the /tmp file size in the ~/.chroot file. The 6MB reported size is with a 10MB /tmp dir.

EDIT: Yes, this is where Java is getting its Max Mem value from; I changed TMPSIZE to 20M and now the same page is printing ">17M"

EDIT2: Looks like that's only PART of what's going on; I boosted the tmp dir to 40MB (and the swap file size to 300+MB), and the max mem is staying at the 17M limit...

EDIT3: It looks like I need to figure out a way to run the applet viewer with the parameter -Xmx48m (or some other big number). Java for windows has a config tool; where is it for Linux?

EDIT4: Interesting; running "free -m " in Debian tells me that I only have 24M of "real" memory available. I wonder if that's part of the problem? Java won't run in swap memory?

hordeman 2008-10-22 19:02

Re: Debian Apps That Run Well On The Tablets
 
Anybody know how to clear out the package manager?; if that's the right phrase to use. :) I was trying to install Amarok so I could use my MTP device (Creative Zen). However, I was downloading via my cell phone and somewhere along the line, the whole thing just hung. The manager still works, but I can't download anything anymore --- even if I use my broadband connection at home; just tells me all the packages that failed (some DID download) and shows the download speed as unknown.

Thanks!

qole 2008-10-22 21:10

Re: Debian Apps That Run Well On The Tablets
 
hordeman: get the Debian Chroot prompt and type
Code:

apt-get -f install
See if that fixes things. Hopefully, you're not just out of space. If so, you're most likely hosed, and you'll have to start again with a fresh file system.

qole 2008-10-22 22:01

Re: Debian Apps That Run Well On The Tablets
 
Here's one for the mythical "Debian Apps that Run Like Crap On the Tablets" thread:

I notice that "iceape" appears in the repositories. Ignore it! It is a trap! Iceape (Seamonkey) still segfaults, unlike Iceweasel (Firefox). I was hoping for a replacement for the missing Icedove (Thunderbird), which has been removed from the repositories for this exact reason, but somehow Iceape snuck in, even though it doesn't work.

EDIT: Just filed a bug report with Debian. Worse than a wisdom tooth extraction.

samhogue 2008-10-22 22:47

Re: Debian Apps That Run Well On The Tablets
 
Just found lxlauncher in the repositories. It gives an EEE-like tabbed launcher which is actually the kind of thing I've envisioned for the tablets. Can anyone tell me how to autostart it when I start LXDE? Man, this is what the tablets should've been all along - a full Debian overlayed with a finger-friendly UI!

qole 2008-10-22 22:50

Re: Debian Apps That Run Well On The Tablets
 
Can you get lxlauncher to work properly for you? I wasn't able to...

samhogue 2008-10-22 22:56

Re: Debian Apps That Run Well On The Tablets
 
It seems to work, but I just installed it. Couldn't find a menu entry, so started it from a terminal. It came up fine, and I switched between tabs and launched a few programs from it. Will try to play more when I get off work, get kids in bed, please wife, etc.

BrentDC 2008-10-23 01:14

Re: Debian Apps That Run Well On The Tablets
 
Quote:

Originally Posted by hordeman (Post 235774)
Anybody know how to clear out the package manager?; if that's the right phrase to use. :) I was trying to install Amarok so I could use my MTP device (Creative Zen). However, I was downloading via my cell phone and somewhere along the line, the whole thing just hung. The manager still works, but I can't download anything anymore --- even if I use my broadband connection at home; just tells me all the packages that failed (some DID download) and shows the download speed as unknown.

Thanks!

Man, I couldn't get Amarok to work on my tablet. It hangs with 100% cpu usage immediately after opening. If I remember correctly, the terminal traceback was something like shm.c open() failed. A Google search of that error didn't help...

samhogue 2008-10-23 02:43

Re: Debian Apps That Run Well On The Tablets
 
Ok Qole, I can confirm that lxlauncher works great from within LXDE, but throws a 'Segmentation fault' if attempted from within chroot in Hildon. Just 2 issues:

1)If you run it from a terminal, every app you start with lxlauncher will close if you close the terminal.

2)If you run it from the 'run' dialog, there's no way to close it without logging out or running xkill from a terminal.

I still see a use for it on the tablet. Would be great if it would work from chroot. Any ideas on that, or how to autostart it when you launch LXDE?

samhogue 2008-10-23 03:05

Re: Debian Apps That Run Well On The Tablets
 
One other app that works great is postr for Flickr uploading. It's slow to pull in a folder of pics of any size, but uploads to Flickr great once it does.

qole 2008-10-23 05:48

Re: Debian Apps That Run Well On The Tablets
 
Quote:

Originally Posted by samhogue (Post 235886)
One other app that works great is postr for Flickr uploading. It's slow to pull in a folder of pics of any size, but uploads to Flickr great once it does.

I mentioned postr just a few posts ago.

debernardis 2008-10-23 06:05

Re: Debian Apps That Run Well On The Tablets
 
The way to autostart apps in Lxde has been covered here: http://www.internettablettalk.com/fo...6&postcount=19
Briefly, you go in your debian chroot and edit /etc/xdg/lxsession/LXDE/autostart
I did it to edit the original Qole's xmodmap and load the Italian keyboard - and works.
Good luck for the launcher!

qole 2008-10-23 17:27

Re: Debian Apps That Run Well On The Tablets
 
Just for fun, I shut down hildon-desktop and matchbox-window-manager, then started Debian LXDE instead of matchbox. It works fine, and I can start hildon apps in it (eg osso-xterm, browser, etc), but I'd like to be able to add a hildon app launcher of some sort to my desktop, as well as the hildon status bar, the one at the top that lets you connect to networks etc... but when I try to add these to LXDE, the status bar works, but it appears in the middle of my screen, and the menu / task bar doesn't work right (the menu won't stay open). I wonder if I can get the Hildon taskbar icons to appear on a Debian status bar?

hordeman 2008-10-23 17:35

Re: Debian Apps That Run Well On The Tablets
 
Quote:

Originally Posted by qole (Post 235822)
hordeman: get the Debian Chroot prompt and type
Code:

apt-get -f install
See if that fixes things. Hopefully, you're not just out of space. If so, you're most likely hosed, and you'll have to start again with a fresh file system.

Yes, that helped get things going again, but you're probably right about the space issues. It started going again, but then it stopped after a couple more packages.

Quote:

Originally Posted by BrentDC (Post 235866)
Man, I couldn't get Amarok to work on my tablet. It hangs with 100% cpu usage immediately after opening. If I remember correctly, the terminal traceback was something like shm.c open() failed. A Google search of that error didn't help...

Bummer. If it's not working, then it's not worth my time to try. I just want to plug in my MTP MP3 player device and sync files.

pton 2008-10-25 04:23

Re: Debian Apps That Run Well On The Tablets
 
Hi, I tried to install audacious player (in Easy Debian, Lxde environment) but it keep giving me 'segmentation fault'. Finally, I got to remove 'audacious-plugin-extras' to make it work. In case you got the same problem, try this solution.

pton 2008-10-25 04:36

Re: Debian Apps That Run Well On The Tablets
 
I also tried to install 'Volume Control' plugin to the Lxde panel, and it starts to hang the panel -- blank, nothing shown, and cpu consistently busy (even after reboot). I finally removed it manually by editing the file ~/.config/lxde/openbox/lxde-rc.xml to get the panel back in action. Don't try to install this plugin unless someone got the solution.

pton 2008-10-25 10:24

Re: Debian Apps That Run Well On The Tablets
 
StarDict 3.0.1: This version installs properly, but it seems to have problem with the Cache feature enabled. It would just hang on startup. To resolve this, I got to disable this feature from the set-up (you have to manually remove all *.oft files from your dic directory manually if the program does not startup). Also, I can't get the 'Sound' feature working (realpeople voice, espeak or festival TTS). NVM.

Compared to Maemo v2.4.8, v3 has babylon format support, and you can organize dictionaries into different groups.

meizirkki 2008-10-25 11:33

Re: Debian Apps That Run Well On The Tablets
 
Quote:

Originally Posted by qole (Post 236082)
Just for fun, I shut down hildon-desktop and matchbox-window-manager, then started Debian LXDE instead of matchbox. It works fine, and I can start hildon apps in it (eg osso-xterm, browser, etc), but I'd like to be able to add a hildon app launcher of some sort to my desktop, as well as the hildon status bar, the one at the top that lets you connect to networks etc... but when I try to add these to LXDE, the status bar works, but it appears in the middle of my screen, and the menu / task bar doesn't work right (the menu won't stay open). I wonder if I can get the Hildon taskbar icons to appear on a Debian status bar?

Does lxde (and debian apps) run faster?


| Prev |   5     6   7   8   | Next
All times are GMT. The time now is 23:22.

vBulletin® Version 3.8.8