Date: Fri, 11 Jul 2008 13:32:30 +0100 From: Frank Shute <frank@shute.org.uk> To: Girish Kulkarni <girish@hri.res.in> Cc: freebsd-questions@freebsd.org Subject: Re: Disabling Super key? Message-ID: <20080711123230.GA39237@melon.esperance-linux.co.uk> In-Reply-To: <8a2141c0807110438m219018afoba91c986e2c9be73@mail.gmail.com> References: <8a2141c0807060227x2e28a4fgeea15ebd0dc02d32@mail.gmail.com> <692660060807060436u30deb4a3j4332426bccc8327d@mail.gmail.com> <8a2141c0807110419u4e07d2bct190056c627ec047d@mail.gmail.com> <8a2141c0807110438m219018afoba91c986e2c9be73@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 11, 2008 at 05:08:18PM +0530, Girish Kulkarni wrote: > > On Sun, Jul 6, 2008 at 5:06 PM, Sebastian Tymków wrote: > > Did you try kbdcontrol ? > > Thanks. I could do that using kbdcontrol(1) although this disables > the Windows key only in the console and not in X, where xmodmap(1) > does the job instead. I could make the effect of kbdcontrol > permanent by adding a line to ~/.bash_profile. Any idea how I could > make the effect xmodmap permanent? (Adding relevant lines to > ~/.xsession doesn't seem to help.) Make a ~/.xmodmaprc with your setting(s) in it and then call it from ~/.xsession or ~/.xinitrc (depends on how you start X). E.g you want a line like: xmodmap -display :0.0 .xmodmaprc in there. For the kbdcontrol stuff, I put it in /etc/rc.local > > Girish. > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080711123230.GA39237>