DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th September 2013
Skinny Skinny is offline
Port Guard
 
Join Date: Jul 2012
Posts: 25
Thanked 0 Times in 0 Posts
Default enable MouseKeys without xkbset

In order to use Apple/Command keys as mouse keys on Mac hardware I remapped them with xmodmap and enabled with 'xkbset -m'.
However, xkbset isn't in OpenBSD's base. I don't like my .xsession to depend on external tools.

Is there any tool included in OpenBSD that enables mouse keys as 'xkbset -m' does?
Reply With Quote
  #2   (View Single Post)  
Old 12th September 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,612
Thanked 214 Times in 189 Posts
Default

What about setxkbmap(1)?
Code:
DESCRIPTION
       The setxkbmap command maps the keyboard to use the layout determined by
       the options specified on the command line.

       An XKB keymap is constructed from a number of components which are
       compiled only as needed.  The source for all of the components can be
       found in /usr/X11R6/share/X11/xkb.
Reply With Quote
  #3   (View Single Post)  
Old 16th September 2013
Skinny Skinny is offline
Port Guard
 
Join Date: Jul 2012
Posts: 25
Thanked 0 Times in 0 Posts
Default

Thanks.
Code:
setxkbmap -option keypad:pointerkeys
seems to be it.
(Didn't test it though since I'm currently not on the affected device)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD 5.0 - How to enable dfs ? mayuka OpenBSD General 5 13th November 2011 07:09 AM
Enable SNMP? dzudja100 FreeBSD Ports and Packages 1 20th May 2010 05:52 PM
HOW do I ENABLE the wireless device?? bforest FreeBSD General 2 30th January 2009 05:54 PM
boot bug with USB enable nORKy FreeBSD Installation and Upgrading 5 12th June 2008 04:56 PM


All times are GMT. The time now is 09:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick