Showing posts with label Xubuntu 12.04. Show all posts
Showing posts with label Xubuntu 12.04. Show all posts

Monday, May 21, 2012

Install diodon (clipboard manager) in [X]Ubuntu 12.04 (ppa)

"Diodon is a lightweight clipboard manager for Linux written in Vala which "aims to be the best integrated clipboard manager for the Gnome/GTK+ desktop". It lightweight having a small memory footprint."

Diodon features include Ubuntu indicator, clipboard sync (primary selection and Ctrl+C / Ctrl+V clipboard) and an option to set the clipboard size.

Install

Open a terminal window and run:

sudo add-apt-repository ppa:diodon-team/stable -y
sudo apt-get update && sudo apt-get install diodon -y

Just in case you're running Ubuntu (and Unity), you might also want to install the diodon-plugins package which contains the "Unity Lens" plugin that provides access to clipboard history with the unity dash:

sudo apt-get install diodon-plugins -y

Footnotes

  • Run diodon pressing Alt+F2 and type diodon before hitting return
  • Access diodon clipboard history with the shortcut Ctrl+Alt+V (it can be changed in the preferences).
  • Diodon will be added to Xfce session startup program list, however it's not enable. Just open "Session and Startup" settings and enable it (see this if you need help).

References

DIODON: A LIGHTWEIGHT CLIPBOARD MANAGER WITH UBUNTU INDICATOR APPLET SUPPORT

Friday, May 18, 2012

Install Xfce 4.10 in Xubuntu 12.04 Precise (ppa)

Xfce 4.10 has been released. Just below this paragraph are some highlights (more information is available at Xfce 4.10 tour). In the "Install" section are instructions for installing Xfce in Xubuntu 12.04 Precise Pangolin.

  • The application finder has been completely rewritten and combines the functionality of the old appfinder and xfrun4 (press Alt+F2 and start typing the name of the application you want to open).
  • The new settings manager groups configuration dialogs in categories and allows you to search for their names or descriptions.
  • The new MIME type editor does just that. It allows you to easily assign a default application to a file type, see your changes and reset them to default settings when necessary.
  • In 4.10 you can drag and drop a tarball with a downloaded theme onto the style or icon list. Xfce will attempt to extract and install the files into the ~/.themes or ~/.icons directory.
  • Xfdesktop has gained support for single-click operation, automated background image cycling and thumbnail rendering.

Install

Open a terminal window and run:

sudo add-apt-repository ppa:xubuntu-dev/xfce-4.10 -y && sudo apt-get update && sudo apt-get dist-upgrade

References

Xfce 4.10 tour
INSTALL XFCE 4.10 IN XUBUNTU 12.04 PRECISE PANGOLIN VIA PPA

Tuesday, May 15, 2012

Video Thumbnails for Nautilus in Xubuntu 12.04

To get video thumbnails for Nautilus just follow the procedure on the "Install" section below.

Install

Open a terminal window and enter the following two lines:

sudo apt-get install ffmpegthumbnailer -y
wget -q http://goo.gl/KofKV -O- | sudo tee /usr/share/thumbnailers/video.thumbnailer

References

Thumbnailing...

Wednesday, May 9, 2012

[FIX] Pastie doesn't appear on Xfce panel (indicator-plugin)

Problem: Even though pastie is running it doesn't appear on Xfce panel's indicator-plugin. Well, this happens when the icon theme being used doesn't possess a "gtk-paste" icon. And that's what happens with the default Xubuntu 12.04 icon theme (elementary-xfce-dark).

Fortunately, all we need to do is borrow a "gtk-paste" icon from the "Humanity" themes (it comes installed by default in Xubuntu 12.04), and this icon will work well in dark and light panels.

Install

Open a terminal window and run:

# Create a symbolic link to the gtk-paste icon in elementary-xfce
sudo ln -s /usr/share/icons/Humanity/actions/16/gtk-paste.svg /usr/share/icons/elementary-xfce/actions/16/gtk-paste.svg
sudo ln -s /usr/share/icons/Humanity/actions/48/gtk-paste.svg /usr/share/icons/elementary-xfce/actions/48/gtk-paste.svg
sudo ln -s /usr/share/icons/Humanity/actions/24/gtk-paste.svg /usr/share/icons/elementary-xfce/actions/24/gtk-paste.svg
sudo ln -s /usr/share/icons/Humanity/actions/22/gtk-paste.svg /usr/share/icons/elementary-xfce/actions/22/gtk-paste.svg

# Update icon cache for the elementary-xfce theme
sudo gtk-update-icon-cache -f /usr/share/icons/elementary-xfce

Note: You might have noticed I told that the default icon theme for Xubuntu 12.04 is "elementary-xfce-dark" and the above instructions are for "elementary-xfce", well the first inherits the latter, so we kill two birds with one stone.

References

Regenerating GNOME Icon Cache

Install pastie from source in [X]Ubuntu 12.04 Precise

Pastie is clipboard manager for Linux and a few posts back I talked about installing the deb package for Oneiric in Precise, however I noticed that in some cases the following error occurred:

Traceback (most recent call last):
  File "/usr/bin/pastie", line 29, in
   import pastielib.cli as cli
ImportError: No module named pastielib.cli

I find out that installing it from source would solve the problem on that cases.

Install

Open a terminal window and run:

# (Only if pastie is installed) Uninstall pastie
sudo apt-get remove pastie -y

# Install dependencies
sudo apt-get install python-gnome2 python-keybinder

# Get the sources and extract
wget http://goo.gl/Xf2A7 -O - | tar xz

# Change to pastie source directory and install pastie
cd pastie_*
sudo python setup.py install

# Clean up by remove the pastie source directory
cd .. && sudo rm -rf pastie_*/

Note: If pastie doesn't appear on Xfce panel see this.

Monday, May 7, 2012

Install latest MyPaint in [X]Ubuntu (ppa and git)

MyPaint is a fast and easy open-source graphics application for digital painters. It lets you focus on the art instead of the program. You work on your canvas with minimum distractions, bringing up the interface only when you need it.

In the screenshot is the MyPaint interface with some subwindows opened (Brush List Editor, Color Triangle and Layers). Hit tab to hide the subwindows or F11 for fullscreen mode and then it'll be only you, the brush and the canvas :p

