My Latest Opensource.com Column: Small, Useful Linux Utilities - My Pick is a Clipboard Manager
Linux - NewsThis forum is for original Linux News. If you'd like to write content for LQ, feel free to contact us.
All threads in the forum need to be approved before they will appear.
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.
During a recent episode of Bad Voltage, each presenter had to name a small Linux utility we were surprised more people didn't regularly use. Fellow Opensource.com Community Moderator Ben Cotton suggested this topic would be of interest to the Opensource.com community, and I think he's correct. Thanks for the suggestion, Ben.
The item I chose to highlight is a clipboard manager. For those of you not familiar with a clipboard manager, it's a small program that runs in the background and keeps a history of everything you save to the clipboard. It sounds simple, and it is, but it will likely boost your productivity more than you'd initially anticipate. It also comes in handy when you copy something, only to realize that means you've lost something else in the clipboard that you actually needed.
Features to look for
When selecting a clipboard manager, there are a couple items I'd consider must haves and then a few items that are nice to have. First, you should pick a clipboard manager that integrates well with your desktop environment, shell, and toolkit of choice. This integration will lead to a much smoother experience, and consistency isn't something I'd settle on. You should also ensure you can exclude programs, as you don't want passwords and other sensitive information stored.
Personally, I prefer a clipboard manager that distinguishes between the clipboard and the primary selection, but I understand some have strong opinions about this, so it may not be important for everyone. Other features to look for are the ability to control from the command line, scriptablity, the presence of keyboard shortcuts, and solid search functionality.
Clipboard managers to consider
While not an exhaustive list, here are a few quality options to choose from.
Diodon: Integrates well with Unity and GNOME, including a nice indicator applet
CopyQ: An advanced clipboard manager that is also cross platform
GPaste: GTK+ 3 based and integrates well with GNOME
Klipper: A good choice for KDE users
Clipman: A lightweight option for those who prefer XFCE
Parcellite: A simple "basic-features only" option for those who like simplicity
If none of those suit your use case, a quick web search will turn up quite a few additional options. Once you have a clipboard manager installed, let us know what you think.
Other useful utilities?
Have a useful utility that you're surprised more people don't use regularly? Let us know in the comments.
Have an idea for a future Opensource.com article? Let me know in this thread
I wonder how those clipboard managers would interact with Clipple (a Firefox addon)
Later: The answer as regards Glipper (not on the list) seems to be that one effectively has two independent clipboards. Initially Clipple was turned off after the Glipper installation. Presumably the same holds for the others listed but I could not get Diodon to work (perhaps just me and the Gnome flasback thing).
I had a conversation recently with someone who is pretty knowledgeable and was surprised he had never heard of TAC, which like it's name implies, does the same thing as CAT, only in reverse. I've found it pretty invaluable.
I have a script which feeds bash history into it and it displays it with curses.
As I type things into the search field, it narrows the selections.
Then, when I select one with the arrow keys or mouse, it runs it.
I have another version of the script that just copies the selection to the clipboard (klipper).
Then, I paste it to the command line so I can edit it before running it.
I have it bound to Ctrl+F in bash.
I've used klipper for forever. Can't imagine working without it or a similar utility.
The only feature it doesn't have is a way to paste and pop items.
When I go to a website with a user name and password etc. I may put my id and password into the clipboard (I know it's a security issue, but my notebook is almost always at home.) I would like a paste and pop operation so that once I have pasted the first field, the second is on top ready to use.
duplex - duplex printing emulation for non-duplex printers
[shameless plug] (It's my project!)
People in Linux seem to either print on just one side of the paper or buy a printer with duplex (two-sided) printing hardware.
Two-sided printing with non-duplex printers has worked forever in Windows, but you have to go out of your way to do it in Linux with something like boomaga, xpp, or similar utilities that make you fill in all the blanks per job at least once, usually twice, every time you use them.
duplex is a set of bash scripts which emulate duplex printing on a non-duplex printer. You set it up once and it just works. Most of the scripts have both CLI and GUI versions. (The GUI versions do have blanks to fill in, but most have default values.)
To do duplex printing on a non-duplex printer, you have to print all of the odd | even sides, then reinsert the paper and print all the even | odd sides (which side prints first depends on how the printer handles paper). A unique feature of duplex is that it will print one side of all of the pages for multiple print jobs at once so you only have to reinsert the paper once for the whole batch.
You can also use duplex just as a simple print queue manager if your printer does duplex in hardware or you just want to save up print jobs, concentrate on your workflow, and print them in batches when you're ready.
yad is a great GUI dialog tool. It's a fork of zenity which is being actively developed and supported.
It's quite versatile and powerful and can support complex layouts while still being very easy to use for simple dialogs.
Among other features which got me to switch from zenity to yad are dialog boxes which automatically add scroll bars when there's too much information to fit the box and a tail option that displays the end of that information as it comes in.
It sorts your folders/files by biggest first and lets you delete them if you want.
It also allows you to exit to a subshell where you can examine a particular file using mc (Midnight Commander) or some other utility to see if you really want to delete the file. Then, you can return to where you were and continue where you left off.
I install this on every machine I touch, along with nmap and mc. I just can't understand how people can produce a distro where you actually have to install nmap and mc. They are pretty much indispensable to me.
Another great utility is vnc. Currently, I'm using rdesktop, xrdp and tightvncserver to access remote machines. It works well enough. I need to figure out how to include ssh with them though.
ssh is far and away the most useful tool I use daily. Again, I don't understand how some distros require installing openssh-server. That should be standard.
The last tool I depend on is openvpn. I don't mind downloading & compiling this one but it also is installed on all my machines as well. I can't remember what I did before openvpn.
It amazes me when I meet a Linux user who does not use these things.
Oh, and VirtualBox. I have my daughter using this on her laptop now. Great tool!
A parallelized grep written by a truly obsessive speed freak.
There are a couple of integration packages with emacs, I'm using helm-ad.el
Particularly useful is (helm-ag-project-root) It walks down the directory tree toward / until it finds a .git or .hg or .svn ... and then uses things like git ls-files (or matching hg or ...) command to find all files in project to search.
Great for searching for things in openembedded projects especially if you're ina truly massive tree like the linux kernel.
fsarchiver a must have tool for backing up and restoring entire files systems with no restrictions or caveats
I never fear destroying my build systems for VSIDO having fsarchives of these systems.. within minutes I can back up an entire file system and restore even faster
zbackup http://zbackup.org/ has a couple of nice features, making a compelling tool for sneakernets.
It deduplicates AND encrypts backup copies.
So if I'm using a sneakernet, (ie. a USBpen to move stuff between systems) I can do so without worrying that I might expose confidential stuff if I lose the pen.
A utility I use practically every day when I'm coding is kdiff3. It's free, and powerful, a solid engine for comparing files or directories, whether they be in different code repositories, or different versions in one repository. It fits neatly into both git and svn command lines, giving you a gui when you want it for comparison. It's also good for comparing notes, logs, and ascii dumps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.