Re: [lubuntu-users] Keyboard shortcuts

2016-10-26 Thread Basil Fernie

Hi Nio, Mark et al,

I believe I have found the very thing I was looking for in syndaemon   
although its name is not exactly propitious!


This is a system command which, according to the  man page, allows you 
to set the delay during which the touchpad is defeated  once a (say 
alphanumeric) key is pressed. Default is 2 seconds. Polling interval 
default is 200ms. Quite a few options to play with...


Defaults work quite well for me. I was beginning to realise I missed the 
touchpad, after switching it off with synclient habitually on bootup.


I'm using the latest update of Lu16.04. Don't know yet whether it's 
still in 16.10, nor if you'll find it in things like 4MLinux. Not clear 
where it comes from, but it is regarded as a general command and is 
documented by someone at debian.org.


Two small complaints: (1) Scrolling through a list with the touchpad 
becomes tedious since the cursor actually moves in saccades - but this 
goes with the territory, I would say. (2) I don't see any provision for 
turning it off. Since there are kinds of work where its effect is very 
desirable, I want it on most of the time. But sometimes It needs to be 
off for rapid screening through lists of, e.g.  e-mails or files. 
Probably have to set defeat to 0 seconds...


Ciao,
Basil



On 06/09/2016 21:38, Nio Wiklund wrote:

Hi Mark,

synclient touchpadoff=1  ## turns off the touchpad
synclient touchpadoff=0  ## turns on the touchpad

You can make aliases for these commands or bind them to some hotkey 
combination.


Best regards
Nio

Den 2016-09-06 kl. 21:31, skrev Mark F:

I would like the shortcuts better than snapping. (I turn off snapping, I
don't like it at all. I must be unusual because it seems to be the
default in other distros.).

Is there a listing of available shortcuts? I know the info can be seen
in ~/.config/openbox/lubuntu-rc.xml . But, I'm thinking new users
(Windows users specifically) who might comprehend it the info was more
available like a help file(?).

I'd like to see a shortcut for disabling/enabling the laptop touchpad. I
wrote a couple shell scripts to do that.[1] One toggles it on/off and is
bound to a keyboard shortcut. I call the other script from .profile to
toggle the touchpad off by default.

