Fix is from a bug report:
sudo apt-get install zsh=5.0.5-4ubuntu1~ubuntu14.04.1 zsh-common=5.0.5-4ubuntu1~ubuntu14.04.1 zsh-doc=5.0.5-4ubuntu1~ubuntu14.04.1
Hattip to this comment on the original bug.
Bonus: it gets you a newer ZSH.
Fix is from a bug report:
sudo apt-get install zsh=5.0.5-4ubuntu1~ubuntu14.04.1 zsh-common=5.0.5-4ubuntu1~ubuntu14.04.1 zsh-doc=5.0.5-4ubuntu1~ubuntu14.04.1
Hattip to this comment on the original bug.
Bonus: it gets you a newer ZSH.
Following up on my previous instructions, this time the full story – including double sided printing.
update 2017-06-28: additions to clarify some points (there was some confusion for me after a reinstall, hopefully this fixes things).
Edit 2017-10-23: New printers, see new update.
*cupsFilter: "application/vnd.cups-raw 0 minolta" *cupsFilter: "application/vnd.cups-command 0 commandtops" *cupsFilter: "application/vnd.cups-postscript 0 minolta"
ACCOUNT_NAME="casacristo" ACCOUNT_PASSWORD="1234" ACCOUNT_COETYPE="0"
#!/bin/bash source /etc/cups/ppd/${PRINTER}.km echo -en "\033%-12345X" echo -en "@PJL JOB\015\012" echo -en "@PJL SET KMSECTIONNAME = \"${ACCOUNT_NAME}\"\015\012" echo -en "@PJL SET KMSECTIONKEY2 = \"${ACCOUNT_PASSWORD}\"\015\012" echo -en "@PJL SET KMCOETYPE = ${ACCOUNT_COETYPE}\015\012" echo -en "@PJL ENTER LANGUAGE = POSTSCRIPT\015\012" cat - echo -en "\004\033%-12345X\015\012@PJL EOJ\015\012" echo -en "\033%-12345X"
The OU is using Kensington DisplayLink docking stations. They’re pretty nifty: one USB plug gets you internet, audio, and video. Under windows, that is :s.
After googling a bit, it turns out that DisplayLink did not release any drivers for the USB 3.0 version for Linux. Why? Because they support HDCP, a copy-protection measure for displays. And they have not (yet?) figured out how to preserve that type of copy protection and have open source drivers (nor, apparently, preserving that with closed-source drivers).
There’s at least one person looking into getting USB3 DisplayLink working via Linux. And it kind of sounds like he’s trying to hack HDCP in the process, just because he wants to use his hardware to actually do something. Ugh.
UPDATE (2017-02-07): Woohoo! Solution! There’s an Ubuntu display driver available from Displaylink. See http://support.displaylink.com/knowledgebase/articles/684649-how-to-install-displaylink-software-on-ubuntu. It requires kernel v3.16, which you can get from Ubuntu 14.04.2 onwards. (Thanks to new colleague Fabian for finding this out!).
In a nutshell:
Sidenote:
Using the actual USB3 port on my system instead of a USB2 port increases the speed sufficiently to allow internet, sound, webcam and display all over one port. In retrospect, it’s kind of obvious that even just running internet and sound over it would become challenging for video conferencing. Great detecting there, Sherlock me.
Update 2017-02-17: If you’re updating the kernel, the installed driver might no longer work (happened to me). In that case: sudo displaylink-installer uninstall to remove the driver, reboot, reinstall the driver by sudo ./displaylink-driver-$version.run and you’re good to go again!
You don’t even need to reboot after reinstalling the driver.
I’m not sure if you need to reboot at all, but I figured better 20 secs extra and sure about having purged the previous install than lingering in limbo.
Thanks to:
– http://displaylink.org/forum/showthread.php?t=1748&page=16
– http://airlied.livejournal.com/80516.html
Here’s the conundrum: to load slides into BlackBoard Collaborate (the Open Universiteit’s online teaching environment), I need Apache OpenOffice (AOO). To collaborate with people who work in MS Office (most of my colleages, most of the students), Apache OpenOffice is not good enough. Libreoffice (LO) is.
So I need the two side-by-side on Ubuntu. Which isn’t easy.
If you install AOO before removing LO, then the install isn’t complete. Even though you can use AOO, Collaborate cannot. So purge your LibreOffice :s
DO NOT INSTALL LibreOffice FROM THE OFFICIAL REPOSITORIES!
It fails and leaves your package database in an inconsistent state. I had to manually solve the problem by using
The convenient command ended up being:
dpkg -l | grep libreoffice | cut -f 3 -d ' ' | xargs sudo dpkg --purge
That wasn’t quite enough to fix the database — there was a remnant of another package in the way. Removing that one (dpkg --purge python3-uno) addressed that, and then apt-get was happy with me again.
So what to do? Here’s how: download the latest LibreOffice, and install LO from the downloaded DEB files (tar -zxvf $downloadedfile; cd $LOdir/DEBS; sudo dpkg -i *deb). That works, and you now have the two side by side :)
In a nutshell: if you get an error “the <ppt> file type is not supported“, download the Visual Basic 5 Runtime from Microsoft and install it.
This solved the problem for a colleague of mine in windows.
There’s an interesting thing happening with Bluetooth and Ubuntu 14.04. If you check dmesg, you’ll see something like:
.... [ 464.115830] toshiba_bluetooth: Re-enabling Toshiba Bluetooth [ 464.155555] usb 1-1.2: USB disconnect, device number 90 [ 464.655517] usb 1-1.2: new full-speed USB device number 91 using ehci-pci [ 464.848663] usb 1-1.2: New USB device found, idVendor=8087, idProduct=07da [ 464.848675] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 ...
This is repeated every 5 seconds. Thankfully, people are working on a solution!
See:
The latter has a proposed patch that I’m using right now. It stops the spam in the logs, that’s clear :)
What’s not yet clear to me (see also my comment there) is whether Bluetooth keeps working well.
Woohoo! I got NTLM to work! What a relief to finally feel “connected” with the rest :)
How I finally managed: I installed NTLM APS version 0.9.9.5, and used the following config values (keeping only the pertinent values, the rest isn’t changed):
[GENERAL] PARENT_PROXY: [NTLM_AUTH] NT_HOSTNAME: NT_DOMAIN:pwo USER:hjo PASSWORD: LM_PART:1 NT_PART:1 NTLM_FLAGS: 07820000 NTLM_TO_BASIC:0
Let’s see if it still works with debugging turned off…yup! So I’ve updated that in the above description.
I’ve now added a tiny PAC file, proxy-for-local-domain.js:
function FindProxyForURL(url, host) { host = host.toLowerCase(); // Route all OU traffic through local NTLM authentication- // handling proxy if (dnsDomainIs(host, ".ou.nl")) { return "PROXY 127.0.0.1:5865"; // (IP:port) } // Anything else: just direct return "DIRECT"; }
and then configured Firefox to use an automatic proxy configuration url of file://.../proxy-for-local-domain.js. Tested and it works! woohoo!
From the CNTLM man page:
But please note that NTLM WWW auth (that is auth to HTTP servers), when it is running without any parent proxy as a standalone proxy server in itself, won’t probably be implemented ever. Even though the tasks share common NTLM authentication, they are different things. Also, I’ve never seen any access-protected HTTP server requiring solely NTLM without any alternative. Such a narrow-spectrum tool can be written in Perl in a few minutes. I strive to keep the code of cntlm simple and efficient.
“Never seen that”? Well, allow me to introduce to you: The Open Universiteit :s.
And yes, me and perl won’t see eye to eye in “a few minutes”.
Thanks to some helpful tips from Wichard, I’ve cleaned up my Win8 installation. Funny thing: I’ve hardly used it (time I spent actively using it is measured in minutes, not in hours), yet Windows had managed to accumulate a lot of garbage. Probably most is due to upgrading from 8.0 to 8.1, but still…
I went from roughly 14 GB free space to roughly 27.5GB free space.
Keep in mind that I’ve mostly run windows to install updates… :s
Seriously, MS, my disk isn’t so big and I’m dual-booting. Could you kindly stop gorging on the disk space buffet?
PS: Two more things to try:
Edit: I’ve also cleaned up the Ubuntu partition a bit: got rid of all photos from my phone (gain: 7 GB) and everything in the Videos folder (gain: 3 GB). Then I cleaned up old kernels following this advice, in a nutshell:
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get purge
Gain: 3 GB.
I now have:
– 14 GB of free space in /home,
– 11 GB in /,
– 27 GB on the Windows partition.
So provisional plan:
As Wichard pointed out, I do have a slot for SD cards, so I might also use that for movies/photos/whatever. To ponder.
With some help of the OU IT staff, I got one step closer to two things!
This was my goof-up. The cntlm config file was only readable by root. Le doh!
So:
Username hjo
Domain www.intranet.ou.nl# List of parent proxies to use. More proxies can be defined
# one per line in format: Proxy 145.20.126.12:8080
#Proxy 10.0.0.42:8080# List addresses you do not want to pass to parent proxies
# * and ? wildcards can be used
#
NoProxy localhost, 127.0.0.*, 10.*, 192.168.*# Specify the port cntlm will listen on
# You can bind cntlm to specific interface by specifying
# the appropriate IP address also in format:
# Cntlm listens on 127.0.0.1:3128 by default
#
Listen 3128
Listen 3310
$ cntlm -H
Password:
PassLM FE03A594184396D6552C4BCA4AEBFB11
PassNT F3496B77FA086840D57D7F868C476AC8
PassNTLMv2 9AB19C7C88EADFC4DE62B818E2878131 # Only for user ‘hjo’, domain ‘www.intranet.ou.nl’
That’s where I’m at now. It still doesn’t work, but we jumped through another hoop! :)
I followed now the Mac instructions again:
This actually works!
PS: I was running this while using the Java Juniper client, so I was on the VPN.