Coprinus with Ubuntu 14.04
"Coprinus" is the name of a laptop computer, with a somewhat blackish screencorner, and silverish cover. somewhat similar to the Coprinus generus of mushrooms.
1.1. Hardware
HP Pavilion dv6. i7 (4 real processors, & 4 virtual). 8Gb RAM. 1Tb Hard Drive. 2GB double gaphics card (ATI & internal).
Keyboard: foreign, 104 keys.
Computer bought at "Outlet PC" http://www.outlet-pc.es . Keyboard stickers bought on ebay for 4€ approx.
1.2. OS: Dual Boot
- xUbuntu 14.04 GNU/Linux 64 bits.
- Windows 7 Home
(dual boot from grub)
Unless explicityly noted, furhter comments below follow for the Ubuntu GNU/Linux.
1.3. Ubuntu 14.04 LTS
1.3.1. Enable Ubuntu Partners
First enable "partners" repos, since we will use it later to install adobe acrobat reader and skype, at least.
1.3.2. Extra repositories
Useful extra repositories
Press enter each time when requested.
After keys are imported, you can quit from the root session with "exit":
Nowadays, you can update your sources list, and install launchpad-getkeys:
Launchpad-getkeys allows you to automatically import all the missing Launchpad GPG keys. Run the following command:
1.3.3. Install with interaction
Install programs which require interaction, like a confirmation step, a new password or user interaction of some sort.
- mysql-server, for the webserver in localhost, etc.
- phpmyadmin, to manage mysqldatabases easily through a web browser
- apachetop, for monitoring apache in real time
- ttf-mscorefonts-installer, required by other packages (PlayOnLinux, maybe?)
- acroread - Adobe Acrobat Reader (from 'Partners' repo), for the administration that require this closed source program to fill those complicated forms every now and then
- missing (April 18th 2014)
- Will be installed by hand in a later stage
1.3.4. Install the rest in one go
You can then install all the rest of the required and useful software for common tasks (including video editing, screencasting, etc). Note that the first package names until wcatalan are localization packages for our local language, and you can skip them or adapt for your language, etc.
Other useful programs installed by hand in a later stage:
- rstudio
- nxclient
- nxnode
- nxserver
- chrome
- jitsi
- gdiskdump
- phpstorm
- acroread
- canon scangear MG3200. See Canon PIXMA MG3200 Printer and Scanner
1.3.5. Enable Encrypted DVD-playback
Ensure you have installed 'libdvdread4':
Then run:
1.3.6. Other progs
Added tuxonice:
http://linuxg.net/how-to-install-tuxonice-on-ubuntu-13-04-12-10-12-04/
Other programs installed and commands run:
See also:
Cheese (webcam) works after the fix indicated in this page.
Suspending to RAM & Hibernating are disabled by default.
Improve Battery life & performance with:
http://www.noobslab.com/2013/10/enable-laptop-mode-and-other-tweaks-to.html
Optionally:
1.3.7. Re-enable hibernation from menus
First check if hibernation is compatible with your computer
You should save all of your work before hibernating the computer, just in case something goes wrong and your open applications and documents cannot be recovered when you switch on the computer again.
Run this in a console
Enter your password when prompted.
After you computer turns off, switch it back on. Did your open applications re-open?
If hibernate doesn't work, check if your swap partition is at least as large as your available RAM.
If the hibernate test works, you can continue to use the sudo pm-hibernate command when you want to hibernate.
You can also enable the hibernate option in the menus. To do that, use your favorite text editor to create
Add the following to the file and save:
Alternatively, if the previous doesn't work for some reason, you can edit this file:
Search for the sections related to "hibernate", and set ResultActive=no to ResultActive=yes
1.3.8. Add Java 6 or 7 (JRE) from Sun/Oracle
If for some reason you need Java (jre) 6 or 7 from Sun (currently Oracle), because the openjdk doesn't work for you (if you want to share your desktop with BigBlueButton, for instance, that doesn't seem to like the openjdk), you can add the proprietary java through external repositories.
For JRE 7 from Oracle, you can add the webupd8 repos
Source:
- http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
- http://www.ubuntu-guia.com/2012/04/instalar-oracle-java-7-en-ubuntu-1204.html
If you need the earlier sun JRE 6 (keep in mind that you need a version like or higher than 1.6.0_23, because there were some known security holes with earlier versions):
Source http://www.ubuntuupdates.org/ppa/flexiondotorg_java_?dist=precise
1.3.9. Change the Java used by default
If you need to change the Java used by default, between OpenJDK & Sun/Oracle JRE, you must run:
Then you can choose among the installed versions:
1.3.10. Avoid issues in Java on Chrome 35+
Version 35 of Chrome changed something related to its plugins, and therefore, Java Plugin in GNU/Linux stopped working there.
Solutions?
- Stick with Chrome 34
- You can download Chrome 34 for GNU/Linux here:
http://mirror.pcbeta.com/google/chrome/deb/pool/main/g/google-chrome-stable/
- You can download Chrome 34 for GNU/Linux here:
- Use Firefox instead.
More information:
http://code.google.com/p/chromium/issues/detail?id=375909
1.3.11. Add Acrobat Reader 9.x
By default you can get Adobe Acrobat 8.x in the repositories, as far as I see. But you can download 9.x version in English from Adobe website: http://get.adobe.com/reader/otherversions/
For instance, this version: AdbeRdr9.5.5-1_i386linux_enu.deb
For 32-bit system:
For 64-bit system:
The easier way to install Adobe Reader DEB on 64 bit Ubuntu is using Gdebi, which will automatically install all dependencies.
1.3.12. Edit PDFs
To edit pdf's easily with a GUI-based program, you have two options. See the instructions in the url's associated with each case:
- "PDF Edit" (FLOSS, but apparently undocumented for Ubuntu 14.04)
http://sharadchhetri.com/2013/12/29/install-pdfedit-for-editing-pdf-file-in-ubuntu/ - "Master pdf editor"
http://www.webupd8.org/2014/02/modify-pdf-files-in-linux-with-master.html
(http://code-industry.net/free-pdf-editor.php)
1.3.13. Add Cairo-dock
Cairo Dock can be used either with a desktop compositing manager (such as Metacity for Gnome, Compiz, or the KDE4 Window Manager) or without one. See the Ubuntu installation instructions for details. It is available from the repositories:
1.3.14. Enable Virtualization options in the BIOS (for VirtualBox)
See:
- http://h30434.www3.hp.com/t5/Other-Notebook-PC-Questions/HP-Pavilion-dv6-enabling-VT-x-in-BIOS/td-p/656627
- http://h30434.www3.hp.com/t5/Desktop-Hardware/Enable-hardware-virtualization-in-BIOS/td-p/1152355
1.3.15. Fix virtualbox 'Kernel driver not installed' error (vboxdrv setup)
Taken from http://askubuntu.com/questions/205154/virtualbox-etc-init-d-vboxdrv-setup-issue
1) If you have not yet installed DKMS run this command
If is already installed resintallation should fix the problem
2) After the (re)installation process you should see something similar to this
3) Close VirtualBox and wait for at least 10 seconds for the daemon to shutdown.
4) Open VirtualBox again and Start the machine, it should be fixed
1.3.16. Screencasts with simple-screen-recorder
Whether you’re wanting to make a video tutorial, capture an interface quirk for a bug report, or looking to show off your gaming prowess, there are a bunch of screen-recording tools available for Ubuntu.
While apps like GTK Record My Desktop and Kazam are popular they are not necessarily the best. Results can vary. Kazam in Ubuntu 14.04 is still quite buggy if you don't use the default settings for everything, even if it looks a promising application.
The Qt-based SimpleScreenRecorder isn’t as well known as those above, and while it doesn’t reinvent the wheel, or redefine usability, what it does do it does well. Very well, in fact.
For more information, see:
http://www.maartenbaert.be/simplescreenrecorder/
See also Screencasts
1.3.17. Connect remotely using X2Go server
Since Freenx doesn't seem to be easily installable in Ubuntu 14.04 servers (at least up to the time of this writing ). Therefore, we can use an open-source equivalent alternative, called x2go (x2goserver and x2goclient), which is maintained for GNU/Linux based servers, and with supported clients for GNU/Linux, Mac and Windows.
Quick howto to turn your machine into an X2Go server:
You also need to install some desktop environment which is supported by X2Go by default, and in our case, we will install one of the lightest desktops possible: LXDE (see http://wiki.x2go.org/doku.php/doc:de-compat for the full list)
Notes:
- Remember to install x2goclient in the client computer in order to connect to the server accordingly.
1.3.18. Enable rewrite rules for Apache web server
Add this section between the VirtualHost
tags the to this file /etc/apache2/sites-enabled/000-default.conf
(or equivalent for your configuration; in this case, the doc. root where tiki is installed is /var/www/
):
After the change, mine looks like this:
1.3.19. Icinga (Former Nagios): for Server Monitoring
See also:
1.3.19.1. Icinga-web
Prerequisites
- You need the following Icinga packages already installed on your system, and working
- Icinga
- Icinga IDOUtils
- Icinga IDOUtils database (which will be the backend for Icinga-Web)
Some help can be found in this howto to installing Icinga using packages: Icinga with IDOUtils.
Additional Packages
Then you can install icinga-web:
1.3.19.2. Icinga on ISPConfig powered servers
See:
- http://www.howtoforge.com/server-monitoring-with-icinga-on-ubuntu-11.10
- 1. Preliminary Note
- 2. Installing Icinga On The Icinga Host (server1)
- http://www.howtoforge.com/server-monitoring-with-icinga-on-ubuntu-11.10-p2
- 3. Configuring Icinga
- http://www.howtoforge.com/server-monitoring-with-icinga-on-ubuntu-11.10-p3
- 4. Adding A Remote Server (server2) To Icinga
1.3.20. Set up DVB-T (TDT)
We have an old usb DVB-T (TDT) device, which has this chipset: 15a4:9016 Afatech Technologies, Inc. AF9015 DVB-T USB2.0 stick
See: AF9015 DVB-T USB2.0 stick
1.3.21. Install Google Earth
See this:
http://www.webupd8.org/2014/04/install-google-earth-in-ubuntu-1404.html
Therefore, run these commands, for Ubuntu 14.04 LTS 64 bits:
1.3.22. Setup LXLE apps
Add the LXLE stable repo:
1.3.23. Vokoscreen Screencasting
To be tested in short.
See: http://lxle.net
1.3.24. Master PDF Editor
Closed source, but bvery good with no FLOSS alternative or similar level, afaik.
See:
- oldish versions in ubuntu repos:
http://www.webupd8.org/2014/02/modify-pdf-files-in-linux-with-master.html - newest versions:
http://code-industry.net/free-pdf-editor.php
And download the deb files from there for your own architechture. For coprinus, 64 bits:
Program will be available under the classic menu below "Accessories", or called through the dash with master-pdf-editor
1.3.25. Variety Wallpaper Changer
Variety can be installed on Ubuntu and its variants and derivatives from its official PPA by running these commands in a terminal:
See:
- http://peterlevi.com/variety/how-to-install/
- http://www.webupd8.org/2015/01/variety-wallpaper-changer-050-released.html
1.3.26. OBS-Studio (Open Broadcasting Software)
If you're on Ubuntu 14.04, you'll first need to install FFmpeg (15.04+: skip this step), and then you can install OBS:
See https://obsproject.com/forum/threads/ubuntu-14-04-15-04-ppa-installation-instructions.16495/
1.3.27. Further extra repositories and desktops
I added in a later stage lubuntu-desktop and mate-desktop, to see whether the computer could run even faster and display bluetooth applications that seemed to be missing in default ubuntu unity desktop, etc.
For lubuntu:
For Ubuntu-mate, how to install or uninstall, see:
http://itsfoss.com/install-mate-desktop-ubuntu-14-04/
In short, to get it installed:
And choose the new desktop at login time, etc.
hp14 | Coprinus14 | CoprinusUbuntu1404 | Coprinus | 14.04