Archives For jimingkui

Install enlightenment e19 Ubuntu 14.04

Enlightenment 0.19.0 stable has been released recently. One of the best new features in E19 is the full wayland support.

In this quick tutorial I’ll show you how to install the Enlightenment window manager 0.19.0 (E19) in Ubuntu easily with a bash script. Tested in Ubuntu 14.04.1 64-bit.

Enlightenment E19 session in Ubuntu 14.04

Before getting started, you may take a look at what’s new in the latest E19 release:

  • greatly improved wayland support
    • E_WL_FORCE environment variable for forcing output types
  • e_uuid_store: Add infrastructure to store window/surface properties.
  • Add a tiling profile.
  • per-screen desklock logo visibility config
  • Tiling: Merge the tiling module rework..
  • check udisks1 DevicePresentationHide flag
  • ACTIVATE_EXCLUDE window active hint policy
  • show video resolution in filepreview widget
  • add fileman option to clamp video size for video previews
  • handle xrandr backlight using a single, accurate handler
  • blanking options for wakeup on events (urgent + notify)
  • packagekit module for package manager integration
  • ibar now optionaly triggers its menu on mouse in
  • selective redirection toggling
  • new focus option “raise on revert focus”
  • add PIN-style desklock for lokker module
  • make desklock hookable, break out current desklock into module, move pam stuff to separate file
  • revive personal desklock passwords
  • allow moveresize visuals to be replaced
  • allow desk flip animations to be handled completely externally
  • E16-style live pager returns!
  • comp config is no longer a module
  • E_FIRST_FRAME env variable
  • new compositor API
  • add E_MODULE_SRC_PATH for setting current module src path without needing to install modules
  • use non-recursive makefiles for entire build system
  • filemanager popups no longer span multiple monitors
  • system operations no longer dim screen until action has begun
  • window stacking and focus restore is more accurate across restarts
  • gstreamer1 is now used for media previews
  • improved multiple monitor setup reliability
  • shaped windows now render more accurately

Install Enlightenment E19 in Ubuntu 14.04:

UPDATE: The link to the script is broken. As an alternative, install E19 from PPA by running below commands one by one from PPA:

sudo add-apt-repository ppa:niko2040/e19

sudo apt-get update

sudo apt-get install enlightenment terminology

Thanks to batden, there’s now a bash script to make it easy to install / upgrade / uninstall the E19 (git version) in Ubuntu 14.04 LTS. All you need to do is download & install the script and answer on screen prompts during the installing process.

1. To download the script, right-click the link below and click “Save link as …” and save the file nineteen.sh to Downloads folder..

Right-click me and select ‘Save link as …’

You can also download the script from the ubuntuforums thread.

2. After you downloaded the script, make it executable and run it.

To do so, press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the commands below one by one:

cd ~/Downloads/ && chmod +x nineteen.sh && ./nineteen.sh

3. When the script starts, type a number to select install, update, or uninstall E19 (see above picture.) and hit Enter.

After that, it will pop up a information dialog and then ask you to insert your user password. Not that, terminal does not give visual feed back when typing a password, just type in mind and hit enter.

4. After that, the script will update & upgrade your system, download all Enlightenment packages, and finally compile them on your system. Depends on your internet connection, the process will cost a few minutes.

During this period of time, it will ask two or three questions, so don’t go too far away!

5. When everything’s done, you should see something like below.

Restart your computer and select log in with Enlightenment when you’re at Unity Greeter and enjoy!

Looking for a computer cleaning software? Well, BleachBit is the best free and open source cleaner for Linux desktop.

BleachBit was originally designed for GNU/Linux to free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn’t know was there. It’s the best Linux alternative to Windows’ CCleaner.

BleachBit is started in 2008, it’s written in Python and uses PyGTK. Since version 0.5.0, it added support for Windows XP, 7, and 8.

Features:

  • Simple operation: read the descriptions, check the boxes you want, click preview, and click delete.
  • Multi-platform: Linux and Windows
  • Free of charge
  • Free to share, learn, and modify (open source)
  • No adware, spyware, malware, or browser toolbars
  • Translated to 61 languages
  • Shred files to hide their contents and prevent data recovery
  • Shred any file (such as a spreadsheet on your desktop)
  • Overwrite free disk space to hide previously deleted files
  • Portable app for Windows: run without installation
  • Command line interface for scripting and automation
  • CleanerML allows anyone to write a new cleaner using XML
  • Automatically import and update winapp2.ini cleaner files (a separate download) giving Windows users access to 1700+ additional cleaners
  • Frequent software updates with new features

Download & Install BleachBit:

1. For Ubuntu and other Linux distributions, you can always download the latest installer from its website:

Download BleachBit for Linux

2. For Ubuntu, select download the package matches your release version. The package is a .deb file.

3. To install it, double click to open the .deb file with Ubuntu Software Center and click the install button.

Once installed, start the cleaner from Unity Dash. You can change the language from its Preferences window. Enjoy!

Applist.py is a basic python script that allows to browse all the applications available in Ubuntu Touch App Store through a web browser.

Meizu MX4, to be released few months later, will be the first mobile devices with pre-installed Ubuntu Touch OS. In addition to the default core applications, there are already quite a few third-party apps available in the App Store.

With a simple python script, desktop users can search and view all the Ubuntu Touch applications available in App Store.

Download the script from Github page:

Once you downloaded the package:

  1. Extract and go into the result folder.
  2. Right-click on the script file and select Properties, under Permissions tab, check the box between “Execute:” and “Allow executing file as program”.
  3. Finally run the script from the context menu and you’ll see the window in above picture.

If you don’t see the Run option in file’s context menu, go to File Browser Menu -> Edit -> Preferences -> Behavior tab, check the box where it says “Run executable text files when they are opened”. You might need to run command nautilus -q to restart Nautilus to take place.

That’s it. Enjoy!

via:lffl

How to Schedule Automatic Shutdown in Ubuntu 14.04

Last updated: September 14, 2014

Want to shutdown, restart, or hibernate your Ubuntu machine automatically on a schedule? Well, it can be done easily by a graphical tool called ComplexShutdown.

ComplexShutdown is a simple python script for those who hate Linux commands to schedule shutdown Ubuntu desktop with an easy to use graphical interface.

This simple GUI features:

  • Automatic Shutdown, Log off, Restart, Standby (Suspend), Hibernate, and run a custom command.
  • Supports sound and message notification, Unity integration,
  • Run action in days:hours:minutes:seconds.
  • Run action after computer idled days:hours:minutes:seconds.
  • Run action in select date and time.

Install ComplexShutdown in Ubuntu:

Download the latest .deb package from the link below. Then double click to open it with Ubuntu Software Center and click the install button.

Once installed, open it from Unity Dash and enjoy!

Tip: due to bug, options for “after idle” and “at” are grayed out. I got it fixed in my 64-bit Ubuntu 14.04 by accident. See what I did:

  1. Downloaded & installed the complexshutdown_0.5_all.deb
  2. Run the app for a while and found that “after idle” and “at” options not available.
  3. Removed complexshutdown 0.5 by running below command in terminal:
    sudo apt-get remove complexshutdown
  4. Installed the complexshutdown_0.4_amd64/i386.deb (available in above link)
  5. Run the app and found that “at” option worked, but “after idle” not.
  6. Finally I removed complexshutdown_0.4 and reinstalled the 0.5 version. Found that all works!

Cinelerra video editing and compositing software now is at version 4.6. The 64-bit binary for Ubuntu 14.04 is available from Heroine Warrior.

The Cinelerra HV version is produced by Heroine Virtual, and is free software distributed under the GNU General Public License. Cinelerra also includes a video compositing engine, allowing the user to perform advanced compositing operations such as keying and mattes.

What’s New in Cinelerra HV 4.6:

  • Split pane editing.
  • OpenGL supported on Intel HD.
  • Titler improvements.
  • Bugfixes.

Install Cinelerra 4.6 in Ubuntu 14.04 64-bit:

1. Download the 64-bit binary from the link below:

2. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the command below to open Archive Manager with root permission:

gksudo file-roller

When the Archive Manager opens:

  • Click the Open icon, navigate and select open Cinelerra package.
  • When the package opens, click the Extract button, select extract to /opt/ folder.

When done, you can start the Cinelerra video editor by running command /opt/cinelerra/cinelerra in terminal.

3. Create launcher shortcut for Cinelerra

Press Ctrl+Alt+T to open terminal. When it opens, run command to create a launcher file and open it with Gedit text editor:

gksudo gedit /usr/share/applications/cinelerra-hv.desktop

When the editor opens, paste below into the file and save it.

[Desktop Entry]
Name=Cinelerra-HV
Comment=Video Editor
Categories=Application;AudioVideo;Multimedia;VideoEditing;
Encoding=UTF-8
Exec=/opt/cinelerra/cinelerra
Icon=
Terminal=false
Type=Application

You can grab a shortcut icon from web and input the file path after Icon= in above content.

When done, you can search for and open Cinelerra video editor from Unity Dash. Enjoy!

QuiteRSS news reader now is at version 0.17.0. The new release allows to browse feeds in newspaper layout.

QuiteRSS is a free and open source RSS/Atom feed reader available for Windows, Mac OS X, and Linux. It aims to be quite fast and comfortable to user, and features embedded browser (Webkit core), Unity indicator, adblock, click to flash, and more.

According to the release note, since QuiteRSS 0.17.0 it allows to switch between the classic and newspaper layout mode through menu View -> Layout.

It has been found that the newspaper mode has an issue on news deletion. The developer commented that it will be fixed in next release.

Besides the newspaper mode, this release contains:

  • Added: Socks5 proxy support
  • Changed: News opening in external browser
  • Fixed: Sorting by feed title in news list

Install / Upgrade QuiteRSS in Ubuntu:

The latest release has been made into the official PPA repository, available for Ubuntu 14.04, Ubuntu 12.04 and derivatives.

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the commands below and run one by one will add the PPA and install the latest QuiteRSS packages:

sudo add-apt-repository ppa:quiterss/quiterss

sudo apt-get update

sudo apt-get install quiterss

After added the PPA, you can receive future updates by running regular system updates via Software Updater.

Don’t want to add PPA? Grab the .deb directly from the Launchpad Page and install it via Software Center.

The latest SMPlayer 14.9 has been released recently with Youtube playback fixed. The official PPA is ready for Ubuntu 14.10, Ubuntu 14.04, and Ubuntu 14.04.

SMPlayer is a free and open-source GUI for MPlayer based on QT. It features audio and video filters & equalizer, multiple speed playback, configurable subtitles (Internet fetch), build-in Radio, TV, and Youtube browser support.

The new version 14.9 was released recently on September 7, 2014. According to the release note, the new release brings:

  • a new fix for Youtube playback
  • improved the option to search for subtitles
  • ability to shut down the computer after playback.

Install / Upgrade SMPlayer in Ubuntu:

The new release has been made into the PPA, available for Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and derivatives.

To add the PPA, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run:

sudo add-apt-repository ppa:rvm/smplayer

After that, update the system package lists and install the player:

sudo apt-get update; sudo apt-get install smplayer smtube smplayer-themes smplayer-skins

That’s it. Enjoy!

Faenza is a legendary icon pack for Gnome provides monochromatic icons for panels, toolbars and buttons and colourful squared icons for devices, applications, folder, files and Gnome menu items. Four themes are included to fit with light or dark themes/panels.

The icon theme is created by tiheum. The sources can be downloaded from Google Code.

The creator has built the Ubuntu binaries into PPA so that we can easily install the Faenza icon theme in Ubuntu via below steps:

1. Click the link below to download the .deb package from the developer’s PPA repository:

2. Double-click the package to open with Ubuntu Software Center and click the install button:

3. After installed the theme, open Unity Tweak Tool (install it from Ubuntu Software Center) and navigate to Appearance -> Icons.

You’ll see the Faenza themes available in the list. Choose one to apply the icons immediately.

That’s it. Enjoy!

This simple tutorial shows Xubuntu or Xfce4 users how to get the titlebar & control buttons of maximized window on the panel using Windowck plugin.

First take a look at the result (Ubuntu 14.04 with Xfce 4.10). You’ll see the title of current Firefox tab on top panel and the window control buttons on the top-right.

To get started:

1. Install the xfce4-windowck-plugin, written by Alessio Piccoli and Cédric Leporcq.

Download the binary from the link below that matches your OS type:

  1. 64-bit system – xfce4-windowck-plugin_xxx~trusty_amd64.deb
  2. 32-bit system – xfce4-windowck-plugin_xxx~trusty_i386.deb

Then double-click the package to open with Software Center and click the install button to install it.

2. Add the ‘Window Header – Title’ and ‘Window Header – Buttons’ to panel.

Now right-click on panel and navigate to panel -> panel preferences. Add the two panel items ‘Window Header – Title’ & ‘Window Header – Buttons’ and move them to appropriate locations:

After that, maximize a window and you’ll see the window title and buttons on the panel.

3. To get better appearances, do:

  • Use Window Menu instead of Window Buttons in panel, see above picture
  • Hide the original titlebar when the window is maximized.

    To do so, press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the commands below one by one:

    sudo apt-get install maximus
    
    gconftool-2 --set /apps/maximus/no_maximize --type=bool true

    Log out and back in to get it work.

4.(Optional) Uninstall.

Just remove the two panel items from the above picture and run below command to restore maximized window decorations:

gconftool-2 --set /apps/maximus/no_maximize --type=bool false

via: xfce.org

PlayOnLinux, Wine GUI for installing Windows applications and games in Linux, has just released version 4.2.5 which added compatibility with Debian 8 & Mac OS 10.10.

PlayOnLinux is a graphical front-end for the Wine software compatibility layer which allows Linux users to install Windows-based video games, as well as many other applications such as Apple iTunes, Safari, Microsoft Office (2000 to 2010), Microsoft Internet Explorer. See a list of supported software.

The latest PlayOnLinux 4.2.5 was released with below changes:

  • Fix reading/writing values containing ‘=’ symbol in configuration files
  • Make POL_Wine_InstallFonts preserve current directory (regression since 4.2.3)
  • Disable “Install” component button until a component is selected
  • Compatibility with wxpython 3.0, Debian 8, Mac OS 10.10
  • Mention URL in POL_Download and POL_Download_Resource error messages
  • Add POL_Config_Win16 to check if the host can run win16 programs.

How to install PlayOnLinux:

For Ubuntu, you can install always install the latest PlayOnLinux via its official repository:

1. First of first install wine. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the commands below and run one by one:

sudo add-apt-repository ppa:ubuntu-wine/ppa

sudo apt-get update

sudo apt-get install wine1.7:i386

2. Then install PlayOnLinux from its repository. For Ubuntu 12.04, replace trusty with precise in the code.

wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -

sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list

sudo apt-get update

sudo apt-get install playonlinux

For Debian, Fedora and other Linux Distributions see the official download page.