Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Xorg での特別なキーボードキーのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Xorg での特別なキーボードキー
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:キーボード]] [[Category:X サーバー]] [[en:Extra keyboard keys in Xorg]] [[ru:Extra Keyboard Keys in Xorg]] [[tr:X_sunucusunda_ek_klavye_tuşları]] {{Related articles start}} {{Related|特別なキーボードキー}} {{Related|コンソールでの特別なキーボードキー}} {{Related|スキャンコードをキーコードにマップ}} {{Related|Xorg}} {{Related|Xmodmap}} {{Related articles end}} == キーシムをアクションにマップ == When we are in a graphical environment we may want to execute a command when certain key combination is pressed. There are multiple ways to do that: * The most portable way using low level tools, such as [[acpid]]. Not all keys are supported, but configuration in uniform way is possible for keyboard keys, power adapter connection and even headphone jack (un)plugging events. It is also difficult to run programs inside X session correctly. * The universal way using [[Xorg]] utilities (e.g. [[xbindkeys]]) and eventually your desktop environment or window manager tools. * The quicker way using a third-party program to do everything in GUI, such as the Gnome Control Center or [[Keytouch]]. === デスクトップ環境 === ==== Gnome ==== Gnome Control Center is quite complete for the extra keyboard keys management. In fact it can directly detect scancodes which means that it can map any key seen by the kernel. ==== KDE ==== キーボードショートカットは '''System Settings''' -> '''Shortcuts and Gestures''' で設定できます。 ==== Xfce4 ==== [[Xfce#Keyboard_Shortcuts]] を見て下さい。 === ウィンドウマネージャ === ==== Openbox ==== [[Openbox#キーバインド]] を見て下さい。 ==== PekWM ==== [[PekWM#ホットキー]] を見て下さい。 ==== Xmonad ==== If you use Xmonad as a stand alone window manager, you can edit the xmonad.hs to add unbound keyboard keys. You just need to find the Xf86 name of the key (such as XF86PowerDown) and look it up in {{Ic|/usr/include/X11/XF86keysym.h}}. It will give you a keycode (like 0x1008FF2A) which you can use to add a line like the following in the keybindings section of your {{ic|xmonad.hs}}: ((0, 0x1008FF2A), spawn "sudo pm-suspend") ==== i3 ==== Open your ~/.i3/config and just bind the keysym to a command: bindsym XF86AudioLowerVolume exec amixer -q set Master 5- bindsym XF86AudioRaiseVolume exec amixer -q set Master 5+ bindsym XF86AudioMute exec $(amixer get Master | grep off > /dev/null && amixer -q set Master unmute) || amixer -q set Master mute bindsym XF86MonBrightnessDown exec xbacklight -dec 10 bindsym Print exec scrot === サードパーティのツール === ==== sxhkd ==== A simple X hotkey daemon with a powerful and compact configuration syntax. Available as {{AUR|sxhkd-git}} and {{AUR|sxhkd}} in [[AUR]]. ==== keytouch ==== KeyTouch is a program which allows you to easily configure the extra function keys of your keyboard. This means that you can define, for every individual function key, what to do if it is pressed. See the main article: [[keytouch]]. ==== actkbd ==== From [http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/ actkbd home page]: :{{AUR|actkbd}} (available in [[AUR]]) is a simple daemon that binds actions to keyboard events. It recognises key combinations and can handle press, repeat and release events. Currently it only supports the linux-2.6 evdev interface. It uses a plain-text configuration file which contains all the bindings. A sample configuration and guide is available [http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/latest/README here]. ==== xbindkeys ==== [[xbindkeys]] allows advanced mapping of keysyms to actions independently of the Desktop Environment. {{Tip| If you find {{ic|xbindkeys}} difficult to use, try the graphical manager {{AUR|xbindkeys_config}} from the [[AUR]].}}
Xorg での特別なキーボードキー
に戻る。
検索
検索
Xorg での特別なキーボードキーのソースを表示
話題を追加