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.

  • golden_zealot
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    7 months ago

    You might also be interested in cron/crontab. You can schedule scripts/software to run at specific times of day, week, month, year etc.

    Also if you want to learn more about the linux command line, three super useful commands for you are ‘man’, ‘help’ and ‘apropos’.

    man followed by a command, like ‘man find’ will show you the manual pages for the command ‘find’, showing you how to use it.

    In some cases man wont work for some commands, in those cases try ‘help theCommandThatDidntWorkWithMan’.

    apropos followed by a query like ‘apropos network’ will show you any commands that have ‘network’ in their short description to help you find commands that you might want to use for something.