Fandom

Sawfish

Re-expose Keybindings

773pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Browse all patches

Author Edit

Christopher Bratusek

Synopsis Edit

Brings back all "missing" keybindings to sawfish-ui


Patch testing Edit

  1. Copy/paste the patch listed below into some file, eg. TEST.diff.
  2. If you don't have sawfish sources yet, have one, as described get it from GIT repo.
  3. Go into the directory where sawfish sources reside, eg. cd sawfish
  4. Test if the patch applies cleanly with this command:
    patch -p1 --ignore-whitespace --dry-run < TEST.diff
    in case of problems try also: -p0 or -p2
  5. If it applies cleanly, then remove the --dry-run from above command and run it again, otherwise ask on the mailing list.
  6. Compile sawfish: ./autogen.sh && make
  7. Install it for testing, but it depends on your linux distribution.
    1. It is always better to install sawfish as your distribution package, but it is different for each distribution.
    2. So you may try make install, which will install sawifish in /usr/local/share/sawfish/ (if you have write access). But then make sure that you run the correct version and delete it from that directory afterwards, to avoid any conflicts.
  8. Se also

PS: edit this template if you feel that those instructions can be improved.

Patch Edit

--- lisp/sawfish/wm/autoload.jl	2008-11-20 22:34:47.853000000 +0100
+++ ../sawfish/lisp/sawfish/wm/autoload.jl	2008-11-20 22:26:56.063000000 +0100
@@ -37,12 +37,12 @@
 (autoload-command (quote previous-workspace-window) (quote sawfish.wm.commands.cycle))
 (autoload-command (quote next-window) (quote sawfish.wm.commands.cycle))
 (autoload-command (quote previous-window) (quote sawfish.wm.commands.cycle))
-(autoload-command (quote describe-symbol) (quote sawfish.wm.commands.describe) #:class 'advanced)
-(autoload-command (quote describe-symbol-to-screen) (quote sawfish.wm.commands.describe) #:class 'advanced)
-(autoload-command (quote apropos-function) (quote sawfish.wm.commands.describe) #:class 'advanced)
-(autoload-command (quote apropos-function-to-screen) (quote sawfish.wm.commands.describe) #:class 'advanced)
-(autoload-command (quote apropos-variable) (quote sawfish.wm.commands.describe) #:class 'advanced)
-(autoload-command (quote apropos-variable-to-screen) (quote sawfish.wm.commands.describe) #:class 'advanced)
+(autoload-command (quote describe-symbol) (quote sawfish.wm.commands.describe) #:class 'default)
+(autoload-command (quote describe-symbol-to-screen) (quote sawfish.wm.commands.describe) #:class 'default)
+(autoload-command (quote apropos-function) (quote sawfish.wm.commands.describe) #:class 'default)
+(autoload-command (quote apropos-function-to-screen) (quote sawfish.wm.commands.describe) #:class 'default)
+(autoload-command (quote apropos-variable) (quote sawfish.wm.commands.describe) #:class 'default)
+(autoload-command (quote apropos-variable-to-screen) (quote sawfish.wm.commands.describe) #:class 'default)
 (autoload-command (quote gnome-toggle-skip-winlist) (quote sawfish.wm.commands.gnome))
 (autoload-command (quote gnome-set-skip-winlist) (quote sawfish.wm.commands.gnome))
 (autoload-command (quote gnome-clear-skip-winlist) (quote sawfish.wm.commands.gnome))
@@ -59,14 +59,14 @@
 (autoload-command (quote send-group-to-current-workspace) (quote sawfish.wm.commands.groups))
 (autoload-command (quote send-group-to-next-workspace) (quote sawfish.wm.commands.groups))
 (autoload-command (quote send-group-to-previous-workspace) (quote sawfish.wm.commands.groups))
-(autoload-command (quote move-group-to-current-viewport) (quote sawfish.wm.commands.groups) #:class 'viewport)
-(autoload-command (quote move-group-left) (quote sawfish.wm.commands.groups) #:class 'viewport)
-(autoload-command (quote move-group-right) (quote sawfish.wm.commands.groups) #:class 'viewport)
-(autoload-command (quote move-group-up) (quote sawfish.wm.commands.groups) #:class 'viewport)
-(autoload-command (quote move-group-down) (quote sawfish.wm.commands.groups) #:class 'viewport)
-(autoload-command (quote raise-group) (quote sawfish.wm.commands.groups) #:class 'advanced)
-(autoload-command (quote lower-group) (quote sawfish.wm.commands.groups) #:class 'advanced)
-(autoload-command (quote raise-lower-group) (quote sawfish.wm.commands.groups) #:class 'advanced)
+(autoload-command (quote move-group-to-current-viewport) (quote sawfish.wm.commands.groups))
+(autoload-command (quote move-group-left) (quote sawfish.wm.commands.groups) #:class 'default)
+(autoload-command (quote move-group-right) (quote sawfish.wm.commands.groups) #:class 'default)
+(autoload-command (quote move-group-up) (quote sawfish.wm.commands.groups) #:class 'default)
+(autoload-command (quote move-group-down) (quote sawfish.wm.commands.groups) #:class 'default)
+(autoload-command (quote raise-group) (quote sawfish.wm.commands.groups) #:class 'default)
+(autoload-command (quote lower-group) (quote sawfish.wm.commands.groups) #:class 'default)
+(autoload-command (quote raise-lower-group) (quote sawfish.wm.commands.groups) #:class 'default)
 (autoload-command (quote raise-group-depth) (quote sawfish.wm.commands.groups))
 (autoload-command (quote lower-group-depth) (quote sawfish.wm.commands.groups))
 (autoload-command (quote delete-group) (quote sawfish.wm.commands.groups))
@@ -98,9 +98,9 @@
 (autoload-command (quote raise-and-pass-through-click) (quote sawfish.wm.commands.raise-commands))
 (autoload-command (quote raise-and-pass-through-click-if-focused) (quote sawfish.wm.commands.raise-commands))
 (autoload-command (quote raise-or-pass-through-click) (quote sawfish.wm.commands.raise-commands))
-(autoload-command (quote raise-window-and-pass-through-click) (quote sawfish.wm.commands.raise-commands) #:class 'advanced)
-(autoload-command (quote raise-group-and-pass-through-click) (quote sawfish.wm.commands.raise-commands) #:class 'advanced)
-(autoload-command (quote raise-transients-and-pass-through-click) (quote sawfish.wm.commands.raise-commands) #:class 'advanced)
+(autoload-command (quote raise-window-and-pass-through-click) (quote sawfish.wm.commands.raise-commands) #:class 'default)
+(autoload-command (quote raise-group-and-pass-through-click) (quote sawfish.wm.commands.raise-commands) #:class 'default)
+(autoload-command (quote raise-transients-and-pass-through-click) (quote sawfish.wm.commands.raise-commands) #:class 'default)
 (autoload-command (quote size-window-add-row) (quote sawfish.wm.commands.size-window))
 (autoload-command (quote size-window-subtract-row) (quote sawfish.wm.commands.size-window))
 (autoload-command (quote size-window-add-column) (quote sawfish.wm.commands.size-window))
@@ -125,7 +125,7 @@
 (autoload-command 'cycle-dock 'sawfish.wm.commands.x-cycle)
 (autoload-command 'cycle-dock-backwards 'sawfish.wm.commands.x-cycle)
 (autoload-command (quote xterm) (quote sawfish.wm.commands.xterm))
-(autoload-command (quote 3d-hack) (quote sawfish.wm.ext.3d-hack) #:class 'advanced)
+(autoload-command (quote 3d-hack) (quote sawfish.wm.ext.3d-hack) #:class 'default)
 (defgroup audio "Sound" :require sawfish.wm.ext.audio-events)
 (defgroup match-window "Matched Windows" :layout single :require sawfish.wm.ext.match-window)
 (defgroup tooltips "Tooltips" :group misc :require sawfish.wm.ext.tooltips)
@@ -133,7 +133,6 @@
 (autoload-placement-mode 'best-fit 'sawfish.wm.placement.smart)
 (autoload-placement-mode 'best-fit-group 'sawfish.wm.placement.smart)
 (autoload-placement-mode 'first-fit-or-interactive 'sawfish.wm.placement.smart)
-(autoload-placement-mode 'stagger 'sawfish.wm.placement.stagger)
 (autoload-command (quote maximize-window) (quote sawfish.wm.state.maximize))
 (autoload-command (quote unmaximize-window) (quote sawfish.wm.state.maximize))
 (autoload-command (quote maximize-window-vertically) (quote sawfish.wm.state.maximize))
@@ -151,31 +150,32 @@
 (autoload-command (quote describe-key-to-screen) (quote sawfish.wm.util.keymap))
 (autoload-command (quote quote-event) (quote sawfish.wm.util.keymap))
 (autoload-placement-mode 'top-left 'sawfish.wm.placement.top-left #:for-normal t)
+(autoload-placement-mode 'stagger 'sawfish.wm.placement.stagger)
 (autoload-placement-mode 'off-center 'sawfish.wm.placement.off-center)
-(autoload-command (quote set-viewport-linear) (quote "viewport-linear") #:type (backquote (and (labelled (backquote-unquote (_ "Index:")) (number 0)))) #:class 'viewport)
-(autoload-command (quote set-window-viewport-linear) (quote "viewport-linear") #:type (backquote (and (labelled (backquote-unquote (_ "Index:")) (number 0)))) #:class 'viewport)
-(autoload-command 'set-viewport-linear:1 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-window-viewport-linear:1 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-viewport-linear:2 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-window-viewport-linear:2 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-viewport-linear:3 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-window-viewport-linear:3 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-viewport-linear:4 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-window-viewport-linear:4 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-viewport-linear:5 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-window-viewport-linear:5 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-viewport-linear:6 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-window-viewport-linear:6 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-viewport-linear:7 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-window-viewport-linear:7 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-viewport-linear:8 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-window-viewport-linear:8 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-viewport-linear:9 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command 'set-window-viewport-linear:9 'sawfish.wm.commands.viewport-linear #:class 'deprecated)
-(autoload-command (quote move-viewport-next) (quote sawfish.wm.commands.viewport-extras) #:class 'viewport)
-(autoload-command (quote move-viewport-previous) (quote sawfish.wm.commands.viewport-extras) #:class 'viewport)
-(autoload-command (quote move-window-previous) (quote sawfish.wm.commands.viewport-extras) #:class 'viewport)
-(autoload-command (quote move-window-next) (quote sawfish.wm.commands.viewport-extras) #:class 'viewport)
+(autoload-command (quote set-viewport-linear) (quote "viewport-linear") #:type (backquote (and (labelled (backquote-unquote (_ "Index:")) (number 0)))) #:class 'default)
+(autoload-command (quote set-window-viewport-linear) (quote "viewport-linear") #:type (backquote (and (labelled (backquote-unquote (_ "Index:")) (number 0)))) #:class 'default)
+(autoload-command 'set-viewport-linear:1 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-window-viewport-linear:1 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-viewport-linear:2 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-window-viewport-linear:2 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-viewport-linear:3 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-window-viewport-linear:3 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-viewport-linear:4 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-window-viewport-linear:4 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-viewport-linear:5 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-window-viewport-linear:5 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-viewport-linear:6 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-window-viewport-linear:6 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-viewport-linear:7 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-window-viewport-linear:7 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-viewport-linear:8 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-window-viewport-linear:8 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-viewport-linear:9 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command 'set-window-viewport-linear:9 'sawfish.wm.commands.viewport-linear #:class 'default)
+(autoload-command (quote move-viewport-next) (quote sawfish.wm.commands.viewport-extras) #:class 'default)
+(autoload-command (quote move-viewport-previous) (quote sawfish.wm.commands.viewport-extras) #:class 'default)
+(autoload-command (quote move-window-previous) (quote sawfish.wm.commands.viewport-extras) #:class 'default)
+(autoload-command (quote move-window-next) (quote sawfish.wm.commands.viewport-extras) #:class 'default)
 (autoload-command (quote workspace-down) (quote sawfish.wm.ext.workspace-grid))
 (autoload-command (quote workspace-up) (quote sawfish.wm.ext.workspace-grid))
 (autoload-command (quote workspace-left) (quote sawfish.wm.ext.workspace-grid))

Community's reasons for inclusion or rejection Edit

Patch submitters, please vote also! Yes, obviously your vote will be positive, but it's the place to give your explanation why this patch is good for all Sawfish users, and why it is correct - good reasons for inclusion.

When voting anonymously please write your name, so that it can be associated with your posts on the mailing list. If you are logged in you can sign yourself by typing four tilda characters: ~~~~.

  • Please vote with: Yes vote: yes., No vote: no., Try vote: let's try in experimental., Wtf vote: pondering. or Suspend wait for next release.

Also on Fandom

Random Wiki