Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ldrahnik/elementary-os-scripts
https://github.com/ldrahnik/elementary-os-scripts
bluetooth brightness camera elementary-os fn-key jolnir linux loki microphone powersupply screenkeyboard scripts special-functions touchpad udev udev-rules
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ldrahnik/elementary-os-scripts
- Owner: ldrahnik
- Created: 2022-04-29T21:35:50.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T02:19:49.000Z (almost 2 years ago)
- Last Synced: 2023-02-27T15:11:58.208Z (almost 2 years ago)
- Topics: bluetooth, brightness, camera, elementary-os, fn-key, jolnir, linux, loki, microphone, powersupply, screenkeyboard, scripts, special-functions, touchpad, udev, udev-rules
- Language: Shell
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elementary-os-scripts
# Install
```
git clone [email protected]:ldrahnik/elementary-os-scripts.git
cd elementary-os-scripts
chmod +x *.sh
```## Special keys functionalities
- **Disabling/Enabling camera** (custom keyboard shortcut (Fn+special key) usage: `bash /home/ldrahnik/projects/elementary-os-scripts/toggle_camera.sh`)
- **Disabling/Enabling microphone** (custom keyboard shortcut (Fn+special key) usage: `sh /home/ldrahnik/projects/elementary-os-scripts/toggle_microphone.sh`)
- **Disabling/Enabling touchpad** (custom keyboard shortcut (Fn+special key) usage: `bash /home/ldrahnik/projects/elementary-os-scripts/toggle_touchpad.sh`)
- **Toggle calculator** (custom keyboard shortcut (key `XF86Calculator` has to be added via `$ sudo apt install dconf-editor` `/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/customX/binding`) with command: `bash /home/ldrahnik/projects/elementary-os-scripts/toggle_calculator.sh`, key for calculator can be tested with command `xdotool key XF86Calculator`)## Plank icon
- **Show/Hide onboard keyboard (script & icon for dock, useful for 2v1 devices when is mode changed to tablet and you want imediately or by icon show onboard keyboard, dock can be setup `onboard Settings` -> `Window` -> `Window options` -> `Docking` -> check `Dock to screen edge`)**
```
$ sudo gedit /usr/share/applications/screenkeyboard.desktop
```
```
[Desktop Entry]
Name=Screen keyboard
Exec=bash /home/ldrahnik/projects/elementary-os-scripts/toggle_screenkeyboard.sh
Icon=/usr/share/icons/elementary/devices/24/input-keyboard-symbolic.svg
Terminal=false
Type=Application
StartupNotify=true
```## Credits
[how-can-i-disable-my-webcam](https://askubuntu.com/questions/166809/how-can-i-disable-my-webcam)