summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/stackrpms-acer-chromebook/Xmodmap21
-rw-r--r--src/etc/stackrpms-acer-chromebook/fluxbox.init89
-rw-r--r--src/etc/stackrpms-acer-chromebook/fluxbox.keys (renamed from src/etc/stackrpms-thinkpad-p50s/fluxbox.keys)35
-rw-r--r--src/etc/stackrpms-acer-chromebook/fluxbox.menu8
-rw-r--r--src/etc/stackrpms-acer-chromebook/fluxbox.startup (renamed from src/etc/stackrpms-thinkpad-p50s/fluxbox.startup)11
-rw-r--r--src/etc/stackrpms-acer-chromebook/fluxbox.windowmenu15
-rw-r--r--src/etc/stackrpms-thinkpad-p50s/Xmodmap20
7 files changed, 156 insertions, 43 deletions
diff --git a/src/etc/stackrpms-acer-chromebook/Xmodmap b/src/etc/stackrpms-acer-chromebook/Xmodmap
new file mode 100644
index 0000000..1d7eb58
--- /dev/null
+++ b/src/etc/stackrpms-acer-chromebook/Xmodmap
@@ -0,0 +1,21 @@
+! File: /etc/stackrpms-acer-chromebook/Xmodmap
+! Location: stackrpms-acer-chromebook package
+! Author: bgstack15
+! SPDX-License-Identifier: GPL-3.0
+! Startdate: 2019-12-26
+! Title: Common Xmodmap for Acer Chromebook platform
+! Package: stackrpms-acer-chromebook
+! Purpose: custom Xmodmap for Acer Chromebook
+! History:
+! 2022-11-03 adapted for package
+! 2024-04-30 Included, but has no contents for Acer Chromebook C720
+! Usage:
+! in ~/.fluxbox/startup (possibly symlinked to /etc/stackrpms-acer-chromebook/fluxbox.startup), run `xmodmap /etc/stackrpms-acer-chromebook/Xmodmap`
+! Reference:
+! xev
+! Improve:
+! Documentation:
+! last modified: 2024-04-30-3 12:19
+
+! turn calculator key into context menu key
+!keycode 148 = Menu
diff --git a/src/etc/stackrpms-acer-chromebook/fluxbox.init b/src/etc/stackrpms-acer-chromebook/fluxbox.init
new file mode 100644
index 0000000..0d3904c
--- /dev/null
+++ b/src/etc/stackrpms-acer-chromebook/fluxbox.init
@@ -0,0 +1,89 @@
+session.screen0.window.focus.alpha: 255
+session.screen0.window.unfocus.alpha: 255
+session.screen0.iconbar.iconTextPadding: 10
+session.screen0.iconbar.mode: {static groups} (workspace)
+session.screen0.iconbar.iconWidth: 128
+session.screen0.iconbar.usePixmap: true
+session.screen0.iconbar.alignment: Left
+session.screen0.slit.autoHide: false
+session.screen0.slit.maxOver: false
+session.screen0.slit.acceptKdeDockapps: true
+session.screen0.slit.onhead: 0
+session.screen0.slit.layer: Dock
+session.screen0.slit.placement: RightBottom
+session.screen0.slit.alpha: 255
+session.screen0.slit.autoRaise: false
+session.screen0.menu.alpha: 255
+session.screen0.systray.pinLeft:
+session.screen0.systray.pinRight:
+session.screen0.tab.placement: TopLeft
+session.screen0.tab.width: 64
+session.screen0.clientMenu.usePixmap: true
+session.screen0.tabs.usePixmap: true
+session.screen0.tabs.maxOver: false
+session.screen0.tabs.intitlebar: true
+session.screen0.titlebar.left:
+session.screen0.titlebar.right: Minimize Maximize Close
+session.screen0.toolbar.height: 0
+session.screen0.toolbar.autoHide: false
+session.screen0.toolbar.layer: Dock
+session.screen0.toolbar.autoRaise: false
+session.screen0.toolbar.widthPercent: 100
+session.screen0.toolbar.maxOver: false
+session.screen0.toolbar.tools: iconbar, systemtray, clock
+session.screen0.toolbar.onhead: 1
+session.screen0.toolbar.placement: TopCenter
+session.screen0.toolbar.alpha: 255
+session.screen0.toolbar.visible: true
+session.screen0.noFocusWhileTypingDelay: 0
+session.screen0.edgeResizeSnapThreshold: 0
+session.screen0.demandsAttentionTimeout: 500
+session.screen0.defaultDeco: NORMAL
+session.screen0.tooltipDelay: 500
+session.screen0.edgeSnapThreshold: 10
+session.screen0.workspacewarpinghorizontaloffset: 1
+session.screen0.maxDisableMove: false
+session.screen0.clickRaises: true
+session.screen0.workspacewarpingvertical: true
+session.screen0.focusNewWindows: true
+session.screen0.workspacewarpingverticaloffset: 1
+session.screen0.fullMaximization: false
+session.screen0.rowPlacementDirection: LeftToRight
+session.screen0.strftimeFormat: %b %d, %a %02k:%M:%S
+session.screen0.windowPlacement: RowMinOverlapPlacement
+session.screen0.maxDisableResize: false
+session.screen0.workspacewarping: true
+session.screen0.workspaces: 1
+session.screen0.tabFocusModel: ClickToTabFocus
+session.screen0.autoRaise: true
+session.screen0.maxIgnoreIncrement: true
+session.screen0.workspaceNames: Workspace 1,
+session.screen0.opaqueResize: false
+session.screen0.focusModel: ClickFocus
+session.screen0.workspacewarpinghorizontal: true
+session.screen0.windowMenu: .fluxbox/windowmenu
+session.screen0.showwindowposition: false
+session.screen0.opaqueMove: true
+session.screen0.allowRemoteActions: true
+session.screen0.opaqueResizeDelay: 50
+session.screen0.colPlacementDirection: TopToBottom
+session.screen0.menuDelay: 200
+session.screen0.showClientmachine: true
+session.screen0.focusSameHead: false
+session.tabPadding: 0
+session.tabsAttachArea: Window
+session.forcePseudoTransparency: false
+session.colorsPerChannel: 4
+session.cacheLife: 5
+session.styleFile: /usr/share/fluxbox/styles/bgstack15a
+session.ignoreBorder: false
+session.slitlistFile: .fluxbox/slitlist
+session.appsFile: .fluxbox/apps
+session.doubleClickInterval: 250
+session.keyFile: ~/.fluxbox/keys
+session.styleOverlay: .fluxbox/overlay
+session.menuSearch: itemstart
+session.menuFile: ~/.fluxbox/menu
+session.configVersion: 13
+session.autoRaiseDelay: 250
+session.cacheMax: 200
diff --git a/src/etc/stackrpms-thinkpad-p50s/fluxbox.keys b/src/etc/stackrpms-acer-chromebook/fluxbox.keys
index 2ab169f..96865cd 100644
--- a/src/etc/stackrpms-thinkpad-p50s/fluxbox.keys
+++ b/src/etc/stackrpms-acer-chromebook/fluxbox.keys
@@ -1,23 +1,24 @@
-# File: /etc/stackrpms-thinkpad-p50s/fluxbox.keys
-# Location: stackrpms-thinkpad-p50s package
+# File: /etc/stackrpms-acer-chromebook/fluxbox.keys
+# Location: stackrpms-acer-chromebook package
# Author: bgstack15
# Startdate: 2019-12-26
# SPDX-License-Identifier: GPL-3.0
# Title: Common fluxbox keys for Thinkpad P50s platform
-# Package: stackrpms-thinkpad-p50s
+# Package: stackrpms-acer-chromebook
# Purpose: standardize fluxbox config across systems
# History:
# 2019-12-26 started on ltb-018
# 2022-11-03 adapted for this package
# 2023-12-12 revised to be identical for stackrpms-thinkpad-p50s and bgconf
+# 2024-04-30 adapted for acer chromebook package
# Usage:
# symlink your ~/.fluxbox/keys to this file with:
-# ln -sf /etc/stackrpms-thinkpad-p50s/fluxbox.keys ~/.fluxbox/keys
+# ln -sf /etc/stackrpms-acer-chromebook/fluxbox.keys ~/.fluxbox/keys
# Reference:
# ltb-018:~/.fluxbox/keys
# Improve:
# Documentation:
-# last modified: 2023-12-12-3 18:25
+# last modified: 2024-04-30-3 12:20
# click on the desktop to get menus
OnDesktop Mouse1 :HideMenus
@@ -98,19 +99,13 @@ Mod1 F2 :Exec fbrun
#122 :Exec amixer sset Master,0 1-
#121 :Exec amixer sset Master,0 toggle
# pulseaudio, volume control
-121 :Exec pulsemixer-notification toggle
-122 :Exec pulsemixer-notification down
-123 :Exec pulsemixer-notification up
-# alsa or pulseaudio, mute mic, on Thinkpad P50s
-# use Fn+F10 magnifying glass because Fn+F4 mic-mute is blocked by firmware?
-225 :Exec amixer sset Capture,0 toggle
-
-# screen brightness for Thinkpad P50s
-232 :Exec /usr/bin/hwset-thinkpad-p50s bright down 85
-233 :Exec /usr/bin/hwset-thinkpad-p50s bright up 85
-Ctrl 232 :Exec /usr/bin/hwset-thinkpad-p50s bright set min
-Ctrl 233 :Exec /usr/bin/hwset-thinkpad-p50s bright set max
-Ctrl 235 :Exec /usr/bin/hwset-thinkpad-p50s bright set safe
+Ctrl Shift 74 :Exec pulsemixer-notification toggle
+Ctrl Shift 75 :Exec pulsemixer-notification down
+Ctrl Shift 76 :Exec pulsemixer-notification up
+
+# Acer Chromebook C720 screen brightness
+Ctrl Shift 72 :Exec /usr/bin/hwset bright down 85
+Ctrl Shift 73 :Exec /usr/bin/hwset bright up 85
# current window commands
Mod1 F4 :Close
@@ -204,3 +199,7 @@ Mod4 Mod1 85 :MacroCmd {ResizeTo 33% 34%} {MoveTo 67% 33% Up}
Mod4 Mod1 79 :MacroCmd {ResizeTo 33% 33%} {MoveTo 00% 00% Up}
Mod4 Mod1 80 :MacroCmd {ResizeTo 34% 33%} {MoveTo 33% 00% Up}
Mod4 Mod1 81 :MacroCmd {ResizeTo 33% 33%} {MoveTo 67% 00% Up}
+
+# Acer Chromebook C720 keys, React to power key
+# The ability to use this depends on elogind-inhibit!
+124 :Exec logout-manager-gtk
diff --git a/src/etc/stackrpms-acer-chromebook/fluxbox.menu b/src/etc/stackrpms-acer-chromebook/fluxbox.menu
new file mode 100644
index 0000000..aab0c0a
--- /dev/null
+++ b/src/etc/stackrpms-acer-chromebook/fluxbox.menu
@@ -0,0 +1,8 @@
+[begin] (fluxbox)
+[include] (.fluxbox/xdg-menu)
+#[include] (/etc/xdgmenumaker/fluxbox)
+#[exec] (Update xdg menu) {/usr/bin/xdgmenumaker -f fluxbox -i > ~/.fluxbox/xdg-menu}
+#[exec] (Resize display) {/usr/bin/resize-x} </usr/share/icons/gnome/16x16/devices/display.png>
+[include] (/etc/X11/fluxbox/fluxbox-menu)
+#[exec] (Logout...) {/usr/bin/logout-manager}
+[end]
diff --git a/src/etc/stackrpms-thinkpad-p50s/fluxbox.startup b/src/etc/stackrpms-acer-chromebook/fluxbox.startup
index ca38336..ef8cd5a 100644
--- a/src/etc/stackrpms-thinkpad-p50s/fluxbox.startup
+++ b/src/etc/stackrpms-acer-chromebook/fluxbox.startup
@@ -1,19 +1,20 @@
#!/bin/sh
-# File: /etc/stackrpms-thinkpad-p50s/fluxbox.startup
-# Location: stackrpms-thinkpad-p50s package
+# File: /etc/stackrpms-acer-chromebook/fluxbox.startup
+# Location: stackrpms-acer-chromebook package
# Author: bgstack15
# Startdate: 2019-12-26
# SPDX-License-Identifier: GPL-3.0
# Title: Common fluxbox startup file for Thinkpad P50s platform
-# Package: stackrpms-thinkpad-p50s
+# Package: stackrpms-acer-chromebook
# Purpose: standardize fluxbox config across systems
# History:
# 2019-12-26 started on ltb-018 from fluxbox startup example
# 2022-11-03 adapted for this package
# 2023-12-12 revised to be consistent across bgconf and stackrpms-thinkpad-p50s
+# 2024-04-30 adapted for acer chromebook package
# Usage:
# symlink your ~/.fluxbox/startup to this file with:
-# ln -sf /etc/stackrpms-thinkpad-p50s/fluxbox.startup ~/.fluxbox/startup
+# ln -sf /etc/stackrpms-acer-chromebook/fluxbox.startup ~/.fluxbox/startup
# Reference:
# ltb-018:~/.fluxbox/startup
# Improve:
@@ -21,7 +22,7 @@
# last modified: 2022-11-03-5 14:28
# Change your keymap:
-test -f /etc/stackrpms-thinkpad-p50s/Xmodmap && xmodmap /etc/stackrpms-thinkpad-p50s/Xmodmap
+test -f /etc/stackrpms-acer-chromebook/Xmodmap && xmodmap /etc/stackrpms-acer-chromebook/Xmodmap
test -f .Xmodmap && xmodmap ".Xmodmap"
echo "${PATH}" | grep -q "${HOME}/bin" 1>/dev/null 2>&1 && export PATH="${HOME}/bin:${PATH}"
diff --git a/src/etc/stackrpms-acer-chromebook/fluxbox.windowmenu b/src/etc/stackrpms-acer-chromebook/fluxbox.windowmenu
new file mode 100644
index 0000000..3e5d4e0
--- /dev/null
+++ b/src/etc/stackrpms-acer-chromebook/fluxbox.windowmenu
@@ -0,0 +1,15 @@
+[begin]
+# [shade]
+# [stick]
+ [maximize]
+ [iconify]
+# [raise]
+# [lower]
+# [settitledialog]
+# [sendto]
+ [layer]
+# [alpha]
+# [extramenus]
+# [separator]
+ [close]
+[end]
diff --git a/src/etc/stackrpms-thinkpad-p50s/Xmodmap b/src/etc/stackrpms-thinkpad-p50s/Xmodmap
deleted file mode 100644
index 8d9cee6..0000000
--- a/src/etc/stackrpms-thinkpad-p50s/Xmodmap
+++ /dev/null
@@ -1,20 +0,0 @@
-! File: /etc/stackrpms-thinkpad-p50s/Xmodmap
-! Location: stackrpms-thinkpad-p50s package
-! Author: bgstack15
-! SPDX-License-Identifier: GPL-3.0
-! Startdate: 2019-12-26
-! Title: Common Xmodmap for Thinkpad P50s platform
-! Package: stackrpms-thinkpad-p50s
-! Purpose: custom Xmodmap for Thinkpad P50s
-! History:
-! 2022-11-03 adapted for package
-! Usage:
-! in ~/.fluxbox/startup (possibly symlinked to /etc/stackrpms-thinkpad-p50s/fluxbox.startup), run `xmodmap /etc/stackrpms-thinkpad-p50s/Xmodmap`
-! Reference:
-! xev
-! Improve:
-! Documentation:
-! last modified: 2022-11-03-5 14:36
-
-! turn calculator key into context menu key
-keycode 148 = Menu
bgstack15