Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

roopeshor/krotate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KRotate

KDE plasma 6 Keyboard shortcut scripts to rotate whole screen to left or right. It works by reading current rotation state in the file $HOME/.config/krotate.rc and doing appropriate rotation for a given keystroke. This script is based on kscreen-doctor.

install

  1. Clone repo:
git clone --depth 1 https://github.com/roopeshor/krotate ~/.local/bin/krotate
  1. Give execution permissions:
chmod +x ~/.local/bin/krotate/krotate-*
  1. Goto System settings -> Keyboard -> Shortcuts.
  2. To create rotate left shortcut, Add New -> Command or script. In the command field, provide full path for the above scripts (~/.local/bin/krotate/krkrotate-left.sh), and some name
  3. Add your required shortcut like Meta+]
  4. Repeat same to add rotate right shortcut (command file: ~/.local/bin/krotate/krotate-right.sh)

Screenshot

About

KDE shortcut script to rotate screen

Topics

Resources

Stars

Watchers

Forks

Languages