(A "touchpad-indcator" package exists. But, I don't need that much
fancy'ness and overhead.).

[1] The scripts do the following:
 xinput list   (to get the touchpad's id-number)
xinput set-prop {id-number} "Device Enabled" 0   (or 1).



On Tue, Sep 6, 2016 at 10:02 AM, Ian Bruntlett > wrote:

Hi,

I like the short-cut ALT+x keypress which alternately maximises the
window or returns it to its previous size.

However, I have noted with things like a terminal emulator (in which
I use bash) or emacs, quite often I end up manually making their
windows either as tall as possible or wide as possible.

Would other people find such shortcuts useful? Do they already 
exist?


BW,


Ian

--
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/

-- Free Software page -
https://sites.google.com/site/ianbruntlett/home/free-software



--
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com 


Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users











--
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Keyboard shortcuts (for touchpad enable/disable)

2016-09-10 Thread Mark F
Israel, I had the same reaction to Basil's suggestion. But, I overlooked
how he said a value of zero means "touchpad off." I think that would
satisfy resource sensitive people (the target audience of Lubuntu?).

If I'm not using a real mouse (and needed the touchpad), reducing its
sensitivity while typing would be a blessing. Maybe it's just me, but my
mouse cursor (and focus) are *all over the place* while I type with the
touchpad on. I can't get anything done. I prefer an external mouse (and
touchpad off). But, sometimes it's handy to use the touchpad than to lug a
mouse around with you.

My thing is: I wish it could be a UI in the menu->preferences/settings.
Then new users would have a reasonable chance of finding it. But, I know
that adds to someone's work.

There is a touchpad-indicator[1] package (with a UI, sits in the taskbar).

[1] sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install touchpad-indicator

On Sat, Sep 10, 2016 at 8:11 AM, Israel  wrote:

> On 09/07/2016 04:24 PM, Basil Fernie wrote:
>
>> This is beginning to sound rather easy to implement: have a little
>> listener process monitoring keyboard activity.. whenever a key is pressed,
>> the touchpad is automatically set "off" for say 500-600ms, after which it
>> is set "on" again. No need to fiddle with drivers, key-combos... User must
>> be able to set delay, with delay=0 meaning touchpad permanently off.
>>
>> Any takers?
>>
>> Basil
>>
> ...
> Hi Basil,
> This would be an OK idea, and easy to implement, but the issue you run
> into is having a near continual 'sleep' going, which eats memory.
> You could write a program to do this but I think a touchpad toggle script
> is easier, and makes more sense, as well as saves your resources:
>
> #!/bin/bash
> CURRENT=$(synclient |grep TouchpadOff)
> # get the current touchpadoff value... 0 is on 1 is off
> if [[ "${CURRENT/0}" != "$CURRENT" ]]
> then
>   #  touchpad is on, so turn it off
>   synclient TouchpadOff=1
> else
>   # touchpad is off, so  turn it on
>   synclient TouchpadOff=0
> fi
>
> Just simply make this an executable file and edit your openbox config file
> to make a shortcut to run this script
> It is simple and easy.  It automatically turns it off OR on depending on
> the current state.
>
> --
> Regards
>
>
> --
> Lubuntu-users mailing list
> Lubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/lubuntu-users
>
-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Keyboard shortcuts (for touchpad enable/disable)

2016-09-10 Thread Israel

On 09/07/2016 04:24 PM, Basil Fernie wrote:
This is beginning to sound rather easy to implement: have a little 
listener process monitoring keyboard activity.. whenever a key is 
pressed, the touchpad is automatically set "off" for say 500-600ms, 
after which it is set "on" again. No need to fiddle with drivers, 
key-combos... User must be able to set delay, with delay=0 meaning 
touchpad permanently off.


Any takers?

Basil

...
Hi Basil,
This would be an OK idea, and easy to implement, but the issue you run 
into is having a near continual 'sleep' going, which eats memory.
You could write a program to do this but I think a touchpad toggle 
script is easier, and makes more sense, as well as saves your resources:


#!/bin/bash
CURRENT=$(synclient |grep TouchpadOff)
# get the current touchpadoff value... 0 is on 1 is off
if [[ "${CURRENT/0}" != "$CURRENT" ]]
then
  #  touchpad is on, so turn it off
  synclient TouchpadOff=1
else
  # touchpad is off, so  turn it on
  synclient TouchpadOff=0
fi

Just simply make this an executable file and edit your openbox config 
file to make a shortcut to run this script
It is simple and easy.  It automatically turns it off OR on depending on 
the current state.


--
Regards


--
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Keyboard shortcuts

2016-09-06 Thread scrooyahoo

On 2016-09-06 21:31, Mark F wrote:
I would like the shortcuts better than snapping. (I turn off snapping, 
I
don't like it at all. I must be unusual because it seems to be the 
default

in other distros.).


I also turn of snapping, Snapping would make a lot of sense on a tablet, 
but ... then you dont have a keyboard so even there it is useless. So 
maybe in the future someone will figure out a better way.



Is there a listing of available shortcuts? I know the info can be seen 
in

~/.config/openbox/lubuntu-rc.xml . But, I'm thinking new users (Windows
users specifically) who might comprehend it the info was more available
like a help file(?).


LXQt has a nice shortcut editor so in the near future this will probable 
not be an issue.
Maybe someone can strip the shortcuts from that XML and put them in a 
nice table on the Lubuntu website?



I'd like to see a shortcut for disabling/enabling the laptop touchpad. 
I
wrote a couple shell scripts to do that.[1] One toggles it on/off and 
is

bound to a keyboard shortcut. I call the other script from .profile to
toggle the touchpad off by default.


Many laptops have their own hardware key combo for that. FN+F4 in my 
case.  So i wonder how hard it is to make a default key combo for this.



