I have a laptop that spends some of it’s time docked to a monitor and keyboard/mouse. I would like to know how to change some settings depending on if it’s connected to the dock or not. Is there a program that can help with this?
Some possible use-cases include:
- Changing size of the taskbar to smaller/bigger
- Changing the behavior of the taskbar to auto-hide
- Changing the font size smaller/bigger
- Changing power settings performance/battery saver
- Enabling/disabling auto brightness
- Enabling/disabling keyboard backlight
These are just a few things I can think of but can provide more.
Something like Android’s Tasker but for Linux would be great.
I’m using GNOME thanks that link looks helpful
gnome might be tricky to interface with over shell commands, and sadly i use sway so i am limited with advice, checking ubuntu forums would be a good start for you though.