![]() ![]() To make sure that you uninstall all related packages AND configuration files, you can type sudo apt-get purge Sometimes applications can be split up into multiple packages (for example, many games have a separate package for their music). Just search for the application name and click the "Remove" button. It's pretty much the same thing as Synaptic. There's of course also the Ubuntu Software Center. Once you click "Apply", the package should be removed. If the terminal isn't what stirs your tea, you could open System → Administration → Synaptic Package Manager, search for the package you want to remove, click on the checkbox next to it and select "mark for removal". It's that easy to leave nnn open all the time, so you can always have quick access to the fastest lightweight file management you're likely to experience.If the application has been installed via the package manager, all you have to do is run sudo apt-get remove You'll forget nnn is there, until you type exit and you find yourself back in the nnn interface. Press ! to open a shell over the nnn interface. The most clever feature is the shell function. For a full list of what nnn can do, press the ? key. It's a very capable file manager, with functions for symlinks, FIFO, bookmarks, batch renaming, and more. (This is likely to be the single most confusing keyboard shortcut for a longtime terminal user who's accustomed to Ctrl+C.) Never close nnn When you find yourself backed into a corner and need to press a panic button, use the Esc key. Zip archive data, at least v2.0 to extractĪpplication/zip charset=binary Cancel an action You can verify the file type yourself by pressing the f key with your new archive selected: File: /home/tux/Downloads/example.zip If you name your archive then nnn creates a TAR archive with lzma compression, but if you name it example.zip then it creates a ZIP file. Luckily, nnn is a smart application and derives its file type from the name you provide. At the bottom of the nnn interface, you're prompted to choose between your current item of your selection. To create an archive of a file or a selection of files, press z. Use A to invert the selection (in this case, to select none.) Creating an archive Press m again to close the selection: 1 2 3 4 ~įinally, the third way to select files is to press a to select all. To mark a selection, press m on the first file you want to select, and then use your arrow keys to move to the last file you want to select. Another way to select many files at once is to "mark in " and "mark out". One selection doesn't cancel another, so you can select several files manually, but that can become tedious. You find a file you want to select, and then press Spacebar to mark it as selected. There are a few ways to mark selections in nnn. Moving files is the same process as copying a file, but the keyboard shortcut for the action is v. Navigate to the target directory and press p to copy. It's marked with a plus sign ( +) to indicate its selected state. Thanks to nnn's context control (those are the numbers at the top of the screen, and you can think of them as tabs in a web browser), this is a quick process.įirst, select the file you want to copy and press Spacebar to select the file. To copy a file or any number of files, you must first select a file to copy, then navigate to its intended destination, and finally invoke the copy command. Should you need to open a file in something other than its default application, press = instead, and then type the name of the application in the prompt at the bottom of the nnn interface. Your desktop already has default applications set, and nnn inherits this knowledge, so press Return or Right arrow to open a file in its default application. One of the reasons you use a file manager is to find a file and then open it. There's no need to Tab over buttons, you just use the arrow keys or the QWERTY home row. ![]() It's easier than any graphical file manager because there aren't any widgets that get in the way. Use the Left arrow key or h to back out of a directory. Use the Right arrow key, Return, or the l key to enter a directory or to open a file. Use either the Up and Down arrow keys or the k and j keys (as in Vim) to change your selection. ![]() At the top of the nnn interface are tabs (called a "context" in nnn terminology), numbered one to four.Īt the bottom of the nnn interface, there are ownership and permission details about your current selection. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |