Mar 3, 2015

Install Xfce 4.12 In Xubuntu 14.04 Or 14.10 Via PPA

The Xfce 4.12 PPA was updated with the final stable Xfce 4.12, for Xubuntu 14.04 and 14.10.

For what's new in Xfce 4.12, see THIS article.

Xfce 4.12 Xubuntu 14.04
Xfce 4.12 in Xubuntu 14.04

Xfce 4.12 Xubuntu 14.10
Xfce 4.12 in Xubuntu 14.10 (with extras: TopMenu and DockBarX)

Until yesterday, the Xfce 4.12 PPA didn't provide the final Xfce 4.12, but development builds (4.11.x) for the Xfce Panel, Settings xfwm4 and so on. Also, until a few minutes ago, there was a small issue which didn't allow updating xfce4-power-manager. That's why I thought I'd wait until everything is ready and the PPA actually provides Xfce 4.12 before posting instructions on how to install it in Xubuntu 14.10 and 14.04.

Upgrade to Xfce 4.12 in Xubuntu 14.04 or 14.10

To upgrade to Xfce 4.12 in Xubuntu 14.04 or 14.10, you can use the official Xubuntu Xfce 4.12 PPA. Unfortunately there are no stable Xfce 4.12 packages for Xubuntu 12.04, at least at the time I'm writing this article (there are just a few Xfce 4.11 packages).

To add the PPA and upgrade to Xfce 4.12 in Xubuntu 14.04 or 14.10, use the following commands:

sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update
sudo apt-get dist-upgrade

Then, log out, log back in and you should be running the latest Xfce 4.12 (stable).

Tip: to install a few extra packages like XfDashboard, xfce4-pulseaudio-plugin, thunar-dropbox-plugin, Skippy XD and more, you can use the Xubuntu Extras PPA.

How to revert the changes

If for whatever reason you want to revert the changes and downgrade to the Xfce version available in the official Xubuntu repositories, you can use PPA Purge to purge the Xfce 4.12 PPA (using PPA purge, the PPA is disabled and all the packages from that PPA are downgraded to the version available in the repositories).

To install PPA Purge and purge the Xubuntu Xfce 4.12 PPA, use the following commands:

sudo apt-get install ppa-purge
sudo ppa-purge ppa:xubuntu-dev/xfce-4.12

You may also be interested in: How To Set Up Compiz In Xubuntu 14.10, 14.04 Or 12.04

via Web Upd8 - Ubuntu / Linux blog

Mar 2, 2015

How to Remove Password from PDF Files with Google Chrome

The bank sends me monthly credit card statements as password-protected PDF files mostly because they contain personal information. I archive these PDFs into Google Drive but, because these files are protected with a password, the text isn’t searchable inside Drive. Also, each PDF file has a different password so it’s impossible to remember them and takes just too much to find these PDFs later.

pdf password

Removing Password from a PDF File

Since the Google Drive is already protected with 2 layers of security – password and 2-factor authentication – it should be OK if we remove the password protection from PDF files before uploading them to Drive.

Is there any software program available that can remove password protection from PDF files? One that doesn’t cost a dime and works on both Mac and Windows? Well the answer is yes and that too is already installed on your computer. It’s called Google Chrome.

Google Chrome has a built-in PDF reader* and a PDF writer and we can combine the two features to remove the password from any PDF document. Let’s see how:

  1. Drag any password protected PDF file into your Google Chrome browser. If you can’t find one, use this sample PDF file – the open password is “labnol” without the quotes.

  2. Google Chrome will now prompt you to enter the password of the file. Enter the password and hit Enter to open the file.

  3. Now go to the File menu in Google Chrome and choose Print (or press Ctrl+P on Windows or Cmd+P on Mac). Choose the destination printer as “Save as PDF” and click the Save button.

Google Chrome will now save the PDF to your desktop but without the password protection. If you re-open this PDF in Chrome, it would no longer require a password to open. Thank you Ivan Sunga for the tip.

Alternatively, if you have enabled Google Cloud Print, you can choose the destination as “Save to Google Drive” in the print dialog and the unprotected version of the PDF will be sent straight to your Google Drive from Chrome.

Remove PDF Password with Chrome

[*] Open the special page chrome://plugins and enable the option that says “Chrome PDF Viewer” to let Chrome natively handle PDF files.

Remove PDF Passwords without Chrome

If you are not a Google Chrome user, download this free Windows utility called BeCyPDFMetaEdit to remove passwords from PDF files.