(A "touchpad-indcator" package exists. But, I don't need that much
fancy'ness and overhead.).

[1] The scripts do the following:
  xinput list   (to get the touchpad's id-number)
xinput set-prop {id-number} "Device Enabled" 0   (or 1).


Is there a difference or advantage in using set-prop over using
xinput disable 
xinput enable 

?






--
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Keyboard shortcuts (for touchpad enable/disable)

2016-09-06 Thread Mark F
On Tue, Sep 6, 2016 at 2:15 PM, Mark F  wrote:
> I use Windows-key + Space-key. I don't recall hitting it by accident.

Upon further reflection, that could be because I don't make use of any
keyboard shortcuts on a regular basis. Maybe if I were in the habit of
hitting various key combos I could empathize with Aere's caution.

But, it seems like that would happen with any keyboard shortcut. I've been
using ctrl+alt+f1 to bring up a console (then ctrl+alt+fn+f7) to go back to
the desktop (a workaround for the mouse cursor disappearing after
locking/unlocking the screen). If I accidentally hit that, I would know how
to undo it.

I can see how, if someone didn't know of the shortcut they could cause
Aere's situation to arise.

But, It's possible I could hit a different key (in the scenario I described
above) and get something I wouldn't know how to get out of. It's not like
the touchpad scenario doesn't already exist(?) in other ways.

A solution would be if the on/off toggle were a GUI under menu-settings,
and the shortcut could be enabled/disabled there? Then the user would have
a reasonable expectation of knowing about the shortcut if someday they
accidentally toggled the touchpad.

About the documentation of keyboard shortcuts, I often wish Lubuntu had a
"Welcome" screen after installation, like Mint does. Things like keyboard
shortcuts could fit there. I'm sure experienced users think that would be
lame. But, the way Windows is becoming controversial with its users, it
seems to me like it would be good to have the basics presented to new
users. It's not that bad to check "Don't show me again."
-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Keyboard shortcuts

2016-09-06 Thread Aere Greenway

On 09/06/2016 01:31 PM, Mark F wrote:
I'd like to see a shortcut for disabling/enabling the laptop touchpad. 
I wrote a couple shell scripts to do that.[1] One toggles it on/off 
and is bound to a keyboard shortcut. I call the other script from 
.profile to toggle the touchpad off by default.



Mark:

That (to me) sounds really scary.

You're typing away, hit some wrong keys, and suddenly the touchpad (your 
only mouse) stops working!  Aarrghh!!


--
Sincerely,
Aere


--
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


[lubuntu-users] Keyboard shortcuts

2016-09-06 Thread Fritz Hudnut
On Tue, Sep 6, 2016 at 1:15 PM, 
wrote:

> I still think this would be useful as a keyboard shortcut. It was really
> frustrating to me when I switched to Lubuntu over a year ago (from Win 8.1)
> and struggled with the cursor jumping around while I type. I don't know if
> it's just me who prefers a real mouse.
>

Had this problem on my MBPro in various LM iterations . . . there is a GUI
option to check "disable touchpad while typing" that seemed to cut the
problem down quite a bit--don't know if Lubuntu offers that choice, I
believe that U-MATE has it??

Of course I know it is "declasse'" to use GUI options, but . . . easy to do
and un-do.

F
-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Keyboard shortcuts

2016-09-06 Thread Nio Wiklund

Hi Mark,

synclient touchpadoff=1  ## turns off the touchpad
synclient touchpadoff=0  ## turns on the touchpad

You can make aliases for these commands or bind them to some hotkey 
combination.


Best regards
Nio

Den 2016-09-06 kl. 21:31, skrev Mark F:

I would like the shortcuts better than snapping. (I turn off snapping, I
don't like it at all. I must be unusual because it seems to be the
default in other distros.).

Is there a listing of available shortcuts? I know the info can be seen
in ~/.config/openbox/lubuntu-rc.xml . But, I'm thinking new users
(Windows users specifically) who might comprehend it the info was more
available like a help file(?).

I'd like to see a shortcut for disabling/enabling the laptop touchpad. I
wrote a couple shell scripts to do that.[1] One toggles it on/off and is
bound to a keyboard shortcut. I call the other script from .profile to
toggle the touchpad off by default.

