Re: [dev] syntog - toggle synaptics touchpad

2012-12-26 Thread Chris Hall
On Wed, Dec 26, 2012 at 9:40 PM, Peter A. Shevtsov wrote: > Chris, I was rude and wrong. Excuse me, I didn't want to insult you. No hard feelings, ty ~cjh

Re: [dev] syntog - toggle synaptics touchpad

2012-12-26 Thread Peter A. Shevtsov
On 26/12/12 at 05:41pm, Chris Hall wrote: > On Wed, Dec 26, 2012 at 4:04 PM, Peter A. Shevtsov > wrote: > > that xssstate is redundant in your perfect world where xautolock and xidle > > exists! > The latter 2 suck hard, xssstate is useful in scripting and allows me > to keep using slock. > You s

Re: [dev] syntog - toggle synaptics touchpad

2012-12-25 Thread Chris Hall
On Wed, Dec 26, 2012 at 4:04 PM, Peter A. Shevtsov wrote: > that xssstate is redundant in your perfect world where xautolock and xidle > exists! The latter 2 suck hard, xssstate is useful in scripting and allows me to keep using slock. You seem to have taken me mentioning alternatives as some kin

Re: [dev] syntog - toggle synaptics touchpad

2012-12-25 Thread Peter A. Shevtsov
On 25/12/12 at 09:51pm, Chris Hall wrote: > if you have synclient installed then enabling is synclient TouchpadOff=0 > and disabling is synclient TouchpadOff=1 > > you can read the state via synclient -l > I have a few lines of sh bound to mod-n to toggle. > > I really don't think this needs to b

Re: [dev] syntog - toggle synaptics touchpad

2012-12-25 Thread Chris Hall
On Wed, Dec 26, 2012 at 7:52 AM, Comrade DOS wrote: > Next time plz read thread before write answer. ;) I did read the thread before I wrote my reply I was merely pointing out that there is an easier way, saying 'shell scripting' doesn't tell anyone anything useful. ~cjhexplain anything

Re: [dev] syntog - toggle synaptics touchpad

2012-12-25 Thread Comrade DOS
2012/12/25 Chris Hall > if you have synclient installed then enabling is synclient TouchpadOff=0 > and disabling is synclient TouchpadOff=1 > > you can read the state via synclient -l > I have a few lines of sh bound to mod-n to toggle. > > I really don't think this needs to be written in c consi

Re: [dev] syntog - toggle synaptics touchpad

2012-12-25 Thread Chris Hall
if you have synclient installed then enabling is synclient TouchpadOff=0 and disabling is synclient TouchpadOff=1 you can read the state via synclient -l I have a few lines of sh bound to mod-n to toggle. I really don't think this needs to be written in c considering it is just a few lines of sh,

Re: [dev] syntog - toggle synaptics touchpad

2012-12-24 Thread Peter A. Shevtsov
On 24/12/12 at 06:23pm, Comrade DOS wrote: > 2012/12/24 Peter A. Shevtsov > > > Hello, > > > > I've just finished the small utility to toggle state of synaptics > > touchpad. Maybe > > some of you would find it useful. But first of all, I'd like you to review > > my code > > (I'm not so good at C

Re: [dev] syntog - toggle synaptics touchpad

2012-12-24 Thread Comrade DOS
2012/12/24 Peter A. Shevtsov > Hello, > > I've just finished the small utility to toggle state of synaptics > touchpad. Maybe > some of you would find it useful. But first of all, I'd like you to review > my code > (I'm not so good at C, actually). > > syntog is available in here - https://bitbuc

[dev] syntog - toggle synaptics touchpad

2012-12-23 Thread Peter A. Shevtsov
Hello, I've just finished the small utility to toggle state of synaptics touchpad. Maybe some of you would find it useful. But first of all, I'd like you to review my code (I'm not so good at C, actually). syntog is available in here - https://bitbucket.org/severusweb/syntog/src Thanks!