First launch the program and it will ask your for the location of the PDF file. Before you select and open the PDF, change the mode to “Complete Rewrite,” then switch to the Security tab and set the “Security System” to “No encryption.” Click the Save button and your PDF will no longer require a password to open.

See more tools for editing PDF files.

The story, How to Remove Password from PDF Files with Google Chrome , was originally published at Digital Inspiration by Amit Agarwal on 01/03/2015 under Google Chrome, Google Drive, PDF, Software.

via Digital Inspiration Technology Blog

Feb 26, 2015

Ubuntu MATE 15.04 Vivid Vervet Beta 1 Released, Gets Official Ubuntu Flavor Status

Ubuntu MATE 15.04 Vivid Vervet Beta 1 was released today. Let's take a look at what's new since alpha 2.

Unfortunately I didn't have time to test the other flavors (and for most of them, there's not much to say anyway), so I'll only cover Ubuntu MATE for this first beta release. However, I'll add links to the other flavors' release notes (download links included), below:

You may also want to read:

I should also mention that as usual, Ubuntu (w/ Unity) doesn't take part in alpha and first beta releases.

Now back to Ubuntu MATE 15.04 Vivid Vervet beta 1. The most important news is that Ubuntu MATE is now an official member of the Ubuntu family.

The first Ubuntu MATE release was 14.10, followed by 14.04 (that's not a typo, the 14.04 release was after 14.10 because the Ubuntu MATE devs wanted to provide a LTS, since non-LTS versions are only supported for 9 months), but both versions were unofficial and used PPAs to provide the latest MATE Desktop 1.8, which is no longer the case with Ubuntu MATE 15.04 Vivid Vervet beta 1.

Since Ubuntu MATE is now an official Ubuntu flavor, all the packages it ships with are now available in the Ubuntu repositories - that include MATE Menu, MATE Tweak, its default GTK theme(s) and so on.

Speaking of MATE Tweak, the tool has received a pretty important new feature, which allows switching between different panel layouts, including: Ubuntu MATE (default), Eleven (with a top panel for the menu, systray, etc. and Plank at the bottom, as the app switcher/launcher) and more:

This also means that Plank, the default elementary OS application launcher, is now installed by default in Ubuntu MATE (but it's not used by default).

Martin Wimpress posted a video which demonstrates this new MATE Tweak feature so check it out HERE. Note that in the video there are more panel layouts than there are available in Ubuntu MATE 15.04 Vivid Vervet beta 1 by default, because it depends on the packages installed on the system and for instance, the Ubuntu Indicators that were available in previous Ubuntu MATE releases are no longer available in Ubuntu MATE 15.04 Vivid Vervet beta 2.

The reason for this is that the default Ubuntu indicators / Indicator Applet don't support GTK2 by default. For the previous Ubuntu MATE releases, the Indicator Applet was patched to support MATE and it was available in a PPA, but since Ubuntu MATE 15.04 is now an official Ubuntu flavor, it can't ship with PPAs enabled by default and thus, it can't use Ubuntu Indicators out of the box.

However, you can manually install the Ubuntu Indicator Applet along with the Sound Indicator package (patched for MATE) in Ubuntu MATE 15.04 by following THESE instructions.

Another change in the latest Ubuntu MATE 15.04 Vivid Vervet beta 1 is the addition of Folder Color by default:

Folder Color is a tool which allows changing individual folder colors (useful to organize your folders, make some important folder stand out, etc.) and besides Caja, it supports Nautilus and Nemo.

Other changes include:

  • added menu categories to System > Preferences;

  • LightDM GTK Greeter Settings was updated to version 1.10;

  • updated the default GTK theme (Yuko) with better GTK 3.14 support;

  • thanks to a GTK2 bugfix, MATE should have better multi-monitor support;

  • MATE Tweak allows switching between Marco and Compiz without requiring a logout/login;

  • added PowerPC as an officially supported architecture;

  • updated LightDM GTK Greeter to 2.0.0 which now includes a MATE logo in the session switcher;

  • merged MATE Compatibility integration into upstream Compiz .

Here are a few more Ubuntu MATE 15.04 Vivid Vervet beta 1 screenshots:

This being a beta, there are a few known issues, most importantly: MATE 1.8x is not fully compatible with glibc>=2.43.1 and while this was fixed upstream, it's not available in 15.04 yet so for now, you'll have to use a PPA to get the fixes.

Other known issues include: the notification tray crashes on first start and randomly from time to time (32bit only), live switching between Compiz and Marco is experimental and may result in missing window decorations on some old GPUs (and in VirtualBox, at least that was the case in my test) and more.

Default applications/packages

Ubuntu MATE 15.04 Vivid Vervet beta 1 ships with the following applications installed by default: Caja 1.8.2, Pluma 1.8.1, Firefox 34, Thunderbird 31.4.0, LibreOffice 4.4.0, VLC 2.2.0, Rhythmbox 3.1, Shotwell 0.20.2, Pidgin 2.10.9, HexChat 2.10.1, Transmission 2.84, Cheese 3.14.1, two terminals - MATE Terminal 1.8.1 and Tilda 1.2.2 (which can be triggered via the F12 key), and Eye of Mate 1.8.0, on top of MATE Desktop 1.8.1.

Under the hood, the first Ubuntu MATE Vivid beta ships with the Ubuntu Linux Kernel 3.18.0-13, based on the upstream 3.18.5 Linux Kernel, Xorg server and Mesa 10.5.0 RC1 (with RC2 available in the Proposed repository).

Download Ubuntu MATE 15.04 Vivid Vervet beta 1

The link above includes the official release notes so make sure you read them before testing the latest Ubuntu MATE 15.04 beta 1!

Up next: Ubuntu MATE (and flavors) 15.04 Vivid Vervet final beta, which should be released on March 26th. All the Ubuntu flavors as well as Ubuntu (w/ Unity) will take part in the final beta release.

via Web Upd8 - Ubuntu / Linux blog

Feb 25, 2015

Install Oracle Java 9 In Ubuntu, Linux Mint Or Debian Via PPA Repository [JDK9]

Because I've received quite a few requests for this, you can now install the latest Oracle Java 9 (early access release) in all supported Ubuntu / Linux Mint versions, by using the WebUpd8 Oracle Java PPA.

For now, you should continue to use Java 8 because Oracle Java 9 is available as an early access release (it should be released in 2016)! You should only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches! Also, some Java options were removed in JDK9, so you may encounter issues with various Java apps.

Reminder: the WebUpd8 Oracle Java PPA doesn't include any Oracle Java binaries because that's not allowed by the Oracle Java license, that's why the PPA provides an installer that automatically downloads the latest Oracle Java 9 (JDK9 and the Java 9 browser plugin) and sets up everything for you. Also, the Oracle Java 9 Installer is considered to be alpha quality and is offered without any guarantees, so use it at your own risk!

It's also important to mention that the Oracle Java 9 download servers are pretty slow, so even with a fast Internet connection, the download may take a while or it may fail (so you'll have try again) and there's nothing I can do about that.

If you want to install Oracle Java 8 instead (which is considered stable), see these articles: Ubuntu / Linux Mint | Debian.

Install Oracle Java 9 (JDK9) in Ubuntu, Linux Mint or Debian via PPA

To add the WebUpd8 Oracle Java PPA and install Oracle Java 9 in all supported Ubuntu / Linux Mint versions (note: ARM is not yet supported), use the following commands:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java9-installer

To install Oracle Java 9 in Debian, you can setup "add-apt-repository" as we've explained a while back and use the Ubuntu installation instructions above. You can also manually add the repository and key and install Oracle Java 9 in Debian using the following commands:

su -
echo "deb trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp:// --recv-keys EEA14886
apt-get update
apt-get install oracle-java9-installer

Tip: if you're behind a firewall / router that blocks some of the redirects required to download the Oracle Java archive, you can download the JDK tar.gz archive manually and place it under /var/cache/oracle-jdk9-installer - then, installing the "oracle-java9-installer" package will use the local archive instead of trying it to download it itself.

After installing the package, you can check the Java version by running "java -version" in a terminal, which should display an output similar to this:

andrei@andrei-desktop:~$ java -version
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b50)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b50, mixed mode)

Or, "javac -version":

andrei@andrei-desktop:~$ javac -version
javac 1.9.0-ea

And so on.

Automated installation (auto accept license)

The Oracle Java 9 Installer prompts you to accept the Oracle license before proceeding with the installation and it's only required once, so you don't have to accept the license with each update. If you want to automate the installation process, you can use the command below to automatically accept the Oracle Java 9 license:

echo oracle-java9-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections

Setting Java environment variables

To automatically set up the Java 9 environment variables, you can install the following package:

sudo apt-get install oracle-java9-set-default

If you've already installed oracle-java7-set-default or oracle-java8-set-default, they will be automatically removed when installing oracle-java9-set-default (and the environment variables will be set for Oracle Java 9 instead).

via Web Upd8 - Ubuntu / Linux blog