[OPEN] how can i take screenshot in qtile

Post Reply
recruit crewman
Posts: 1
Joined: Thu Sep 24, 2020 10:01 pm

[OPEN] how can i take screenshot in qtile

Post by Brandon »

Hello! a im new in wm, i have use qtile for 1 month, I have the need to take screenshots, but with qtile I cannot and I have to change the environment. Yesterday I created a python script to capture the screen. How can I add the script to my qtile config to make it work.

User avatar
Posts: 3496
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium

Re: [OPEN] how can i take screenshot in qtile

Post by erikdubois »

Read the ~/.config/qtile/config.py


Key([], "Print", lazy.spawn("scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)'")),
Key([mod2], "Print", lazy.spawn('xfce4-screenshooter')),
Key([mod2, "shift"], "Print", lazy.spawn('gnome-screenshot -i')),

You have the appropriate applications installed.

Https://arcolinuxd.com holds all the articles about desktops.
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

Post Reply

Return to “BYOI ArcoLinuxB Qtile”