UI work
This commit is contained in:
22
internal/rootfs/etc/skel/.fluxbox/keys
Normal file
22
internal/rootfs/etc/skel/.fluxbox/keys
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
OnDesktop Mouse1 :HideMenus
|
||||||
|
OnDesktop Mouse2 :WorkspaceMenu
|
||||||
|
OnDesktop Mouse3 :RootMenu
|
||||||
|
OnDesktop Mouse4 :NextWorkspace
|
||||||
|
OnDesktop Mouse5 :PrevWorkspace
|
||||||
|
|
||||||
|
Mod1 Tab :NextWindow
|
||||||
|
Mod1 Shift Tab :PrevWindow
|
||||||
|
Mod1 F1 :Workspace 1
|
||||||
|
Mod1 F2 :Workspace 2
|
||||||
|
Mod1 F3 :Workspace 3
|
||||||
|
Mod1 F4 :Workspace 4
|
||||||
|
Mod1 F5 :Workspace 5
|
||||||
|
Mod1 F6 :Workspace 6
|
||||||
|
Mod1 F7 :Workspace 7
|
||||||
|
Mod1 F8 :Workspace 8
|
||||||
|
Mod1 F9 :Workspace 9
|
||||||
|
Mod1 F10 :Workspace 10
|
||||||
|
Mod1 F11 :Workspace 11
|
||||||
|
Mod1 F12 :Workspace 12
|
||||||
|
|
||||||
|
Control Mod1 Delete :ExecCommand urxvt -e htop
|
||||||
6
internal/rootfs/etc/skel/.idesktop/Files.lnk
Normal file
6
internal/rootfs/etc/skel/.idesktop/Files.lnk
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
table Icon
|
||||||
|
Caption: Files
|
||||||
|
CaptionTip: Open files browser (pcmanfm)
|
||||||
|
Command: pcmanfm
|
||||||
|
Icon: /usr/share/icons/gnome/48x48/drawer.png
|
||||||
|
end
|
||||||
6
internal/rootfs/etc/skel/.idesktop/TaskManager.lnl
Normal file
6
internal/rootfs/etc/skel/.idesktop/TaskManager.lnl
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
table Icon
|
||||||
|
Caption: Task Manager
|
||||||
|
CaptionTip: Open htop
|
||||||
|
Command: urxvt -e htop
|
||||||
|
Icon: /usr/share/icons/gnome/48x48/gnome-monitor.png
|
||||||
|
end
|
||||||
6
internal/rootfs/etc/skel/.idesktop/Terminal.lnk
Normal file
6
internal/rootfs/etc/skel/.idesktop/Terminal.lnk
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
table Icon
|
||||||
|
Caption: Terminal
|
||||||
|
CaptionTip: Open a new terminal
|
||||||
|
Command: rxvt
|
||||||
|
Icon: /usr/share/icons/gnome/48x48/gnome-terminal.png
|
||||||
|
end
|
||||||
6
internal/rootfs/etc/skel/.idesktop/TextEdit.lnl
Normal file
6
internal/rootfs/etc/skel/.idesktop/TextEdit.lnl
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
table Icon
|
||||||
|
Caption: Text Edit
|
||||||
|
CaptionTip: Open leafpad
|
||||||
|
Command: leafpad
|
||||||
|
Icon: /usr/share/icons/gnome/48x48/text-editor.png
|
||||||
|
end
|
||||||
@@ -1,8 +1,21 @@
|
|||||||
[submenu] (RetroDebian)
|
[submenu] (RetroDebian) </usr/share/icons/gnome/24x24/gnome-favorites.png>
|
||||||
[submenu] (Resolution)
|
[exec] (Terminal) {rxvt} </usr/share/icons/gnome/24x24/gnome-terminal.png>
|
||||||
[exec] (640x480) {/opt/retrodebian/bin/set-resolution 640x480}
|
[exec] (Files) {pcmanfm} </usr/share/icons/gnome/24x24/drawer.png>
|
||||||
[exec] (800x600) {/opt/retrodebian/bin/set-resolution 800x600}
|
[exec] (Text Editor) {urxvt -e htop} </usr/share/icons/gnome/24x24/text-editor.png>
|
||||||
[exec] (1024x768) {/opt/retrodebian/bin/set-resolution 1024x768}
|
[exec] (Task Manager) {leafpad} </usr/share/icons/gnome/24x24/gnome-monitor.png>
|
||||||
[end]
|
[separator]
|
||||||
|
[exec] (xeji) {xeji} </usr/share/icons/gnome/24x24/eyes.png>
|
||||||
|
[separator]
|
||||||
|
[submenu] (Resolution) </usr/share/icons/gnome/24x24/gnome-monitor.png>
|
||||||
|
[exec] (640x480) {/opt/retrodebian/bin/set-resolution 640x480}
|
||||||
|
[exec] (800x600) {/opt/retrodebian/bin/set-resolution 800x600}
|
||||||
|
[exec] (1024x768) {/opt/retrodebian/bin/set-resolution 1024x768}
|
||||||
|
[end]
|
||||||
|
[submenu] (Games) </usr/share/icons/gnome/24x24/gnome-joystick.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Tools) </usr/share/icons/gnome/24x24/gnome-control-center.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Diags) </usr/share/icons/gnome/24x24/gnome-cpu.png>
|
||||||
|
[end]
|
||||||
[end]
|
[end]
|
||||||
[separator]
|
[separator]
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ mkdir -p "$DST_DIR"
|
|||||||
TMP="$DST.tmp"
|
TMP="$DST.tmp"
|
||||||
|
|
||||||
sed \
|
sed \
|
||||||
-e '/(Eterm)/d' \
|
-e '/(Eterm/d' \
|
||||||
-e '/(Rxvt-Unicode (Black))/d' \
|
-e '/(Rxvt-Unicode (Black/d' \
|
||||||
-e '/(XTerm)/d' \
|
-e '/(XTerm/d' \
|
||||||
"$SRC" > "$TMP.base"
|
"$SRC" > "$TMP.base"
|
||||||
|
|
||||||
if [ -f "$TEMPLATE" ]; then
|
if [ -f "$TEMPLATE" ]; then
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ find /etc/skel \( \
|
|||||||
|
|
||||||
|
|
||||||
# todo: automatic
|
# todo: automatic
|
||||||
chmod +xr,ug+xrw,o-w /opt/retrodebian/fluxbox/set-resolution.sh
|
chmod +xr,ug+xrw,o-w /opt/retrodebian/bin/set-resolution
|
||||||
chmod +r,ug+xw,o-w /opt/retrodebian/fluxbox/watch-menu.sh
|
chmod +r,ug+xw,o-w /opt/retrodebian/fluxbox/watch-menu.sh
|
||||||
chmod +r,ug+xw,o-w /opt/retrodebian/fluxbox/update-menu.sh
|
chmod +r,ug+xw,o-w /opt/retrodebian/fluxbox/update-menu.sh
|
||||||
chmod +r,ug+xw,o-w /etc/init.d/retrodebian-fluxbox-watch-menu
|
chmod +r,ug+xw,o-w /etc/init.d/retrodebian-fluxbox-watch-menu
|
||||||
|
|||||||
Reference in New Issue
Block a user