Skip to content

Instantly share code, notes, and snippets.

@sergioPerez-e
Last active March 2, 2025 10:25
Show Gist options
  • Save sergioPerez-e/5e759bd4efd6af0be885d711a2865537 to your computer and use it in GitHub Desktop.
Save sergioPerez-e/5e759bd4efd6af0be885d711a2865537 to your computer and use it in GitHub Desktop.
Shortcuts-customs

DEBIAN, UBUNTU, XFCE, SHORT CUTS, SCREENSHOOTS, KEYBOARD

Keyboard shortcuts customs for Ubuntu/Debian (Gnome, XFCE) Auto save screenshots

Gnome (Ubuntu/Debian)

Disable-auto-group_by_application-switch-shorthcut (Debian, Linux Mint)

  1. settings > keyboard
  2. keyboard shortcuts > customize
  3. find: switch windows
  4. use Alt+Tab as a shortcut
  5. save and exit

terminal shortcut (Debian)

  1. settings > keyboard
  2. keyboard shortcuts > customize shortcus > custom shortcut
  3. Add shortcut 3.1 Name: Terminal 3.2 Command: gnome-terminal 3.3 Shortcut: Ctrl + Alt + T
  4. find: switch windows
  5. use Alt+Tab as a shortcut
  6. save and exit

XFCE

Reemplace screenshot box dialog for screenshot region selection and save in clipboard and save in pictures without asking

  1. Keyboard
  2. Shortcuts
  3. Add 3.1 Command:/home/lupita/Documents/screenshots-man.sh 3.2 Use Print key as shortcut

Content of screenshots-man.sh


#!/bin/bash

xfce4-screenshooter -c -r -s "$HOME/Pictures/Screenshots/Screenshot $(date '+%Y-%m-%d %H:%M:%S').png"

3.3 Add run permissions 3.4 With zsh does not work, so I had to use bin/sh to excute the command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment