Saturday, February 15, 2014

[TIP] Reload udev rules without restarting

Problem

You want to apply a new udev rule without having to restart the system.

Solution

Open a terminal window and run:

sudo udevadm control --reload-rules

References

How to reload udev rules without reboot?

Saturday, February 1, 2014

[TIP] Multi Monitor Full Screen Flash

You are extending your desktop on a second monitor and you want to play a full screen flash video, while working on the other monitor. If you use the other monitor the video will exit the full screen. Let's learn how to prevent this.

Solution

  1. First we need to install GHex and use it to open libflashplayer.so; open a terminal window and run:
  2. sudo apt-get install ghex -y && sudo updatedb && sudo ghex `locate libflashplayer.so`
    
  3. On GHex main window select Edit > Find and type _NET_ACTIVE_WINDOW. Click Find.

  4. Close the Find window and replace the N with an A:

  5. Save the file (File > Save ) and restart your browser.

NOTE: You will need to repeat this steps if flash gets updated.

References

UBUNTU MULTI-MONITOR TWEAKS (FULL SCREEN FLASH FIXES, SPAN WALLPAPER ACROSS MONITORS, MORE)

Tuesday, January 21, 2014

[HOW TO] Easily upgrade Xubuntu 12.04 kernel to 3.8

In this article we'll learn an easy way to upgrade the kernel of Xubuntu 12.04 to version 3.8.

Upgrade kernel to 3.8

Open a terminal window and run:

sudo apt-get install linux-generic-lts-raring -y

References

What is the best way to upgrade the kernel in 12.04.3?

Wednesday, January 15, 2014

[SOLVED] adb no such file

Symptom: When adb is run a "no such file" error occurs:

Note: This is also valid for aapt.

Fix

Open a terminal window and run:

sudo apt-get install libc6:i386 libstdc++6:i386 zlib1g:i386 -y

References

No such file or directory for existing executable

[HOW TO] Install Lastest Blender in Xubuntu

Blender is a free and open source 3D animation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing and motion tracking, even video editing and game creation.

In this article we'll add a PPA so that Blender gets automatically updated to the latest version.

Blender 2.69 running on Xubuntu 13.10.
Blender 2.69 running on Xubuntu 13.10.

Install

Open a terminal window and run:

sudo add-apt-repository ppa:irie/blender -y && sudo apt-get update && sudo apt-get install blender -y

If you are using NVidia graphic card with CUDA you might want to install Blender's CUDA support. This will allow you to render using the GPU instead of the CPU. Run the following command on a terminal window:

sudo apt-get install nvidia-cuda-toolkit -y

After installing the CUDA toolkit you need to enable it. Open Blender's User Preferences > System and on Compute Device, select CUDA.

Enabling CUDA on Blender
Enabling CUDA on Blender

Usage

Blender can be accessed via Applications Menu > Graphics > Blender or typing the following command: blender.

References

PPA for Blender 2.4 and 2.6

Wednesday, December 18, 2013

[HOW TO] Install Whisker Menu in Xubuntu

Whisker Menu is an alternative to the Xfce application menu. It comes with a search function, it supports browsing applications by category, you can add applications to favorites and more.

Whisker Menu running on Xubuntu 13.04

Install

If you're running Xubuntu 13.10, 13.04, 12.10 or 12.04 with Xfce 4.8, open a terminal window and run:

sudo add-apt-repository ppa:gottcode/gcppa -y && sudo apt-get update && sudo apt-get install xfce4-whiskermenu-plugin -y

If you're running Xubuntu 12.04 with Xfce 4.10, open a terminal window and run:

sudo add-apt-repository ppa:landronimirc/xfce -y && sudo apt-get update && sudo apt-get install xfce4-whiskermenu-plugin -y

Usage

Add a "Whisker Menu" item to the Xfce panel. See this to learn how to add an item to the panel.

Assign keyboard shortcut

If you would like to show the menu when pressing a key combination, add a new application shortcut with the command: xfce4-popup-whiskermenu (Settings Manager > Keyboard > Application Shortcuts).

References

WHISKER MENU UPDATE BRINGS SUPPORT FOR OPENING THE MENU USING A KEYBOARD SHORTCUT, OTHER ENHANCEMENTS [XFCE]

Sunday, December 8, 2013

[SOLVED] gTthumb Could not save the file

Symptom

After editing a image, gThumb can't save the modifications and displays this error message (it could happen to jpeg as well):

Could not save the file

Could not find a suitable module to save the image as "image/png"

Solution

Open gThumb preferences (Edit > Preferences). On the Extensions tab enable the "Save images" extension.

Enabling «Save images» extension in gThumb