Skip to content

Running one Autokey script from another Autokey script?

Right now I’ve got two Autokey scripts (for modularity), one that opens a file, and one that puts text in it. The one that opens the file has hotkey F1 (and we’ll call this script 1 for simplicity), and the one that puts text in it has hotkey F2. I want a new Autokey script, that when I hit F3,

Pyinstaller creates x-sharedlib file in pop os

I use Pyinstaller in pop os for a python script but it creates a x-sharedlib file that I can only open through terminal. I tried to rename it to exe and run it but nothing happens. How I can make it open by double click? Thank you! Answer Found the solution. I renamed it to .sh changed nautilus preferences to

how to know if the file is txt in linux

I have a code where I need to delete all the .txt files in the main directory. I have done a loop and in the loop there is if command: now I need another if command where I check if the file is .txt or not. Answer What about something like this, where the script determines the file type?