![]() Here's how you do that, if so inclined: mkdir ~/.binĮcho 'export PATH=~/.bin:$PATH' > ~/.bashrc My personal habit is putting custom commands in ~/.bin and then adding that directory to the PATH variable. I don't know about other desktop environments, but Xfce didn't like me using a pipe in the custom keyboard command, so I had to make a script with the xclip-line, which is then bound to my keyboard shortcut (Ctrl-Alt-C). Xfce allows me to override Ctrl-C by simply defining that as the shortcut in Settings -> Keyboard -> Application Shortcuts, but I prefer using a different shortcut, Ctrl-Alt-C, so that I'm still able to copy with formatting in the rare cases I need to. I'm using Xfce on Linux Mint (which is based on Ubuntu). You can create a custom shell script which you can then bind to a key shortcut in your desktop environment. I've found a way to achieve this after some searching online and experimenting with my environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |