Touchscreen optimisation - Dell Duo tablet

Using applications, configuring, problems
Message
Author
User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#21 Post by greengeek »

gcmartin wrote:If the development community does not find a "left click to launch" as a item for non-touch screen use, they may decide to test at boot time to make mouse #1 for screen touch to do so OR they could offer it as a selection in FirstRUN OR ...
Yes it might be a handy option for FirstRun.

I didnt like the idea of the leftclick menu at first but I have spent the last few days almost entirely using a touchscreen Puppy tablet and now I see it is actually really nice to be able to tap anywhere on the open desktop instead of trying to find the sweetspot on a menu button way down at bottom left.

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#22 Post by MochiMoppel »

greengeek wrote:I do have a question regarding Rox - is there any way to get a "new folder" icon to show alongside the other icons that appear on the top row of a rox window?
You should accept the fact that the GUI of ROX-Filer is almost non-customizable. Even if you use amigo's patch to add such button you will still have to struggle with an inflexible file manager not really suitable for a touchscreen. You may want to consider to change to a different file manager. Almost any other fm will do, it's hard to find a fm worse than ROX-Filer.

Attached screenshot shows the lightweight emelFM2 which allows tons of buttons, with the "new folder" icon already as default. You can increase icon size to 60x60px, which will make them finger friendly (I kept icons in top row of right panel with their default so you can see the difference).
Attachments
emelFM2.png
(90.67 KiB) Downloaded 338 times

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#23 Post by greengeek »

MochiMoppel wrote:.... emelFM2 which allows tons of buttons, with the "new folder" icon already as default. You can increase icon size to 60x60px, which will make them finger friendly
Thanks for the tip about emelfm customisability. That may come in handy. I did try xfe in order to get extra functionality that rox lacks but found the icons too small.
You should accept the fact that the GUI of ROX-Filer is almost non-customizable. .... it's hard to find a fm worse than ROX-Filer.
OK, well thats putting it pretty bluntly :-) The problem is - I thought Rox was one of the sacrosanct ingredients of a true puppy. Isn't the jwm/rox pairing one of the cornerstones?

Oh well, unless someone does have the ability to make improvements to Rox I will have to accept it's current limitations. However, I am pleased to report that I have found a method that works great on a touchscreen and allows the user to access the rightclick functionality of rox filer and manipulate directories and files perfectly well.

You mentioned in another thread that the backslash key "" can be used as a shortcut to pop up the rox filer rightclick contect menu so what I have done is to make a new "root:1" menu for the leftclick on desktop and one of the choices there is to pop up the rox menu. I am pleasantly surprised how functional it makes the tablet.

As well as the rox filer right click the new desktop menu also includes a link to the normal puppy main menu and also a link to xvkbd onscreen keyboard which can be popped up to allow typing.

Thanks to your postings in other threads I was able to add a new root:1 addition to etc/xdg/templates/_root_.jwmrc as follows:

Code: Select all

<RootMenu label="1" labeled="false" height="MENHEIGHT" onroot="1">
	<Program label="RoxRightclick" icon="/usr/local/lib/X11/pixmaps/roxrightclick.png">xdotool key backslash</Program>
	<Program label="Desktop Menu" icon="/usr/local/lib/X11/pixmaps/menu.png">xdotool click 3</Program>
	<Program label="Keyboard" icon="/usr/local/lib/X11/pixmaps/kbdmid.png">xvkbdmid</Program>
</RootMenu>
The tablet is now really useable with one finger.

Here are some screenshots:
Attachments
Desktop_root1_menu_.jpg
(40.97 KiB) Downloaded 301 times
RoxRightclickMenu_.jpg
(48.87 KiB) Downloaded 298 times
DesktopSingleclickMenu_.jpg
(52.04 KiB) Downloaded 292 times

gcmartin

#24 Post by gcmartin »

@MochiMoppel, myself and few others are the rare members (outside of developers) who use dual pane fm. My choice is a JAVA based one, muCommander (others listed here, as well). BUT, I have not tried "long-touch" for mouse #2 button support in any fm, thus far. It is now on my todo list.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#25 Post by greengeek »

Thanks for the link to that thread. I think any any attempts to enhance useability of touchscreen puppies will centre around the customisability of the wm/fm. I am now quite happy with the way the jwm/roxfiler combo is working with the new root:1 menu but different devices may not suit it quite so well.

And if we ever get to the stage of having a Puppy on a commonly available arm/android tablet it may be necessary to ditch the accepted Puppy choices and rework the basic ingredients in a way that better supports multitouch and fat fingers.

The same is true of browsers - I just can't find a way to make the tab controls bigger in Firefox.

If I could find a way to port the Roxfiler nextclick "crosshair" to other programs it would be great.

So many challenges - so little time.

gcmartin

#26 Post by gcmartin »

One other idea that comes to mind, although, I have not done more than consider the idea awhile ago, is to run other OSes (other than MS) on my touch PCs over the years. Yes, MS does a very creditable job, but I have not ventured outside of Lighthouse on my HP PC solutions.

I have tested Slacko64, and FD6+ from time to time, but LH has been my PUP whenever my HP has been used in travel and seminars. It has been greatly used, providing me with simple quiet touch especially in dark rooms where I merely look at the screen and touch for many needs.

Sincerely hope the developers understand what you are showing the community thru your efforts; packaging what you present for WOOFCE implementation. This takes steps where a PUP can be useful on PCs; non-touch and touch! ... as well as tablets and other screened handhelds.

I wonder if other members have additional ideas of touch needs not seen in either LH, JLH, or here.

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#27 Post by MochiMoppel »

greengeek wrote:If I could find a way to port the Roxfiler nextclick "crosshair" to other programs it would be great.
What is Roxfiler nextclick ?
So many challenges
How do you drag, e.g. when resizing or moving windows? I think that touchpads can be configured to accept double-click as a drag start, but does this also apply to touchscreens?

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#28 Post by greengeek »

MochiMoppel wrote:What is Roxfiler nextclick ?
Well - bear in mind that I use the names rox and rox filer more or less interchaneably so forgive me if I've called it the wrong thing (you know I'm not very pedantic or accurate :-) ) - If I open the "file" (home) icon on the desktop as an example I can right click on the whitespace in that directory and one of the choices is "next click". If I select that and then choose the "next action" I want from the submenu I can then move my mouse over the files and directories in there I will see a "crosshair" which allows me to select the object upon which I wish my "next action" to be performed.

This is hardly a necessary function when you have a rightclick mouse key available but is very handy on a touchscreen.

I have made a sample video here:
http://www.mediafire.com/download/3j349 ... k_test.mkv
How do you drag, e.g. when resizing or moving windows? I think that touchpads can be configured to accept double-click as a drag start, but does this also apply to touchscreens?
On the touchscreen it appears that if I hold my finger on the top bar of the window for a second and a half the window gets selected and I can move it around.

