Re: Setting keyboard autorepeat rate with xkb?
On Tue, May 31, 2011 at 03:31:37PM -0700, Alan Coopersmith wrote: > The X server command line options -ardelay & -arinterval should still work > across all drivers & distros though - see Xserver(1) for details. Thanks. I didn't know about those. Is there any way to specify these options in xorg.conf, or similar file? As far as I can tell from the manpage, these are command line only. - Chris ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Setting keyboard autorepeat rate with xkb?
On 05/31/11 03:16 PM, Chris Frey wrote: > On Tue, May 31, 2011 at 06:09:35PM -0400, Marty Jack wrote: >> Your average desktop environment has a way to configure it per user >> with persistent storage for the value. If you aren't running a desktop >> environment, you would run xset somewhere in the startup script for the >> user session. There's always taking the default, which seems sensible >> enough to me for ordinary usage. > > Thanks for your patience. True, if I were using a desktop environment, > this would be a no-brainer. > > I was just surprised that this setting got moved away from a consistent > location the same everywhere, to a location that depends on what desktop > or distro you use. The commit you referred to was only in the kbd driver, which is hardly consistent, as almost all Linux distros use the evdev driver, while kbd is for non-Linux distros (BSD, Solaris, etc.). The X server command line options -ardelay & -arinterval should still work across all drivers & distros though - see Xserver(1) for details. -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Setting keyboard autorepeat rate with xkb?
On Tue, May 31, 2011 at 06:09:35PM -0400, Marty Jack wrote: > Your average desktop environment has a way to configure it per user > with persistent storage for the value. If you aren't running a desktop > environment, you would run xset somewhere in the startup script for the > user session. There's always taking the default, which seems sensible > enough to me for ordinary usage. Thanks for your patience. True, if I were using a desktop environment, this would be a no-brainer. I was just surprised that this setting got moved away from a consistent location the same everywhere, to a location that depends on what desktop or distro you use. But xset will do. :-) Thanks again, - Chris ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Setting keyboard autorepeat rate with xkb?
On 05/31/2011 05:49 PM, Chris Frey wrote: > On Tue, May 31, 2011 at 05:26:26PM -0400, Marty Jack wrote: >> XkbGetControls( , XkbRepeatKeysMask, ); >> xkb_desc->ctrls->repeat_interval = ; >> XkbSetControls( , XkbRepeatKeysMask,) >> >> Advice to use xset is a big hint because you can look at its code to find >> the programmatic way. > > > Thanks. I wasn't looking for the programmatic way, though. I assumed > that if a config-file based autorepeat option was taken away, then there > would be a config-file based option available in xkb. > > Maybe I'm misunderstanding the role of xkb. There appears to be lots of > config file support for multiple keyboard layouts, etc, but none for > autorepeat. > > But from the above answer, it would appear that from the admin's point > of view, xset is the only way? I find this so stunning that I'm > apparently asking dumb questions on the mailing list. :-) > > Is xset really the only way? > > Thanks, > - Chris > > Your average desktop environment has a way to configure it per user with persistent storage for the value. If you aren't running a desktop environment, you would run xset somewhere in the startup script for the user session. There's always taking the default, which seems sensible enough to me for ordinary usage. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Setting keyboard autorepeat rate with xkb?
On Tue, May 31, 2011 at 05:26:26PM -0400, Marty Jack wrote: > XkbGetControls( , XkbRepeatKeysMask, ); > xkb_desc->ctrls->repeat_interval = ; > XkbSetControls( , XkbRepeatKeysMask,) > > Advice to use xset is a big hint because you can look at its code to find the > programmatic way. Thanks. I wasn't looking for the programmatic way, though. I assumed that if a config-file based autorepeat option was taken away, then there would be a config-file based option available in xkb. Maybe I'm misunderstanding the role of xkb. There appears to be lots of config file support for multiple keyboard layouts, etc, but none for autorepeat. But from the above answer, it would appear that from the admin's point of view, xset is the only way? I find this so stunning that I'm apparently asking dumb questions on the mailing list. :-) Is xset really the only way? Thanks, - Chris ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Setting keyboard autorepeat rate with xkb?
On 05/31/2011 04:15 PM, Chris Frey wrote: > Hi, > > In commit ae630aef17185dd8d2c23d0eb1b3287fa6e26268, Peter Hutterer > writes: > > Really remove autorepeat. > > This strips all autorepeat from the keyboard driver. > If you need autorepeat, use XKB. > > So I've been trying to find the place in XKB to set the keyboard autorepeat > rate. So far, I've been unsuccessful. > > Google searches turn up lots of places that tell me to use xset, but > somehow this seems like a giant step backward. And if the commit message > points me to XKB, there must be a way. > > Can anyone give me any pointers? > > Thanks, > - Chris > > ___ > xorg@lists.freedesktop.org: X.Org support > Archives: http://lists.freedesktop.org/archives/xorg > Info: http://lists.freedesktop.org/mailman/listinfo/xorg > Your subscription address: marty...@comcast.net > XkbGetControls( , XkbRepeatKeysMask, ); xkb_desc->ctrls->repeat_interval = ; XkbSetControls( , XkbRepeatKeysMask,) Advice to use xset is a big hint because you can look at its code to find the programmatic way. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Setting keyboard autorepeat rate with xkb?
Hi, In commit ae630aef17185dd8d2c23d0eb1b3287fa6e26268, Peter Hutterer writes: Really remove autorepeat. This strips all autorepeat from the keyboard driver. If you need autorepeat, use XKB. So I've been trying to find the place in XKB to set the keyboard autorepeat rate. So far, I've been unsuccessful. Google searches turn up lots of places that tell me to use xset, but somehow this seems like a giant step backward. And if the commit message points me to XKB, there must be a way. Can anyone give me any pointers? Thanks, - Chris ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
[no subject]
http://suf2004.atwebpages.com/find11.html___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: clip masks/simulating transparency
On Tue, 2011-05-31 at 09:58 +0200, Xavier Bestel wrote: > On Tue, 2011-05-31 at 15:28 +1000, Amy C wrote: > > Can anyone think of an alternative way to do this (have the penguins > > walk over a screen of my choosing and restore said window after > > they've passed through, without too much flickering? > > You should use compositing of an ARGB pixmap. It will only work with a > compositor but nowadays all desktop use one (Compiz/Unity, > Mutter/GnomeShell, Kwin). Compositing is implemented much more > efficiently than windows shaping. My bad, I looked at the source, it doesn't use shaped windows. Still, using composited windows per pinguin may be a win. Xav ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: clip masks/simulating transparency
Hi! I just wanted to say that I love the idea of what you are doing. If I get it right, xpenguins would then work with any DE (KDE/Gnome) without erasing the icont? Nik Am Dienstag, 31. Mai 2011 schrieb Amy C: > Hi all, > > I've sort-of worked it out (I think??) but would still like suggestions on > this. > The penguins -are- being drawn using the clip mask correctly onto the > window of my choice. > > The problem was that each penguin comprises a little animation (penguin is > moving), and the expose event was only being sent once per animation, not > after every single frame of the animation. Since the penguins move only a > few pixels per animations (say 20 or so) it looked like the clip mask just > wasn't working. > > I've modified the code to send an expose event after each frame of the > animation is drawn (so truly after each penguin is drawn), but now (as > expected) it looks very very flickery -- every cycle we get a XClearArea > where the old penguin was, an XExposeEvent where the old penguin was, and a > XCopyArea of the next frame of the animation. > > Can anyone think of an alternative way to do this (have the penguins walk > over a screen of my choosing and restore said window after they've passed > through, without too much flickering?) -- perhaps I can copy the relevant > bit of background as the background of the penguin pixmap itself, although > I think I'd need to send an XExposeEvent before I can grab the background? > > [So close! Soon I shall have penguins taking over my windows! SOON! bahaha] > cheers > Amy ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: clip masks/simulating transparency
On Tue, 2011-05-31 at 15:28 +1000, Amy C wrote: > Can anyone think of an alternative way to do this (have the penguins > walk over a screen of my choosing and restore said window after > they've passed through, without too much flickering? You should use compositing of an ARGB pixmap. It will only work with a compositor but nowadays all desktop use one (Compiz/Unity, Mutter/GnomeShell, Kwin). Compositing is implemented much more efficiently than windows shaping. Xav ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com