(A "touchpad-indcator" package exists. But, I don't need that much
fancy'ness and overhead.).

[1] The scripts do the following:
 xinput list   (to get the touchpad's id-number)
xinput set-prop {id-number} "Device Enabled" 0   (or 1).



On Tue, Sep 6, 2016 at 10:02 AM, Ian Bruntlett > wrote:

Hi,

I like the short-cut ALT+x keypress which alternately maximises the
window or returns it to its previous size.

However, I have noted with things like a terminal emulator (in which
I use bash) or emacs, quite often I end up manually making their
windows either as tall as possible or wide as possible.

Would other people find such shortcuts useful? Do they already exist?

BW,


Ian

--
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/

-- Free Software page -
https://sites.google.com/site/ianbruntlett/home/free-software



--
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com 
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users








--
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Keyboard shortcuts

2016-09-06 Thread Mark F
I would like the shortcuts better than snapping. (I turn off snapping, I
don't like it at all. I must be unusual because it seems to be the default
in other distros.).

Is there a listing of available shortcuts? I know the info can be seen in
~/.config/openbox/lubuntu-rc.xml . But, I'm thinking new users (Windows
users specifically) who might comprehend it the info was more available
like a help file(?).

I'd like to see a shortcut for disabling/enabling the laptop touchpad. I
wrote a couple shell scripts to do that.[1] One toggles it on/off and is
bound to a keyboard shortcut. I call the other script from .profile to
toggle the touchpad off by default.

(A "touchpad-indcator" package exists. But, I don't need that much
fancy'ness and overhead.).

[1] The scripts do the following:
  xinput list   (to get the touchpad's id-number)
xinput set-prop {id-number} "Device Enabled" 0   (or 1).



On Tue, Sep 6, 2016 at 10:02 AM, Ian Bruntlett 
wrote:

> Hi,
>
> I like the short-cut ALT+x keypress which alternately maximises the window
> or returns it to its previous size.
>
> However, I have noted with things like a terminal emulator (in which I use
> bash) or emacs, quite often I end up manually making their windows either
> as tall as possible or wide as possible.
>
> Would other people find such shortcuts useful? Do they already exist?
>
> BW,
>
>
> Ian
>
> --
> -- ACCU - Professionalism in programming - http://www.accu.org
> -- My writing - https://sites.google.com/site/ianbruntlett/
> -- Free Software page - https://sites.google.com/site/
> ianbruntlett/home/free-software
>
>
> --
> Lubuntu-users mailing list
> Lubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/lubuntu-users
>
>
-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Keyboard shortcuts

2016-09-06 Thread Fedai Kaya
Hi,

You can try super key (windows) + arrows to snap windows on the sides.

On Tue, Sep 6, 2016 at 8:02 PM, Ian Bruntlett 
wrote:

> Hi,
>
> I like the short-cut ALT+x keypress which alternately maximises the window
> or returns it to its previous size.
>
> However, I have noted with things like a terminal emulator (in which I use
> bash) or emacs, quite often I end up manually making their windows either
> as tall as possible or wide as possible.
>
> Would other people find such shortcuts useful? Do they already exist?
>
> BW,
>
>
> Ian
>
> --
> -- ACCU - Professionalism in programming - http://www.accu.org
> -- My writing - https://sites.google.com/site/ianbruntlett/
> -- Free Software page - https://sites.google.com/site/
> ianbruntlett/home/free-software
>
>
> --
> Lubuntu-users mailing list
> Lubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/lubuntu-users
>
>


-- 
Best Regards,
Fedai Kaya.
-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


[lubuntu-users] Keyboard shortcuts

2016-09-06 Thread Ian Bruntlett
Hi,

I like the short-cut ALT+x keypress which alternately maximises the window
or returns it to its previous size.

However, I have noted with things like a terminal emulator (in which I use
bash) or emacs, quite often I end up manually making their windows either
as tall as possible or wide as possible.

Would other people find such shortcuts useful? Do they already exist?

BW,


Ian

-- 
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/
-- Free Software page -
https://sites.google.com/site/ianbruntlett/home/free-software
-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


Re: [lubuntu-users] Keyboard shortcuts to run arbitrary programs

2016-05-26 Thread Andre Campos Rodovalho
It used to have a keyboard shortcut configuration file at
/home//.config/openbox/lubuntu.xml



2016-05-25 13:03 GMT-03:00 Ian Bruntlett :

> Hi,
>
> I use both Ubuntu and Lubuntu.
>
> On Ubuntu I can use Super+1 to run the first program on the panel on the
> left of the screen.
>
> On Lubuntu, I can add programs onto the "Task bar" - added GNU emacs
> today, to accompany the icons to 1) start PCManFM and 2) start a web
> browser. I'd like to have a keyboard shortcut to run these options so I
> don't have to use the mouse to start one of those programs.
>
> Any ideas?
>
> TIA,
>
>
> Ian
>
> --
> -- ACCU - Professionalism in programming - http://www.accu.org
> -- My writing - https://sites.google.com/site/ianbruntlett/
> -- Free Software page -
> https://sites.google.com/site/ianbruntlett/home/free-software
>
>
> --
> Lubuntu-users mailing list
> Lubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>
>
-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


[lubuntu-users] Keyboard shortcuts to run arbitrary programs

2016-05-25 Thread Ian Bruntlett
Hi,

I use both Ubuntu and Lubuntu.

On Ubuntu I can use Super+1 to run the first program on the panel on the
left of the screen.

On Lubuntu, I can add programs onto the "Task bar" - added GNU emacs today,
to accompany the icons to 1) start PCManFM and 2) start a web browser. I'd
like to have a keyboard shortcut to run these options so I don't have to
use the mouse to start one of those programs.

Any ideas?

TIA,


Ian

-- 
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/
-- Free Software page -
https://sites.google.com/site/ianbruntlett/home/free-software
-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users