Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am running Xubuntu 18.04.5 with a keyboard shortcut set to have the PrtSc key run a program that captures a screenshot. i ran across an app that is reacting to that. i have a text input open in an app named "Gramps" (genealogy software) to type in the name of a new family tree. then i press PrtSc. it closes the input and sets up the default name.
i thought a shortcut key press would not be received by anything else. how can it be doing this? the app runs in Python3.
One distro I had, print screen would result in a small widget or other which popped up and allowed me to open a more formal viewer or editor, or just open the file location where the screenshot was stored. I sort of felt that was a good/normal behavior. I guess it wasn't necessarily a whole app, nor one which specifically required python, but instead it was part of the window manager I was using.
One distro I had, print screen would result in a small widget or other which popped up and allowed me to open a more formal viewer or editor, or just open the file location where the screenshot was stored. I sort of felt that was a good/normal behavior. I guess it wasn't necessarily a whole app, nor one which specifically required python, but instead it was part of the window manager I was using.
it could have invoked some executable that did both, or one that invoked something to do one of those and did the other itself, or one that invoked something for both.
in my case, it is my own code (written in Python3) that invokes a binary executable to get the results after it determines the name to give it, creates the directory it goes in, and changes to it. i can't find any messaging in that binary.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.