![]() |
Re: Easy Debian Fremantle Beta Testing
Quote:
"xdotool click 3" m:0x80 + b:1 + release putting that in xbindkeysrc after installing xdotool, works great. When holding down fn-key, tapping the screen is right click. works in dosbox aswell. |
Re: Easy Debian Fremantle Beta Testing
Quote:
VBox really seems to influence the result. Here's another one: Code:
#Shift+Tap=middle click |
Re: Easy Debian Fremantle Beta Testing
The openoffice.org Debian packages have received a number of updates recently, mostly security related. In Easy Debian (v3e) I therefore did:
Code:
apt-get update Because this upgrade needs sufficient space in /.debian/var/cache/apt, and since I have enough space in /home/user, I moved the cache out of the image like so (in Debian chroot): Code:
cd /var/cache/apt |
Re: Easy Debian Fremantle Beta Testing
Firstly, apologies if this has already been covered. I did search but didn't find quite what I'm looking for. Also, thanks to qole and everyone else involved for bringing a proper GNU/Linux environment to the n900, it's a killer app for me.
I'm currently in the process of modifying the qmount and qumount scripts to allow the use of a chroot within an existing directory structure, as opposed to using an image file or partition. I'm not looking for help as such, I'm pretty sure I can make it work, although any advice will be gratefully received. My question is this: has anyone already done this? It would be silly for me to duplicate existing work. If so can someone please provide a link? If not I'll post patches here when I'm done, but I don't have a lot of time to work on it right now so it may be a little while. |
Re: Easy Debian Fremantle Beta Testing
klepto: I do not recommend putting your chroot in a directory. I have tried it and it has problems like the inability to kill chroot apps by closing the chroot.
|
Re: Easy Debian Fremantle Beta Testing
Would it be possible with XdoTool to define mousebuttons at the bottom corners of the touchscreen and maybe a scrollbar on the side.
And then use the rest of the touchscreen to send "move mouse" commands to the mousepointer in the same direction as the finger moves? Hopefully with acceleration too? |
Re: Easy Debian Fremantle Beta Testing
Quote:
One would need another program to create the interface that grabs the mouse actions. Zenity could do the mouse buttons but I have no idea if it could do something like a touchpad. It would have to be some transparent form covering the whole screen but then there is the problem how to tell the difference between a simple mouse movement and a a marking action. And one couldn't simply click on any elements on the desktop unless the mouse pointer is exactly above it. So the usual touch-screen feeling would get lost. I don't think that it's feasible with a reasonable effort and to a reasonable level of usability. What I think could be useful is some kind of d-pad. This could either be on-screen or on the hardware keyboard (switching between d-pad and normal keyboard via some modifier - much like the num-pad switching on laptop keyboards without dedicated num-pads). I think the latter option would be better. Could we somehow use the camera button for that switch? I know there is a program in the Maemo repository that allows to customize the action that is performed when the camera button is pressed. But I haven't tried it so far. |
Re: Easy Debian Fremantle Beta Testing
Quote:
The Fn+Tap=right click works with no problem. I thought that Shift+Tap=middle click wasn't working until I realized I had to release the Shift in sync with the tap. The Fn+Tap was not as sensitive to the timing. Is this the general observation? |
Re: Easy Debian Fremantle Beta Testing
Quote:
Can you please swap Fn and Shift in the xbindkeys commands, try again and report back if the release-behavior is related to the key or the emulated mouse button? Edit: Just for the record, I just tried to switch Num_Lock and Caps_Lock via xdotool. In principle (on my laptop) it works. The N900 seem to know these buttons too (I got no error message) but doesn't care for them. I added lxpanel's LED indicator to the panel, but it didn't change and I also couldn't see any changes in the keyboard behavior (e.g. capital letters). |
Re: Easy Debian Fremantle Beta Testing
Quote:
|
Re: Easy Debian Fremantle Beta Testing
Quote:
I dont understand everything you write since i dont know anything about the transports of the actions under the hood in linux (why zenity?). But i am comparing the simplicity to use the touchpad on my notebook and how difficult, and sometimes impossible (OnMouseOver() doesnt work for instance), it is to use the stylus. A Dpad would ofcourse be a big improvement over the stylus and from the youtube videos i have seen just about everyone has a problem with the stylus. The thing i would like to have is a simple mousecontrol that doesnt need a concentration of 110% like the stylus need, and which cant mess things up if i slip, like when i try to hit something in a menu for instance (Like load previous document instead of save) After all, the interface was made for a mouse and not for a stylus, so it isnt so strange that it is hard to use. |
Re: Easy Debian Fremantle Beta Testing
Quote:
Quote:
btw: there is a workaround to use OnMouseOver: just tap on a place where a click doesn't matter and then hold and pull the stylus over the element where you want the OnMouseOver-event to happen. Quote:
|
Re: Easy Debian Fremantle Beta Testing
Last night I installed EasyDebian, and I came to the conclusion that the installer needs a slight rework - Namely an option to extract the image to a different card than the compressed image is located on.
Why? If you write to the SD card and read from MyDocs, the device is fairly usable while it's extracting(Not sure about the other way around). It also only takes an hour or two. If you are reading/writing to MyDocs, things are unusable. As it is, it's a simple edit to the shell-script - I just added "-c" to the lzma line, and then piped it into a file with ">/media/mmc/extractedImage.img". Simple. Now, to make it usable for everyone, an extra prompt would be needed - about 5 mins of coding. I'll do it myself if needed. |
Re: Easy Debian Fremantle Beta Testing
Quote:
(But i think that the hardest part with the stylus is that it is always into mouseclick-mode. So if the mouseclick could be separated from the stylus, then that would also make it much more reliable, maybe a zenitybutton on the side? hmm. no that would move the mouse :p ... the camerabutton would have been perfect there ) But i have been thinking about the pad for a while now... From what i understand a transparent paintarea that covers the Whole screen is necessary to catch all the mouseevents, with buttons for mouseclick and mouselock. Maybe even with a button to fold up a screenkeyboard, and a button to shrink it into a icon to get it out of the way when the stylus method is more preferable. -Then all three types of inputs will be aviable within reach of the *fingertips* :D Not necessary for me since i have very good eyes, but maybe for others, would be to have a button that converts the paintarea into a magnifying glass, magnifying the area around the mouseposition. -What do you think? would this be a good overall improvement? This is probably a lot more than xdotool can handle i suppose... |
Re: Easy Debian Fremantle Beta Testing
Quote:
Quote:
Quote:
Quote:
Quote:
I think I have once seen a leaner magnification tool, but I don't know the name anymore. It was not gnome-mag, or at least it was not gnome-mag alone but with some GUI frontend. I tried to tinker some d-pad implementation and while I was researching for some details I stumbled upon a tool called keynav which is already in the debian repository. It's very similar to what I had in mind, but even better. Its usage seems a bit strange at first but I guess that's just a question of getting used to it and I think this usage is part of what makes keynav superior to my idea. I think it has great potential in ED, at least for power users. Unfortunately the versions up to sid have a quite annoying bug which makes the lxde menu non-functional. So you'll need the experimental package. This in turn needs libxdo2 from sid, but apart from that there are (currently) no dependency issues. If you start keynav it complains that it is unable to lookup the keycode for "bracketleft" even if this character isn't used in the configuration file. But if you tell xkvbd to issue "[" before you start keynav the error will disapppear. |
Re: Easy Debian Fremantle Beta Testing
Quote:
Quote:
those buttons could just as well be swipes from the edges like the mousepointer in microb. But a magnifying glass would ofcourse make it possible to shrink fonts and other visible elements even further. Quote:
Quote:
But i have to say that i like my idea very much, maybe i should dust off some of my old asm/C++ knowledge and try o make something out of it... but i dont really know what is possible or not under the hood in linux, or even how stuff there works :p if it had been DOS i would just make my own INT33h handler. |
Re: Easy Debian Fremantle Beta Testing
for magnification there is xzoom in the repos. It's lightweight. The window doesn't follow your mouse but it can still be very useful.
|
Re: Easy Debian Fremantle Beta Testing
Quote:
Quote:
Quote:
So what is possible in DOS will also be possible in Linux. Unfortunately I never learned proper ansi C(++) (I can read it, but I learned another dialect which always gets into my way when I try to code on my own) and asm was never my favourite. Quote:
Just another note on my d-pad experiment: I was able to set up a working d-pad with xbindkeys/xdotool (well it's not that hard.), but I stumbled upon 2 maybe 3 problems: 1. There needs to be some switch mechanism between normal keyboard and d-pad (a key-combination). I thought that might be accomplished by guile, which is supported by xbindkeys. But unfortunately I've never dealt with guile or any other language that comes even close to it. But I fear I understood that the switch I had in mind would either require a nearly total rewrite of the keyboard handling in xbindkeysrc or a seperate handling in external scripts. I find both ideas extremely ugly, because every single keypress would have to be checked if it should write a character or cause a mouse movement. So I'll not do that. If someone has a better idea and preferably some experience in guile I'd appreciate any help. 2. There needs to be some mouse acceleration. First I tried with 1 pixel per key event, but this is just too slow to navigate. It starts to become useful at 10 pixels. Unfortunately the cursor becomes choppy at 5 pixels. The easiest solution I could think of was one or more acceleration buttons (there is an unused middle key in a 3x3-pad). But I don't know how useful this can be. I have massive problems with pressing two adjacent keys simultaneously, so I cant judge that. But I guess others are more talented. 3. The constant press of a button combined with the translation into mouse moves works, but creates an immense CPU load. I don't like the idea of a computer being occupied by mouse movement. :( |
Re: Easy Debian Fremantle Beta Testing
Quote:
-But havent tried it in reality yet, so... Quote:
But linux is very different from dos, i have to know a lot that i dont know yet. I think i should install debian on a desktop computer and start to read about it. Any good links about how debian works? |
Re: Easy Debian Fremantle Beta Testing
I recommend making an Ubuntu Live CD. Ubuntu is kind of a desktop-centric step-son of Debian, and they're very user-friendly. The Live CD will let you run Ubuntu on your PC without having to install anything. Everything you install will not affect your PC in the long term (although I guess you could partition your HD, which would have long term effects!)
Pretty much everything you learn in Ubuntu is directly transferable to Debian. |
Re: Easy Debian Fremantle Beta Testing
Quote:
http://www.linuxliveusb.com/ This is what I recommend to any newcomers who just want to test Linux out. Before making the inevitable move that is ;) |
Re: Easy Debian Fremantle Beta Testing
Quote:
Any useful links for newcomers about programming in linux? |
Re: Easy Debian Fremantle Beta Testing
Quote:
http://www.arachnoid.com/linux/shell_programming.html |
Re: Easy Debian Fremantle Beta Testing
Quote:
- And that is C++ i think ? To learn python seems like a unnecessary step, or is it? |
Re: Easy Debian Fremantle Beta Testing
I'd suggest to have a look at the source code of xorg's existing mouse driver that ships with Debian:
http://packages.debian.org/source/sq...rg-input-mouse |
Re: Easy Debian Fremantle Beta Testing
I tried removing my v3d and installing v3e. I'm noticing that in v3e, when I do an apt-get-update and follow that with an attempt to install either R (r-base) or Inkscape, my phone restarts in the middle of the install process and won't let me back into ED thereafter. Going back to v3d, should've backed it up first.
:( OpenOffice 3.2 sure looked nice though! |
Re: Easy Debian Fremantle Beta Testing
I am getting a broken dpkg consistently in v3d now as well. Inkscape seemed to install but the executable won't run, and trying to install gnumeric restarts the phone and breaks dpkg.
|
Re: Easy Debian Fremantle Beta Testing
Quote:
when i can install e.g. evolution as a test case then i'll start getting excited again. not happy. |
Re: Easy Debian Fremantle Beta Testing
Well, I hasten to add everything was working fine and I should have left well enough alone. Curiosity overcame good judgment and I should have backed up my .ext2 image first.
Can't really account for the changed behavior of the environment. Although I first installed ED right after I got the phone, and I suspect I have a lot more processes running now... |
Re: Easy Debian Fremantle Beta Testing
Quote:
|
Re: Easy Debian Fremantle Beta Testing
Quote:
|
Re: Easy Debian Fremantle Beta Testing
Quote:
|
Re: Easy Debian Fremantle Beta Testing
Quote:
|
Re: Easy Debian Fremantle Beta Testing
don't know if qole is listening, but i seem to remember going through his scripts that the debian partition wasn't mounted in such a way that the write cache was disabled. is there any downside to mounting it write cache disabled? in any case i might temporaily mount it write cache disabled (sync? or something) and see if i can install stuff. will report back in a few days, unless qole jumps in advising me that i'm in danger of bricking my phone.
|
Re: Easy Debian Fremantle Beta Testing
I don't have power kernel running. My solution was to make backups and to install in smaller pieces when I run into the reboot problem.
|
Re: Easy Debian Fremantle Beta Testing
What's the best backup solution? rsync? I think sulu had recommended that earlier (see, I do read this thread).
|
Re: Easy Debian Fremantle Beta Testing
I experience the same problem as leetnoob.
I have power kernel 46 and v3d and if I try to upgrade Gimp or OpenOffice it reboots the phone, corrupts image file and makes MyDocs read-only. Same result is with stock and power kernel 42 and also with image v3e. Obviously this has something to do with PR1.3, because when I had PR1.2, I could upgrade both applications without any issue. |
Re: Easy Debian Fremantle Beta Testing
Quote:
|
Re: Easy Debian Fremantle Beta Testing
i modified qmount so all the mount commands had the 'sync' option to disable write caching and it made no difference. easy debian is now broken as far as i can see. well, it's ok so long as you just want to install small trivial apps, but as far as installing anything useful, forget it.
|
Re: Easy Debian Fremantle Beta Testing
Quote:
man, i'm really annoyed about this. i'm off to sulk. easy debian is BROKEN. |
All times are GMT. The time now is 13:53. |
vBulletin® Version 3.8.8