If i want to resize it I press the small icon at the very top left of the window and it pops up a list of possible functions including resize. If I select resize it places the cursor (mousepointer?) at the bottom right corner of the window - on the actual grab handle and all I have to do is put my finger there and slide it to the position that gives me the window geometry I want. (This would be very hard if i didnt use the resize function from that menu as i usually have a hard time finding the sweet spot on the grab handle - even with an accurate mouse). (in fact I have long wished that there was some way to improve the "grabability" of that bottom right grab handle as it annoys me considerably.

I have made a sample video showing touchscreen window resizing here:
http://www.mediafire.com/download/k76s5 ... agtest.mkv

gcmartin

#29 Post by gcmartin »

Just to offer my experiences in PUPPY Linux use (via LH, FD, Slacko64, and JLH). Others may have different ways of expressing the same.
How do you drag ...
The idea that one should understand, is that your finger is the mouse pointer and if you simultaneously hold down mouse button one when on the top line of any window, you drag it anywhere you like just as if you were using a mouse. In LH, if I double tap the top window line it does what you get when using the mouse. If I tap and hold, I can drag a window.

If i need to resize, I tap to a Window edge which changes the mouse pointer (same as a real mouse) and hold mouse button 1 down at the same time to resize any window.

Your finger is your pointer. And it behaves much the same as using your finger on a laptop's touchpad.

Interestingly is that some/many schools are rolling out tablets for kids. Their use should be looked at, as to the kind of people who will increasingly be coming to Puppyland. As such they will bring a touch knowledge-experience where we must provide a level of comfort in what they already know and how to use that in their use in PUPPY screens.

Touch brings productivity in user use..

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#30 Post by greengeek »

gcmartin wrote:If i need to resize, I tap to a Window edge which changes the mouse pointer (same as a real mouse) and hold mouse button 1 down at the same time to resize any window.

Your finger is your pointer. And it behaves much the same as using your finger on a laptop's touchpad.
How do you achieve the following on your touchscreens:
1) Create a new directory in the currently displayed directory (eg open root directory and make a new directory in there?)
2) Rename a directory?

Cheers

gcmartin

#31 Post by gcmartin »

In LH, I always had to use mouse button 2 in ROX and finger tap the selection.

I may just need to fire up a Windows on the HP (haven't used it much there in 5 years - Vista) to see how mouse 2 is accomplished in the touch screen. Then return to PUP to replicate, if it exist. There is 1-finger, 2-finger, 10-finger, tap, long-press, etc all of which I have not investigated. You have peaked my interest in how to effectively make use of the modern touch services in PUPs we have.

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#32 Post by rufwoof »

Puppy touch screen and tilt can be very hit and miss :)
Image

gcmartin

#33 Post by gcmartin »

Ha ha.
rufwoof wrote:Puppy touch screen and tilt can be ...
Good point. I hadn't given a thought of rotate, if that what you refer.

In phones and tablets, the controller for that is a feature that PCs do not have. So, I would not, at this juncture expect to see that just yet until PCs are manufactured with the same hardware features that phones have, today. The way things are looking, it might be a goodly while before we do.

Cheers!

User avatar
Pete
Posts: 660
Joined: Sun 02 Mar 2014, 18:36

#34 Post by Pete »

I truly hate those auto rotate sensors in phones, they very often get their knickers in a knot and don't know which way to rotate and get it wrong.
One is then left waving and moving the device like a man demented trying to get it the right way round.

Why can't there just be a button?
Press once it rotates, press again rotates 90 degrees, and so on.
The fact that PC's don't have this sensor, is not such a bad thing, just program
a key to do the function.

gcmartin

#35 Post by gcmartin »

I am not sure of 2 things as far as rotate is concern.

If I am not mistaken, many/some tablets actually have the sensor. But, I am not sure what a Linux OS does with it signals? Obviously something???

Reason I say this is understanding the foundation of Android/iOS/webOS/ChromeOS: So that is code in the system to respond and rotate. In an Android phone, we merely swipe down and turn off that hardware feature. Thus the code to respond never gets a signal from the sensor.

But, we are talking about PUPPY Linux distro, which I dont believe has any code presently to respond to screen rotation. And there's more to it if I remember correctly...namely active focus application remaps.

Still we could be, or we are, quite a ways away from this being addressed. ... I think.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#36 Post by greengeek »

Does anyone know of a way to change the keyboard shortcut for rox filer "display rightclick menu" from backslash "\" to another key or key combo?

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#37 Post by MochiMoppel »

greengeek wrote:Does anyone know of a way to change the keyboard shortcut for rox filer "display rightclick menu" from backslash "" to another key or key combo?
Key combo for touchscreen optimization? The backslash shortcut is built-in. If you don't like the backslash you can use your Menu key (present on most keyboards next to the right Ctrl key)

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#38 Post by greengeek »

