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.

  • squid_slime@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    6 months ago

    bash is one of many ways to interface with linux from shell/terminal, it is what you use to install updates in terminal and can be used to create scripts for automation.

    udev is like an admin tool, udev rules allows a user to apply rules to systems, like if keyboard is removed launch x-application.