Please visit my sketch blog (Wilson's Sketch Blog) to see what I've done with MyPaint (besides the portrait of Marion Cotillard in the screenshot).

Install

Bellow are provided instructions for installing MyPaint via ppa and git. Choose git you want the latest version of MyPaint (I recommended it), but unfortunately you won't get automatic updates, so instruction are provided also for updating.

Open a terminal window for typing the following instructions.

ppa - Xubuntu 11.10

Ubuntu Oneiric repositories have MyPaint 0.9.X, so we'll be adding MyPaint Testing ppa to get version >= 1.0:

sudo add-apt-repository ppa:achadwick/mypaint-testing -y
sudo apt-get update && sudo apt-get install mypaint
ppa - Xubuntu 12.04

The Ubuntu Precise repositories already have MyPaint >= 1.0:

sudo apt-get install mypaint
Git - Install

If you choose to pull MyPaint from git repository you'll get the most recent version, but first some dependencies must be installed:

# preparing a folder for storing the sources
cd
mkdir sources
cd sources
# installing dependencies
sudo apt-get install git-core g++ python-dev libglib2.0-dev python-numpy swig scons gettext libpng12-dev liblcms2-dev libjson0-dev
# download the last sources
git clone git://gitorious.org/mypaint/mypaint.git
# enter the directory , compile and install.
cd mypaint
sudo scons prefix=/usr/local install
Git - Update
# going to the sources folder
cd ~/sources/mypaint/
# update the sources
git pull
# recompile and install.
sudo scons prefix=/usr/local install

References

MyPaint
Kubuntu 12.04 install notes (David Revoy's Blog)
MyPaint testing PPA

Saturday, May 5, 2012

Install pastie in [X]Ubuntu 12.04 Precise (deb)

Pastie is a clipboard manager program. In Oneiric it could be installed by adding a 3rd partie ppa, however at the moment there isn't a Precise build. I tried to manually install the deb package for Oneiric on Precise and it worked.

Install

First install the python-gnome2 dependency:

sudo apt-get install python-gnome2 python-keybinder

Then navigate to http://goo.gl/UtNPI and download the deb file (something like pastie_0.6.7.5~ppam1_all.deb).

Finally install the deb file, either by opening it with "Ubuntu Software Center" or using a terminal window:

sudo dpkg -i pastie*.deb

Friday, May 4, 2012

Install OpenJDK 7 in [X]ubuntu 12.04/12.10

OpenJDK is the official Ubuntu supported solution for running and compiling Java programs. In this solution separated packages are provided for each need.

Install

Open a terminal window and run:

sudo apt-get install openjdk-7-jre # to be able to run
sudo apt-get install openjdk-7-jdk # to be able to compile
sudo apt-get install icedtea-7-plugin # to be able to run applets on browser

References

Ubuntu package information

Install Oracle Java 7 in [X]Ubuntu 12.04 Precise via PPA

Oracle Java is the alternative to OpenJDK package, but is not longer available in Ubuntu repositories (due to some change in Java License). Oracle Java remains my choice because I find it to work better with some applications (specially java web applets).

If you want to give OpenJDK a try, view here instructions to install it.

“WebUpd8” team provides a PPA with one package that automatically downloads and installs Oracle Java JDK/JRE/Plugin 7 from its official website and installs it on your computer.

Install

Open a terminal window and run:

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

References

Web Upd8

Thursday, May 3, 2012

Install HandBrake in [X]Ubuntu 12.04 (deb)

As I mentioned on the previous post, HandBrake is a GPL-licensed, multiplatform, multithreaded video transcoder, and it can be installed in Xubuntu 11.10 via ppa. However packages for Precise are yet to be released. Luckily, if you manually download the deb files you'll be able to install them correctly.

Install

First, open http://goo.gl/zIohH in your web browser and download the version you're interested in (handbrake-gtk is the version with graphical interface and handbrake-cli is the version for command line interface), also make sure you download the correct version (i386 or amd64) for your Xubuntu installation (type uname -m on terminal, if you're unsure).

Once downloaded, click the deb files to open and installed them via "Ubuntu Software Center" or open a terminal window and run:

sudo dpkg -i handbrake-*.deb

References

official HandBrake releases for Ubuntu

Wednesday, May 2, 2012

[FIX] Multimedia keys, Clementine and Xubuntu 12.04

Clementine is my preference for listening and manage my music collection, and one thing that I like about clementine is that it integrates well with my Xubuntu desktop. However the version in the precise repository (1.0.1+dfsg-1ubuntu2) doesn't work with keyboard multimedia keys.

I've tried the development version (1.0.1-362-gd34c6e6~precise) and the problem is fixed.

Install

Open a terminal window and run:

sudo add-apt-repository ppa:me-davidsansome/clementine-dev -y && sudo apt-get update && sudo apt-get install clementine -y

References

Clementine Development ppa

Tuesday, December 13, 2011

Add application to Xfce/Xubuntu session startup [Xubuntu >= 11.10]

When a user logs in, the desktop environment starts do load the necessary resources to provide its functionality. Some of this process is configurable by the user. For instance, the user can choose which applications will be run when the session is loaded.

fig.1 List of applications that will be started when the user logs in
Add Application to startup
  1. Open 'Settings Manager'
  2. Select 'Session and Startup'
  3. On the 'Application Autostart' click on the 'Add' button
  4. On the dialog that opens (fig.2) write the name of the application and the command that runs the application (description isn't mandatory).
  5. Once you click 'OK' the application will be added to the list and will automatically be started on the next session login.
fig.2 Dialog for entering the information of the startup application