So I upgraded my Linux box to the latest Kubuntu 15.10 (Wily Werewolf!) and it's been an interesting few days ironing out niggles. One of them has been the missing partition manager icon which (IIRC) was present in 14.04 and where I could control which partitions were automounted at login. From the looks of it, there is no easy solution for this like installing a package or some weird Plasma widget. The only solution I was provided on IRC was the following roundabout-borderline-hack:
So here I was happy with my installation of program foo.exe under Wine in Linux (Kubuntu if you must know). All of a sudden, the program starts whining a little, wobbling a touch, and generally exhibiting wonky tendencies. While I could have uninstalled it and tried to reinstall it to see if that fixes the problem, there's a neater solution that is only available for Wine users.
A quick and easy way to join or merge multiple PDFs together on Linux (Kubuntu 14.10):
pdfunite toc.pdf chapter1.pdf chapter2.pdf book.pdf
This doesn't resample pages or any other nonsense like that either :) pdfunite is provided by the poppler-utils package which should already be installed.
If you want to do the opposite, i.e. split a unified PDF file into multiple ones, poppler-utils also provides the aptly named pdfseparate.
Hope this helps :)
If you see something like the following error message when you run a sed command:
invalid reference \1 on `s' command's RHS
then it (probably) means that your regex capture group has not been escaped properly.
So, if you are using a command like:
then it needs to be escaped like so:
In other words, round parentheses/brackets need to be escaped while the square brackets do not :|
For the last few weeks, I've noticed weird red dots/lines or similar marks on my Kubuntu screen. I'd attributed them to a graphics issue that I'd recently sorted out, particularly because I was mainly noticing these marks when resuming the system from sleep mode. Turns out I was wrong. Very wrong.
So, I am often SSH'd into a remote server from my Kubuntu desktop. I also rarely switch off my desktop and prefer to just hit sleep instead. One of the things that can be annoying when I resume the desktop is that the previous SSH session is now unresponsive/frozen as SSH believes that it is still connected to the remote server while the server has given up on the old session long ago. No amount of CTRL + C or CTRL + Z banging is going to terminate the session which can take an inordinately long wait to time out.
This has happened to me on a number of occasions where I've found that my system audio only plays when I switch to a different tty. I don't know exactly how to duplicate the issue . But essentially, if I switch from my Kubuntu 14.10 KDE desktop to a different tty (using something like CtrlAltF5) and then switch back to the KDE tty, I find that I can hear no audio. However, if I switch again to the command-line tty, I can hear that audio that ought to have been playing in KDE. Rather weird, huh?
I can sometimes be rather picky (some would say 'anal') when I write, for example, an e-mail. I get annoyed if I have to resort to typing three periods for an ellipsis rather than achieving it with just the one character. Doing something with one character instead of three is also a skill that has carved itself a niche in this age of Twitter. So how would one go about it?
So I've had a graphics issue with my Kubuntu box which relies on an Intel motherboard. While I was hoping to put off the fix until the next version of Kubuntu (out in April), the display bug was getting to be really annoying. I therefore decided to upgrade to the latest kernel immediately.
So I upgraded my Kubuntu box's kernel to 3.19 and while that fixed my graphics issues, I ran into a new and peculiar issue where hovering over links in Google Chrome failed to display the linked addresses in the bottom of the screen (the status bar). This is apparently a known (Chromium) bug which has still not been resolved. The current recommended workaround is to disable and re-enable hardware acceleration as follows: