Update docs, refine keybindings
Added basic keybinding docs Added forword-word and backword-word bindings
This commit is contained in:
parent
64b21e6b47
commit
99a5d8ef23
6
AUTHORS
6
AUTHORS
@ -1,2 +1,4 @@
|
||||
SolidHal (find me on github, or send me a message in a bottle, emails kinda lame)
|
||||
Dima Krasner (dima@dimakrasner.com)
|
||||
SolidHal (hal@halemmerich.com)
|
||||
With spcial thanks to:
|
||||
Dima Krasner (dima@dimakrasner.com)
|
||||
- The core of filesystem and kernel building for the c201 is based on his work with devsus
|
52
DOCUMENTATION.md
Normal file
52
DOCUMENTATION.md
Normal file
@ -0,0 +1,52 @@
|
||||
# PrawnOS Documentation
|
||||
|
||||
Some additional documentation for PrawnOS that wouldn't fit in the README
|
||||
|
||||
## Useful XFCE4 keybindings and libinput-gestures:
|
||||
### Gestures:
|
||||
#### Config file: /etc/libinput-gestures.conf
|
||||
* four finger swipe left: Switch to left workspace
|
||||
* four finger swipe right: Switch to right worksace
|
||||
|
||||
### Keybindings
|
||||
|
||||
#### Configure under Settings->Window Manager->Keyboard
|
||||
* control+alt+left: move window to left workspace
|
||||
* control+alt+right: move window to right workspace
|
||||
|
||||
* control+left: tile widow to the left
|
||||
* control+right: tile window to the right
|
||||
* control+up: maximize window
|
||||
|
||||
* alt+tab: app switcher
|
||||
|
||||
#### Configure under Settings->Keyboard->Application Shortcuts
|
||||
* alt+space : App launcher (spotlight-esque)
|
||||
* control+alt+l: Lock screen
|
||||
* Brightness scripts are also called here and can be remapped here or in ~/.Xmodmap
|
||||
|
||||
#### Configured using ~/.Xmodmap
|
||||
* "search" key: Mode switch aka m_s (function key)
|
||||
|
||||
* m_s + backspace: delete
|
||||
* m_s + up: page up
|
||||
* m_s + down: page down
|
||||
* m_s + left: home
|
||||
* m_s + right: end
|
||||
* m_s + period: insert
|
||||
|
||||
* "brightness up key": increase backlight
|
||||
* "brightness down key": decrease backlight
|
||||
* "volume mute": mute volume
|
||||
* "volume down": decrease volume
|
||||
* "volume up": increase volume
|
||||
|
||||
* m_s + "brightness up key": F7
|
||||
* m_s + "brightness down key": F6
|
||||
* m_s + "volume mute key": F8
|
||||
* m_s + "volume down key": F9
|
||||
* m_s + "volume up key": F10
|
||||
|
||||
#### Configured using ~/.xinputrc
|
||||
* alt+left left a word
|
||||
* alt+right right a word
|
@ -83,6 +83,10 @@ When that finishes, you should have access to the internet.
|
||||
|
||||
Congratulations! Your computer is now a Prawn! https://sprorgnsm.bandcamp.com/track/the-prawn-song
|
||||
|
||||
### Documentation
|
||||
Some useful things can be found in ``DOCUMENTATION.md`
|
||||
|
||||
|
||||
### Make options, developer tools
|
||||
(ALl of these should be ran as root or with sudo to avoid issues)
|
||||
The makefile automates many processes that make debuggung the kernel or the filesystem easier.
|
||||
|
@ -1,12 +0,0 @@
|
||||
#!/bin/sh -xe
|
||||
|
||||
#Build everything
|
||||
|
||||
#Get sudo
|
||||
sudo echo "Thanks."
|
||||
#Build kernel WITHOUT SUDO, building the kernel with sudo is bad practice
|
||||
#Once, sometime in the kernel version 2 days building the kernel with sudo broke the
|
||||
#The system it was built on
|
||||
./scripts/buildKernel.sh
|
||||
#build os WITH sudo, debootstrap requires sudo
|
||||
sudo ./scripts/buildDebianFs.sh
|
43
resources/InstallResources/xfce-config/inputrc/.inputrc
Normal file
43
resources/InstallResources/xfce-config/inputrc/.inputrc
Normal file
@ -0,0 +1,43 @@
|
||||
# Make Tab autocomplete regardless of filename case
|
||||
set completion-ignore-case on
|
||||
|
||||
# List all matches in case multiple possible completions are possible
|
||||
set show-all-if-ambiguous on
|
||||
|
||||
# Immediately add a trailing slash when autocompleting symlinks to directories
|
||||
set mark-symlinked-directories on
|
||||
|
||||
# Show all autocomplete results at once
|
||||
set page-completions off
|
||||
|
||||
# If there are more than 200 possible completions for a word, ask to show them all
|
||||
set completion-query-items 100
|
||||
|
||||
# Show extra file information when completing, like `ls -F` does
|
||||
set visible-stats on
|
||||
|
||||
# Be more intelligent when autocompleting by also looking at the text after
|
||||
# the cursor. For example, when the current line is "cd ~/src/mozil", and
|
||||
# the cursor is on the "z", pressing Tab will not autocomplete it to "cd
|
||||
# ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
|
||||
# Readline used by Bash 4.)
|
||||
set skip-completed-text on
|
||||
|
||||
# This line sets readline to display possible completions using different colors to indicate their file types.
|
||||
# The colors are determined by the environmental variable LS_COLORS, which can be nicely configured.
|
||||
set colored-stats On
|
||||
|
||||
|
||||
|
||||
# This line sets the completions to be listed immediately instead of ringing
|
||||
# the bell, when the completing word has more than one possible completion.
|
||||
set show-all-if-ambiguous On
|
||||
|
||||
# This line sets the completions to be listed immediately instead of ringing the bell,
|
||||
# when the completing word has more than one possible completion but no partial completion can be made.
|
||||
set show-all-if-unmodified On
|
||||
|
||||
|
||||
## enable Alt-arrows for word jumping
|
||||
"\e[1;3D": backward-word ### Alt left
|
||||
"\e[1;3C": forward-word ### Alt right
|
@ -19,24 +19,24 @@
|
||||
<property name="XF86Mail" type="empty"/>
|
||||
</property>
|
||||
<property name="custom" type="empty">
|
||||
<property name="<Alt>F3" type="string" value="xfce4-appfinder">
|
||||
<property name="startup-notify" type="bool" value="true"/>
|
||||
<property name="<Alt>F3" type="empty">
|
||||
<property name="startup-notify" type="empty"/>
|
||||
</property>
|
||||
<property name="<Alt>F1" type="string" value="xfce4-popup-applicationsmenu"/>
|
||||
<property name="<Alt>F1" type="empty"/>
|
||||
<property name="<Alt>F2" type="empty">
|
||||
<property name="startup-notify" type="bool" value="true"/>
|
||||
<property name="startup-notify" type="empty"/>
|
||||
</property>
|
||||
<property name="<Primary><Alt>Delete" type="string" value="xflock4"/>
|
||||
<property name="<Primary><Alt>l" type="string" value="xflock4"/>
|
||||
<property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/>
|
||||
<property name="<Super>p" type="string" value="xfce4-display-settings --minimal"/>
|
||||
<property name="<Primary>Escape" type="string" value="xfdesktop --menu"/>
|
||||
<property name="override" type="bool" value="true"/>
|
||||
<property name="<Alt>space" type="string" value="xfce4-appfinder --collapsed">
|
||||
<property name="startup-notify" type="bool" value="true"/>
|
||||
<property name="<Primary><Alt>Delete" type="empty"/>
|
||||
<property name="<Primary><Alt>l" type="empty"/>
|
||||
<property name="XF86Display" type="empty"/>
|
||||
<property name="<Super>p" type="empty"/>
|
||||
<property name="<Primary>Escape" type="empty"/>
|
||||
<property name="override" type="empty"/>
|
||||
<property name="<Alt>space" type="empty">
|
||||
<property name="startup-notify" type="empty"/>
|
||||
</property>
|
||||
<property name="XF86MonBrightnessUp" type="string" value="/usr/sbin/backlight_up.sh"/>
|
||||
<property name="XF86MonBrightnessDown" type="string" value="/usr/sbin/backlight_down.sh"/>
|
||||
<property name="XF86MonBrightnessUp" type="empty"/>
|
||||
<property name="XF86MonBrightnessDown" type="empty"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="xfwm4" type="empty">
|
||||
@ -95,58 +95,58 @@
|
||||
<property name="<Primary>F12" type="empty"/>
|
||||
</property>
|
||||
<property name="custom" type="empty">
|
||||
<property name="Up" type="string" value="up_key"/>
|
||||
<property name="<Primary><Alt>KP_9" type="string" value="move_window_workspace_9_key"/>
|
||||
<property name="<Primary><Alt>KP_8" type="string" value="move_window_workspace_8_key"/>
|
||||
<property name="Left" type="string" value="left_key"/>
|
||||
<property name="<Primary><Alt>KP_6" type="string" value="move_window_workspace_6_key"/>
|
||||
<property name="<Alt>Insert" type="string" value="add_workspace_key"/>
|
||||
<property name="<Alt>Tab" type="string" value="cycle_windows_key"/>
|
||||
<property name="<Alt><Shift>Tab" type="string" value="cycle_reverse_windows_key"/>
|
||||
<property name="<Primary><Alt>KP_7" type="string" value="move_window_workspace_7_key"/>
|
||||
<property name="<Primary><Alt>d" type="string" value="show_desktop_key"/>
|
||||
<property name="<Primary>F7" type="string" value="workspace_7_key"/>
|
||||
<property name="<Alt>F4" type="string" value="close_window_key"/>
|
||||
<property name="<Alt>F6" type="string" value="stick_window_key"/>
|
||||
<property name="<Alt>F10" type="string" value="maximize_window_key"/>
|
||||
<property name="<Alt>F12" type="string" value="above_key"/>
|
||||
<property name="<Alt>F9" type="string" value="hide_window_key"/>
|
||||
<property name="<Alt>F8" type="string" value="resize_window_key"/>
|
||||
<property name="<Super>Tab" type="string" value="switch_window_key"/>
|
||||
<property name="Escape" type="string" value="cancel_key"/>
|
||||
<property name="<Primary>F10" type="string" value="workspace_10_key"/>
|
||||
<property name="<Primary>F11" type="string" value="workspace_11_key"/>
|
||||
<property name="<Alt>F11" type="string" value="fullscreen_key"/>
|
||||
<property name="<Primary><Shift><Alt>Up" type="string" value="move_window_up_key"/>
|
||||
<property name="Right" type="string" value="right_key"/>
|
||||
<property name="Down" type="string" value="down_key"/>
|
||||
<property name="<Alt>F7" type="string" value="move_window_key"/>
|
||||
<property name="<Shift><Alt>Page_Down" type="string" value="lower_window_key"/>
|
||||
<property name="<Primary>F12" type="string" value="workspace_12_key"/>
|
||||
<property name="<Primary>F1" type="string" value="workspace_1_key"/>
|
||||
<property name="<Primary>F2" type="string" value="workspace_2_key"/>
|
||||
<property name="<Primary>F4" type="string" value="workspace_4_key"/>
|
||||
<property name="<Primary>F5" type="string" value="workspace_5_key"/>
|
||||
<property name="<Primary>F6" type="string" value="workspace_6_key"/>
|
||||
<property name="<Primary>F8" type="string" value="workspace_8_key"/>
|
||||
<property name="<Primary>F9" type="string" value="workspace_9_key"/>
|
||||
<property name="<Primary><Alt>KP_1" type="string" value="move_window_workspace_1_key"/>
|
||||
<property name="<Alt>Delete" type="string" value="del_workspace_key"/>
|
||||
<property name="<Shift><Alt>Page_Up" type="string" value="raise_window_key"/>
|
||||
<property name="<Primary>F3" type="string" value="workspace_3_key"/>
|
||||
<property name="<Primary><Alt>KP_2" type="string" value="move_window_workspace_2_key"/>
|
||||
<property name="<Primary><Alt>KP_3" type="string" value="move_window_workspace_3_key"/>
|
||||
<property name="<Primary><Alt>KP_4" type="string" value="move_window_workspace_4_key"/>
|
||||
<property name="<Primary><Alt>KP_5" type="string" value="move_window_workspace_5_key"/>
|
||||
<property name="override" type="bool" value="true"/>
|
||||
<property name="<Primary><Alt>Up" type="string" value="prev_workspace_key"/>
|
||||
<property name="<Primary><Alt>Down" type="string" value="next_workspace_key"/>
|
||||
<property name="<Primary><Alt>Right" type="string" value="move_window_next_workspace_key"/>
|
||||
<property name="<Primary><Alt>Left" type="string" value="move_window_prev_workspace_key"/>
|
||||
<property name="Up" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_9" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_8" type="empty"/>
|
||||
<property name="Left" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_6" type="empty"/>
|
||||
<property name="<Alt>Insert" type="empty"/>
|
||||
<property name="<Alt>Tab" type="empty"/>
|
||||
<property name="<Alt><Shift>Tab" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_7" type="empty"/>
|
||||
<property name="<Primary><Alt>d" type="empty"/>
|
||||
<property name="<Primary>F7" type="empty"/>
|
||||
<property name="<Alt>F4" type="empty"/>
|
||||
<property name="<Alt>F6" type="empty"/>
|
||||
<property name="<Alt>F10" type="empty"/>
|
||||
<property name="<Alt>F12" type="empty"/>
|
||||
<property name="<Alt>F9" type="empty"/>
|
||||
<property name="<Alt>F8" type="empty"/>
|
||||
<property name="<Super>Tab" type="empty"/>
|
||||
<property name="Escape" type="empty"/>
|
||||
<property name="<Primary>F10" type="empty"/>
|
||||
<property name="<Primary>F11" type="empty"/>
|
||||
<property name="<Alt>F11" type="empty"/>
|
||||
<property name="<Primary><Shift><Alt>Up" type="empty"/>
|
||||
<property name="Right" type="empty"/>
|
||||
<property name="Down" type="empty"/>
|
||||
<property name="<Alt>F7" type="empty"/>
|
||||
<property name="<Shift><Alt>Page_Down" type="empty"/>
|
||||
<property name="<Primary>F12" type="empty"/>
|
||||
<property name="<Primary>F1" type="empty"/>
|
||||
<property name="<Primary>F2" type="empty"/>
|
||||
<property name="<Primary>F4" type="empty"/>
|
||||
<property name="<Primary>F5" type="empty"/>
|
||||
<property name="<Primary>F6" type="empty"/>
|
||||
<property name="<Primary>F8" type="empty"/>
|
||||
<property name="<Primary>F9" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_1" type="empty"/>
|
||||
<property name="<Alt>Delete" type="empty"/>
|
||||
<property name="<Shift><Alt>Page_Up" type="empty"/>
|
||||
<property name="<Primary>F3" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_2" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_3" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_4" type="empty"/>
|
||||
<property name="<Primary><Alt>KP_5" type="empty"/>
|
||||
<property name="override" type="empty"/>
|
||||
<property name="<Primary><Alt>Up" type="empty"/>
|
||||
<property name="<Primary><Alt>Down" type="empty"/>
|
||||
<property name="<Primary><Alt>Right" type="empty"/>
|
||||
<property name="<Primary><Alt>Left" type="empty"/>
|
||||
<property name="<Primary>Left" type="string" value="tile_left_key"/>
|
||||
<property name="<Primary>Right" type="string" value="tile_right_key"/>
|
||||
<property name="<Primary>Shift_R" type="string" value="maximize_window_key"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="providers" type="array">
|
||||
<value type="string" value="xfwm4"/>
|
||||
<value type="string" value="commands"/>
|
||||
</property>
|
||||
<property name="providers" type="empty"/>
|
||||
</channel>
|
||||
|
@ -56,6 +56,9 @@ then
|
||||
cp -rf $DIR/xfce-config/xmodmap/.Xmodmap /etc/skel/
|
||||
cp -rf $DIR/xfce-config/xmodmap/.xinitrc /etc/skel/
|
||||
|
||||
#Install inputrc
|
||||
cp -rf $DIR/xfce-config/xmodmap/.xinputrc /etc/skel/
|
||||
|
||||
#Install brightness controls
|
||||
cp $DIR/xfce-config/brightness/backlight_* /usr/sbin/
|
||||
mkdir -p /etc/udev/rules.d/
|
||||
|
Loading…
Reference in New Issue
Block a user