| |
 |
|
|
Linux Forum Index » Linux X » how can I change options in xorg.conf from an...
Page 1 of 1
|
| Author |
Message |
| liork... |
Posted: Mon May 12, 2008 5:09 am |
|
|
|
Guest
|
Dear List,
I want to change option in xorg.conf
e.g -
for "evtouch" driver
want to change -
Option "MinX" "98"
to -
Option "MinX" "0"
but I want to do it from an application and not manual editing
Is there APIs for this from an application (xf86ReplaceIntOption ???)
Thanks a lot
Lior |
|
|
| Back to top |
|
| Dances With Crows... |
Posted: Mon May 12, 2008 11:12 am |
|
|
|
Guest
|
liork staggered into the Black Sun and said:
This is a newsgroup, not a mailing list.
Quote: I want to change [an] option in xorg.conf. For [the] "evtouch"
driver, [I] want to change 'Option "MinX" "98" ' to 'Option "MinX" "0"
'. But I want to do it from an application and not [through] manual
editing [of xorg.conf]. [Are] there APIs for this from an application
([like] xf86ReplaceIntOption ???)
Your question is unclear. xorg.conf is read when X starts, and not at
any other time. If you want to manipulate the settings for the evtouch
touchscreen module at runtime, you'll have to check the evtouch source
for how to do that. It'd probably be analogous to what "xset m 2 4"
does, but it could be different since that affects all pointer devices
while I think you want to only change the touchscreen device. It might
be worthwhile to "man XF86MiscSetMouseSettings" too.
If you don't want to change the behavior at runtime, have your app run
sed on xorg.conf, then restart X.
--
For every new foolproof invention there is a new and improved fool.
My blog and resume: http://crow202.dyndns.org:8080/wordpress/
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see |
|
|
| Back to top |
|
| |
|
Page 1 of 1
All times are GMT - 5 Hours
The time now is Fri Nov 21, 2008 1:39 pm
|
|