diff options
author | B. Stack <bgstack15@gmail.com> | 2024-04-30 12:43:32 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2024-04-30 12:43:32 -0400 |
commit | e3e5c2546ebf2aa42c809cf9305f90cf395236a6 (patch) | |
tree | 0c57dc3283dc82683135f105802073cfd286dd7d /src/usr | |
parent | v0.0.4 fix want#1,#2 (diff) | |
download | stackrpms-acer-chromebook-e3e5c2546ebf2aa42c809cf9305f90cf395236a6.tar.gz stackrpms-acer-chromebook-e3e5c2546ebf2aa42c809cf9305f90cf395236a6.tar.bz2 stackrpms-acer-chromebook-e3e5c2546ebf2aa42c809cf9305f90cf395236a6.zip |
fork to acer-chromebook
Diffstat (limited to 'src/usr')
-rwxr-xr-x | src/usr/bin/hwset-acer-chromebook (renamed from src/usr/bin/hwset-thinkpad-p50s) | 7 | ||||
-rwxr-xr-x | src/usr/bin/netmounts-trayicon | 4 | ||||
-rwxr-xr-x | src/usr/bin/vpn-trayicon | 4 | ||||
-rw-r--r-- | src/usr/share/doc/stackrpms-acer-chromebook/README.md | 54 | ||||
-rw-r--r-- | src/usr/share/doc/stackrpms-thinkpad-p50s/README.md | 61 | ||||
-rw-r--r-- | src/usr/share/man/man1/hwset-thinkpad-p50s.1.txt | 14 | ||||
-rw-r--r-- | src/usr/share/man/man1/netmounts-off.1.txt | 2 | ||||
-rw-r--r-- | src/usr/share/man/man1/netmounts-on.1.txt | 2 | ||||
-rw-r--r-- | src/usr/share/man/man1/netmounts-trayicon.1.txt | 2 | ||||
-rw-r--r-- | src/usr/share/man/man1/vpn-off.1.txt | 2 | ||||
-rw-r--r-- | src/usr/share/man/man1/vpn-on.1.txt | 2 | ||||
-rw-r--r-- | src/usr/share/man/man1/vpn-trayicon.1.txt | 2 |
12 files changed, 75 insertions, 81 deletions
diff --git a/src/usr/bin/hwset-thinkpad-p50s b/src/usr/bin/hwset-acer-chromebook index 12e7c14..0547aa0 100755 --- a/src/usr/bin/hwset-thinkpad-p50s +++ b/src/usr/bin/hwset-acer-chromebook @@ -11,6 +11,7 @@ # 2018-12-10 change directory # 2019-12-26 adapted for Thinkpad P50s and add bright_set max/min/safe # 2022-11-03 adapted for package +# 2024-04-29 adapted for Acer Chromebook C720 # Usage: # configure your display manager to react to key combinations, like vol-up to execute: hwset vol up # Reference: ftemplate.sh 2017-11-10a; framework.sh 2017-11-10a @@ -19,7 +20,7 @@ # Dependencies: # dep-devuan: bgscripts-core fiversion="2017-11-10a" -hwsetversion="2022-11-03a" # for Thinkpad P50s +hwsetversion="2024-04-29a" # for Acer Chromebook C720 usage() { less -F >&2 <<ENDUSAGE @@ -284,9 +285,9 @@ define_if_new HWSET_SND_INCREMENT=8 define_if_new HWSET_SND_MUTE_LEVEL=0 define_if_new HWSET_SND_TEMP_FILE=/tmp/hwset/snd.level define_if_new HWSET_BRIGHTNESS_INCREMENT=85 -define_if_new HWSET_BRIGHTNESS_MAX=852 +define_if_new HWSET_BRIGHTNESS_MAX=$( cat /sys/class/backlight/intel_backlight/max_brightness ) define_if_new HWSET_BRIGHTNESS_MIN=0 -define_if_new HWSET_BRIGHTNESS_SAFE=850 +define_if_new HWSET_BRIGHTNESS_SAFE=$( cat /sys/class/backlight/intel_backlight/max_brightness ) ## REACT TO BEING A CRONJOB #if test ${is_cronjob} -eq 1; diff --git a/src/usr/bin/netmounts-trayicon b/src/usr/bin/netmounts-trayicon index 72bf020..6f0ed59 100755 --- a/src/usr/bin/netmounts-trayicon +++ b/src/usr/bin/netmounts-trayicon @@ -1,11 +1,11 @@ #!/bin/sh # File: /usr/bin/netmounts-trayicon -# Location: stackrpms-thinkpad-p50s package +# Location: stackrpms-acer-chromebook package # Author: bgstack15 # SPDX-License-Identifier: GPL-3.0 # Startdate: 2022-01-07 14:15 # Title: Net mounts Trayicon utility -# Package: stackrpms-thinkpad-p50s +# Package: stackrpms-acer-chromebook # Purpose: Provide easy mount/unmount control for network shares from system tray # History: # 2022-11-03 adapted for package diff --git a/src/usr/bin/vpn-trayicon b/src/usr/bin/vpn-trayicon index ecae2de..e5dee28 100755 --- a/src/usr/bin/vpn-trayicon +++ b/src/usr/bin/vpn-trayicon @@ -1,11 +1,11 @@ #!/bin/sh # File: /usr/bin/vpn-trayicon -# Location: stackrpms-thinkpad-p50s package +# Location: stackrpms-acer-chromebook package # Author: bgstack15 # SPDX-License-Identifier: GPL-3.0 # Startdate: 2021-12-26 21:10 # Title: Vpn Trayicon utility -# Package: stackrpms-thinkpad-p50s +# Package: stackrpms-acer-chromebook # Purpose: Provide easy vpn control from system tray # History: # 2022-11-03 adapted for package diff --git a/src/usr/share/doc/stackrpms-acer-chromebook/README.md b/src/usr/share/doc/stackrpms-acer-chromebook/README.md new file mode 100644 index 0000000..c3b34ee --- /dev/null +++ b/src/usr/share/doc/stackrpms-acer-chromebook/README.md @@ -0,0 +1,54 @@ +<!-- + .. File: stackrpms-acer-chromebook README + .. Location: https://bgstack15.ddns.net/cgit/stackrpms-acer-chromebook/ + .. Author: bgstack15 + .. SPDX-License-Identifier: GPL-3.0 + .. Startdate: 2022-11-02-4 20:52 + .. Title: README for package Stackrpms Acer Chromebook C720 + .. Package: stackrpms-acer-chromebook + .. Purpose: Readme for Acer Chromebook C720 Stackrpms configuration project + .. Usage: Readme + .. History: + .. Reference: + .. Improve: + .. Documentation: this + --> + +# Overview +This project, `/mnt/public/Support/Platforms/stackrpms-acer-chromebook/` holds a git repository of my package of useful settings for Acer Chromebook C720 systems, which include: + +* cbb-001 Cute + +Some configurations include: + +* Xmodmap, automatically applied by the provided fluxbox startup file +* Netmounts tray icon +* Vpn tray icon +* hwset customized for Acer Chromebook C720 +* Fluxbox settings available in /etc/stackrpms-acer-chromebook/. You can symlink them with: + + ln -sf /etc/stackrpms-acer-chromebook/fluxbox.keys ~/.fluxbox/keys + ln -sf /etc/stackrpms-acer-chromebook/fluxbox.startup ~/.fluxbox/startup + +# Using +Install this package, and symlink the fluxbox config files as seen above. Optionally, install those in the /etc/skel path for `.fluxbox/`. + +# Success criteria +This project will be considered stable when the following are met: + +* CTRL+ALT+F6/F7 screen brightness up/down buttons work +* CTRL+ALT+F8 audio mute button works +* CTRL+ALT+F9/F10 Volume up/down buttons work +* Power button prompts for action instead of immediately shutting down + +# Building + + cd /mnt/public/Support/Platforms/ ; rm -f stackrpms-acer-chromebook-0.0.1.tar.gz ; tar -zcf stackrpms-acer-chromebook-0.0.1.tar.gz --exclude debian --exclude .git --exclude '.*.swp' stackrpms-acer-chromebook ; cd stackrpms-acer-chromebook/ + debuild -us -uc + +# Reference +This project was forked from stackrpms-thinkpad-p50s v0.0.4 on 2024-04-30. + +# Changelog +2024-04-30 v0.0.1 +* Initial release forked from stackrpms-thinkpad-p50s diff --git a/src/usr/share/doc/stackrpms-thinkpad-p50s/README.md b/src/usr/share/doc/stackrpms-thinkpad-p50s/README.md deleted file mode 100644 index fe9f6a5..0000000 --- a/src/usr/share/doc/stackrpms-thinkpad-p50s/README.md +++ /dev/null @@ -1,61 +0,0 @@ -<!-- - .. File: stackrpms-thinkpad-p50s README - .. Location: https://bgstack15.ddns.net/cgit/stackrpms-thinkpad-p50s/ - .. Author: bgstack15 - .. SPDX-License-Identifier: GPL-3.0 - .. Startdate: 2022-11-02-4 20:52 - .. Title: README for package Stackrpms Thinkpad P50s - .. Package: stackrpms-thinkpad-p50s - .. Purpose: Readme for Thinkpad P50s Stackrpms configuration project - .. Usage: Readme - .. History: - .. Reference: - .. Improve: - .. Documentation: this - --> - -# Overview -This project, `/mnt/public/Support/Platforms/stackrpms-thinkpad-p50s/` holds a git repository of my package of useful settings for Thinkpad P50s systems, which include: - -* ltb-018 Shiny -* ltb-020 Clone -* ltb-021 Copy -* ltb-022 Dupe -* ltb-023 Mundane - -Some configurations include: - -* Xmodmap, automatically applied by the provided fluxbox startup file -* Netmounts tray icon -* Vpn tray icon -* hwset customized for Thinkpad P50s -* Fluxbox settings available in /etc/stackrpms-thinkpad-p50s/. You can symlink them with: - - ln -sf /etc/stackrpms-thinkpad-p50s/fluxbox.keys ~/.fluxbox/keys - ln -sf /etc/stackrpms-thinkpad-p50s/fluxbox.startup ~/.fluxbox/startup - -# Using -Install this package, and symlink the fluxbox config files as seen above. Optionally, install those in the /etc/skel path for `.fluxbox/`. - -# Success criteria -This project will be considered stable when the following are met: - -* F1 Toggle audio mute button works -* F2, F3 Volume up/down buttons work -* F5, F6 Screen brightness up/down buttons work -* F8 toggle wireless network button works -* Calculator button initiates the context menu - -# Building - - cd /mnt/public/Support/Platforms/ ; rm -f stackrpms-thinkpad-p50s-0.0.1.tar.gz ; tar -zcf stackrpms-thinkpad-p50s-0.0.1.tar.gz --exclude debian --exclude .git --exclude '.*.swp' stackrpms-thinkpad-p50s ; cd stackrpms-thinkpad-p50s/ - debuild -us -uc - -# Changelog -2023-08-22 version 0.0.2 update fluxbox keys for Fn+F10 to toggle mic mute because Fn+F4 is blocked/used by something I cannot control. - -2023-09-09 version 0.0.3 use correct amixer command for mic mute - -2023-12-12 version 0.0.4 -* Make fluxbox startup and keys files match bgconf (want#1) -* fluxbox.keys: use pulseaudio now on Devuan (want#2) diff --git a/src/usr/share/man/man1/hwset-thinkpad-p50s.1.txt b/src/usr/share/man/man1/hwset-thinkpad-p50s.1.txt index 78602c1..fc1bbea 100644 --- a/src/usr/share/man/man1/hwset-thinkpad-p50s.1.txt +++ b/src/usr/share/man/man1/hwset-thinkpad-p50s.1.txt @@ -1,13 +1,13 @@ -title hwset-thinkpad-p50s +title hwset-acer-chromebook section 1 -project stackrpms-thinkpad-p50s +project stackrpms-acer-chromebook volume General Commands Manual -date November 2022 +date April 2024 ===== NAME - hwset-thinkpad-p50s - adjust hardware settings like audio volume and screen brightness + hwset-acer-chromebook - adjust hardware settings like audio volume and screen brightness SYNOPSIS - hwset-thinkpad-p50s [PIECE] [ACTION] [VALUE] + hwset-acer-chromebook [PIECE] [ACTION] [VALUE] PIECES vol | bright ACTIONS @@ -16,8 +16,8 @@ VALUES vol: 0-100 bright: 0.0-1.0 | safe | min | max DESCRIPTION - A customized hwset.sh (from bgscripts-core) specifically for Thinkpad P50s platform. Primarily hwset is called from the stackrpms-thinkpad-p50s fluxbox keys file on the Function-F6 type key presses. - The included fluxbox keys file uses amixer to set volume, not hwset. + A customized hwset.sh (from bgscripts-core) specifically for Acer Chromebook platform. Primarily hwset is called from the stackrpms-acer-chromebook fluxbox keys file on the F6 type key presses. + The included fluxbox keys file uses pulsemixer-notification to set volume, not hwset. AUTHOR B. Stack <bgstack15@gmail.com> COPYRIGHT diff --git a/src/usr/share/man/man1/netmounts-off.1.txt b/src/usr/share/man/man1/netmounts-off.1.txt index e198013..c4844d0 100644 --- a/src/usr/share/man/man1/netmounts-off.1.txt +++ b/src/usr/share/man/man1/netmounts-off.1.txt @@ -1,6 +1,6 @@ title netmounts-off section 1 -project stackrpms-thinkpad-p50s +project stackrpms-acer-chromebook volume General Commands Manual date November 2022 ===== diff --git a/src/usr/share/man/man1/netmounts-on.1.txt b/src/usr/share/man/man1/netmounts-on.1.txt index 0095f34..9fdb14d 100644 --- a/src/usr/share/man/man1/netmounts-on.1.txt +++ b/src/usr/share/man/man1/netmounts-on.1.txt @@ -1,6 +1,6 @@ title netmounts-on section 1 -project stackrpms-thinkpad-p50s +project stackrpms-acer-chromebook volume General Commands Manual date November 2022 ===== diff --git a/src/usr/share/man/man1/netmounts-trayicon.1.txt b/src/usr/share/man/man1/netmounts-trayicon.1.txt index 0d6ff00..8b8f2a7 100644 --- a/src/usr/share/man/man1/netmounts-trayicon.1.txt +++ b/src/usr/share/man/man1/netmounts-trayicon.1.txt @@ -1,6 +1,6 @@ title netmounts-trayicon section 1 -project stackrpms-thinkpad-p50s +project stackrpms-acer-chromebook volume General Commands Manual date November 2022 ===== diff --git a/src/usr/share/man/man1/vpn-off.1.txt b/src/usr/share/man/man1/vpn-off.1.txt index cb80c8d..149b18e 100644 --- a/src/usr/share/man/man1/vpn-off.1.txt +++ b/src/usr/share/man/man1/vpn-off.1.txt @@ -1,6 +1,6 @@ title vpn-off section 1 -project stackrpms-thinkpad-p50s +project stackrpms-acer-chromebook volume General Commands Manual date November 2022 ===== diff --git a/src/usr/share/man/man1/vpn-on.1.txt b/src/usr/share/man/man1/vpn-on.1.txt index f32ff9a..7604bef 100644 --- a/src/usr/share/man/man1/vpn-on.1.txt +++ b/src/usr/share/man/man1/vpn-on.1.txt @@ -1,6 +1,6 @@ title vpn-on section 1 -project stackrpms-thinkpad-p50s +project stackrpms-acer-chromebook volume General Commands Manual date November 2022 ===== diff --git a/src/usr/share/man/man1/vpn-trayicon.1.txt b/src/usr/share/man/man1/vpn-trayicon.1.txt index 2e59127..bbbb005 100644 --- a/src/usr/share/man/man1/vpn-trayicon.1.txt +++ b/src/usr/share/man/man1/vpn-trayicon.1.txt @@ -1,6 +1,6 @@ title vpn-trayicon section 1 -project stackrpms-thinkpad-p50s +project stackrpms-acer-chromebook volume General Commands Manual date November 2022 ===== |