MochiMoppel wrote:Key combo for touchscreen optimization?
Yes - at present on my touchscreen I am using a desktop root:1 menu that uses xdotool to send the backslash to rox, which works well to bring up the rightclick menu, but the downside of this is that there is a risk that I could accidentally send a backslash to a text editor or word processor if they have window focus instead of rox.

I thought there may be some way to change the backslash shortcut to something like ctrl+\ in the hope that this would not be interpreted as an actual character by leafpad, geany, abiword etc.
If you don't like the backslash you can use your Menu key (present on most keyboards next to the right Ctrl key)
Ah yes, thank you. Never noticed that key before. I must see if xvkbd has that key option. I can still use the backslash method from xvkbd but I do prefer the root:1 menu method (it actually becomes quite a quick way to work once you get used to it) - it's just that I would be even happier if i could use a ctrl+\ instead of just \

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#39 Post by MochiMoppel »

greengeek wrote:t's just that I would be even happier if i could use a ctrl+\ instead of just \
Changing the ROX shortcut to an odd combo hoping that it will not be recognized by any other application is a quirky solution. It shouldn't make you happy. You deserve something better :wink: .

Solution 1: If you want to make sure that the backslash it only sent when a ROX window is active you have to make this a condition in your code. May look a bit complicated, but it works for me:

Code: Select all

<Program label="RoxRightclick" icon="/usr/local/lib/X11/pixmaps/roxrightclick.png">ID=$(xprop -root _NET_ACTIVE_WINDOW);ID=${ID##* };CL=$(xprop -id $ID WM_CLASS);[[ $CL == *ROX-Filer* ]] && xdotool key backslash</Program> 
Solution 2: This is much better and more flexible. Just send the Menu key via xdotool. This will open the ROX menu when ROX is active, it will open the Genie menu when Genie is active etc. It gives you access to the context menu of any active window:

Code: Select all

<Program label="Menu Key" icon="/usr/local/lib/X11/pixmaps/menu.png">xdotool key Menu</Program> 

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#40 Post by greengeek »

MochiMoppel wrote:Changing the ROX shortcut to an odd combo hoping that it will not be recognized by any other application is a quirky solution.
Unfortunately Mr Quirky, Mr Kludgy and Mr Hacky are the three personalities that live inside my head. I'm always glad when Mr Pedantic arrives on the scene to help clean up the mess :-)
Solution 2: This is much better and more flexible. Just send the Menu key via xdotool. This will open the ROX menu when ROX is active, it will open the Genie menu when Genie is active etc. It gives you access to the context menu of any active window:

Code: Select all

<Program label="Menu Key" icon="/usr/local/lib/X11/pixmaps/menu.png">xdotool key Menu</Program> 
Indeed that is an excellent solution. That extends the functionality of the new root:1 menu enormously. Can't thank you enough for that little gem. See attached pics.
Solution 1: If you want to make sure that the backslash it only sent when a ROX window is active you have to make this a condition in your code. May look a bit complicated, but it works for me:

Code: Select all

<Program label="RoxRightclick" icon="/usr/local/lib/X11/pixmaps/roxrightclick.png">ID=$(xprop -root _NET_ACTIVE_WINDOW);ID=${ID##* };CL=$(xprop -id $ID WM_CLASS);[[ $CL == *ROX-Filer* ]] && xdotool key backslash</Program> 
You know what - I didn't even try this as your solution number 2 is so straightforward. But you've inspired me to have a look at xprop so that is another step towards increasing my future abilities. As far as I can tell in this example it looks as if you are using xprop to set the appropriate window focus. That could be handy for some other menu additions later. I had a feeling wmctrl can do something similar (can't remember clearly).

Thanks for the inestimable assistance!
Attachments
new_root1_menu.jpg
(37.46 KiB) Downloaded 160 times
new_context_menu2.jpg
(53.56 KiB) Downloaded 162 times

Post Reply