Re: [kde] Scripting the mouse acceleration setting



Yannick Gingras wrote:
Is there a way to automate that?

depends on how automate you want it.

I could write a script that changes
the value in ~/.kde/share/config/kcminputrc but how would I tell KDE
to reload its config?

you are in area.

write script files to make changes, change attribs.

or have scripts to change file, which may be easier.

if you know what settings need to be changed, build group of files
by coping 'kcminputrc' to new file with extensions or prefixes or
what ever you want to name them.

go thru files, make changes to reflect what you want and save them
in config directory.

or, use control center to make changes and save files to what ever
names you want.

after you build files, write up script files to do a copy, ie,
'cp -f ~/.kde/share/config/usb.mouse ~/.kde/share/config/kcminputrc'
give script what ever name you wish. change attribs.

right click kmenu icon, select menu editor, select 'new submenu',
give it a name, highlight it, select new item, build your scripts,
save.

there after, click kmenu, select what you want from there. if you
have 'quick launch' on tool bar, right click a present icon,
select 'add application'.

that should do you.

i just read back thru this, and i believe it is about right.

--

tc,hago.

g
..

in a free world without fences, who needs gates.
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



Relevant Pages

  • Re: Simple script that locks up my box with recent kernels
    ... I've been using the this very simple script for a while to do test ... builds of the kernel: ... cp .config config.$ ... compiler output and time are recorded into the destination ...
    (Linux-Kernel)
  • Re: diet-kconfig: a script to trim unneeded kconfigs
    ... unneeded kernel configs automatically to reduce the compile time. ... I already wrote such a script during the last SUSE hack ... You can specify the config file via option, as default, it reads from ... most of the hardware hardware. ...
    (Linux-Kernel)
  • Re: System Info Script
    ... it should be available from a yahoo group. ... Subject: System Info Script ... volume group config, logical volume config, file system config, etc. ... reader of this message is not the intended recipient, ...
    (AIX-L)
  • Re: Mandriva 2006.0 - too smart by a half?
    ... this user-friendliness may have gone a bit too far in that if you ... Get out your editor and modify the config files like you want. ... Also it is very dangerous to change someone else's script. ... The shutdown bug is hidden in the script ...
    (comp.os.linux.setup)
  • just a couple quick pf/nat questions
    ... wanted NAT. ... Also, with ipfw, I just ran a script that grabbed the current dynamic IP ... And are there any pf config generation pages out there yet? ... specify ports with either an explicit port number or a macro defined ...
    (freebsd-questions)