diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-11-25 22:43:28 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-11-25 22:43:28 +0000 |
commit | 5b56ea8960f47f11fd7923abeb938fc57c84942e (patch) | |
tree | 649b5f07a6a2116be2b82e57734e95a848927d06 /packages/keylaunch/keylaunch-conf | |
parent | 6455c691e7d17a65938ac633c63c170aae9c9da2 (diff) |
keylaunch 2.0.10: Separate a keylaunch, a generic X key binding utility,
from random crap aka device-specific (mis)configs and hacks.
Diffstat (limited to 'packages/keylaunch/keylaunch-conf')
17 files changed, 113 insertions, 0 deletions
diff --git a/packages/keylaunch/keylaunch-conf/.mtn2git_empty b/packages/keylaunch/keylaunch-conf/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/.mtn2git_empty diff --git a/packages/keylaunch/keylaunch-conf/80chvt-SUID b/packages/keylaunch/keylaunch-conf/80chvt-SUID new file mode 100644 index 0000000000..e3b4efef5d --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/80chvt-SUID @@ -0,0 +1,25 @@ +#! /bin/sh +# +# Copyright Matthias Hentges <devel@hentges.net> (c) 2006 +# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license) +# +# Filename: chvt-SUID.sh +# Date: 28-May-06 + + +# +# Sets the SUID bit on chvt to allow changing to the VT from inside X by +# any user. Since a SUID binary still is a security risk, we chmod only +# when keylaunch is used and not by default. +# + +for target in /usr/bin/chvt.console-tools +do + if test "`ls -l "$target" | awk '{print $1}'|cut -c 2-4`" != "rws" + then + echo "Making [$target] SUID root..." + chmod u+s "$target" + else + echo "Ignoring [$target]" + fi +done diff --git a/packages/keylaunch/keylaunch-conf/akita/.mtn2git_empty b/packages/keylaunch/keylaunch-conf/akita/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/akita/.mtn2git_empty diff --git a/packages/keylaunch/keylaunch-conf/akita/keylaunchrc b/packages/keylaunch/keylaunch-conf/akita/keylaunchrc new file mode 100644 index 0000000000..9bb64db066 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/akita/keylaunchrc @@ -0,0 +1,28 @@ +key=....F9:-:gpe-calendar +key=....F10:-:gpe-contacts +key=....F13:-:sylpheed +key=....F12:-:~matchbox-remote -next +key=...*F12:-:~matchbox-remote -desktop +key=....F11:-:~matchbox-remote -menu +#key=...*1:-:~zoom out +#key=...*2:-:~zoom in +key=...*3:-:~display-brightness.sh down +key=...*4:-:~display-brightness.sh up + +# LCD Softkeys +# Please note that the space _between_ two softkeys can be used, too ;) +#key=....F20:-: +key=....F21:-:~matchbox-remote -next +#key=....F22:-: +key=....F23:-:sylpheed +#key=....F24:-: +key=....F25:-:gpe-contacts +#key=....F26:-: +key=....F27:-:gpe-calendar +#key=....F28:-: +#key=....F29:-: +#key=....F30:-: + +# VT changing +key=...*Left:-:~chvt 1 +key=...*Right:-:~chvt 3 diff --git a/packages/keylaunch/keylaunch-conf/c7x0/.mtn2git_empty b/packages/keylaunch/keylaunch-conf/c7x0/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/c7x0/.mtn2git_empty diff --git a/packages/keylaunch/keylaunch-conf/c7x0/keylaunchrc b/packages/keylaunch/keylaunch-conf/c7x0/keylaunchrc new file mode 100644 index 0000000000..e0b729a508 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/c7x0/keylaunchrc @@ -0,0 +1,6 @@ +key=....F9:-:gpe-calendar +key=....F10:-:gpe-contacts +key=....F13:-:sylpheed +key=....F12:-:gpe-mini-browser +key=...*F18:-:display-brightness.sh down +key=...*F19:-:display-brightness.sh up diff --git a/packages/keylaunch/keylaunch-conf/collie/.mtn2git_empty b/packages/keylaunch/keylaunch-conf/collie/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/collie/.mtn2git_empty diff --git a/packages/keylaunch/keylaunch-conf/collie/keylaunchrc b/packages/keylaunch/keylaunch-conf/collie/keylaunchrc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/collie/keylaunchrc diff --git a/packages/keylaunch/keylaunch-conf/corgie/.mtn2git_empty b/packages/keylaunch/keylaunch-conf/corgie/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/corgie/.mtn2git_empty diff --git a/packages/keylaunch/keylaunch-conf/corgie/keylaunchrc b/packages/keylaunch/keylaunch-conf/corgie/keylaunchrc new file mode 100644 index 0000000000..e0b729a508 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/corgie/keylaunchrc @@ -0,0 +1,6 @@ +key=....F9:-:gpe-calendar +key=....F10:-:gpe-contacts +key=....F13:-:sylpheed +key=....F12:-:gpe-mini-browser +key=...*F18:-:display-brightness.sh down +key=...*F19:-:display-brightness.sh up diff --git a/packages/keylaunch/keylaunch-conf/husky/.mtn2git_empty b/packages/keylaunch/keylaunch-conf/husky/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/husky/.mtn2git_empty diff --git a/packages/keylaunch/keylaunch-conf/husky/keylaunchrc b/packages/keylaunch/keylaunch-conf/husky/keylaunchrc new file mode 100644 index 0000000000..e0b729a508 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/husky/keylaunchrc @@ -0,0 +1,6 @@ +key=....F9:-:gpe-calendar +key=....F10:-:gpe-contacts +key=....F13:-:sylpheed +key=....F12:-:gpe-mini-browser +key=...*F18:-:display-brightness.sh down +key=...*F19:-:display-brightness.sh up diff --git a/packages/keylaunch/keylaunch-conf/keylaunchrc b/packages/keylaunch/keylaunch-conf/keylaunchrc new file mode 100644 index 0000000000..0296db9dad --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/keylaunchrc @@ -0,0 +1,8 @@ +key=????Pressed XF86AudioRecord:gpe-soundbite record --autogenerate-filename $HOME_VOLATILE +key=????Pressed XF86Calendar:gpe-calendar +key=????Pressed telephone:gpe-contacts +key=????Pressed XF86Mail:gpe-taskmanager +key=????Pressed XF86Start:~matchbox-remote -desktop +key=????Pressed XF86PowerDown:~apm --suspend +key=????Held XF86PowerDown:~bl toggle +key=????Combine XF86Calendar XF86Start:gpe-keylock diff --git a/packages/keylaunch/keylaunch-conf/shepherd/.mtn2git_empty b/packages/keylaunch/keylaunch-conf/shepherd/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/shepherd/.mtn2git_empty diff --git a/packages/keylaunch/keylaunch-conf/shepherd/keylaunchrc b/packages/keylaunch/keylaunch-conf/shepherd/keylaunchrc new file mode 100644 index 0000000000..e0b729a508 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/shepherd/keylaunchrc @@ -0,0 +1,6 @@ +key=....F9:-:gpe-calendar +key=....F10:-:gpe-contacts +key=....F13:-:sylpheed +key=....F12:-:gpe-mini-browser +key=...*F18:-:display-brightness.sh down +key=...*F19:-:display-brightness.sh up diff --git a/packages/keylaunch/keylaunch-conf/spitz/.mtn2git_empty b/packages/keylaunch/keylaunch-conf/spitz/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/spitz/.mtn2git_empty diff --git a/packages/keylaunch/keylaunch-conf/spitz/keylaunchrc b/packages/keylaunch/keylaunch-conf/spitz/keylaunchrc new file mode 100644 index 0000000000..9bb64db066 --- /dev/null +++ b/packages/keylaunch/keylaunch-conf/spitz/keylaunchrc @@ -0,0 +1,28 @@ +key=....F9:-:gpe-calendar +key=....F10:-:gpe-contacts +key=....F13:-:sylpheed +key=....F12:-:~matchbox-remote -next +key=...*F12:-:~matchbox-remote -desktop +key=....F11:-:~matchbox-remote -menu +#key=...*1:-:~zoom out +#key=...*2:-:~zoom in +key=...*3:-:~display-brightness.sh down +key=...*4:-:~display-brightness.sh up + +# LCD Softkeys +# Please note that the space _between_ two softkeys can be used, too ;) +#key=....F20:-: +key=....F21:-:~matchbox-remote -next +#key=....F22:-: +key=....F23:-:sylpheed +#key=....F24:-: +key=....F25:-:gpe-contacts +#key=....F26:-: +key=....F27:-:gpe-calendar +#key=....F28:-: +#key=....F29:-: +#key=....F30:-: + +# VT changing +key=...*Left:-:~chvt 1 +key=...*Right:-:~chvt 3 |