Archives For jimingkui

Ubuntu Touch Apps

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.

This quick tutorial shows you how to install UberWriter, a free word processor for markdown, via the official PPA in Ubuntu 14.04.

UberWriter is free and open source word processor, text editor for Ubuntu with markdown support. It provides a very clean interface with out of box spellcheck.

The UI now is based on GTK3 with client-side decorations support. If offers Focus, Fullscreen, Dark, and preview mode and allows to search and replace texts.

Through pandoc, it is possible to export to PDF, HTML, ODT and even more formats through the Advanced Export option.

Watch the video to see it in action:

Install UberWriter in Ubuntu:

UberWriter is available in Ubuntu Software Center, but it costs $5.

For the latest release and receiving future updates, the developer offers a launchpad PPA for Ubuntu 14.04. The PPA also provides old versions for Ubuntu 13.10, Ubuntu 12.04.

Press Ctrl+Alt+T to open the terminal. When it opens, paste the commands below and run one by one:

sudo add-apt-repository ppa:w-vollprecht/ppa

sudo apt-get update

sudo apt-get install uberwriter

Above commands will add the developer’s PPA and install UberWriter in your system for free.

Note: UberWriter uses client-side decorations. The Unity integration is not entirely done yet. (Adwaita theme looks much better and inconsolata is missing in the dependencies.)

This quick tutorial shows you how to install the latest AVR Downloader/UploaDEr 6.1 in Ubuntu 14.04 while Software Center provides an old version.

AVRDUDE, stands for AVR Downloader/UploaDEr, is software for programming Atmel AVR Microcontrollers. It provides a command-line interface for all downloading and uploading features. Supports a wide range of programming hardware, from cheap ISP plugs that connect the AVR’s ISP interface directly to a computer’s parallel port or serial port. Supports Intel Hex, Motorola S-Record, and raw binary files for input and output.

The latest version 6.1 was released with below changes:

  • Atmel EDBG protocol support added (JTAGICE3, XplainedPro, Atmel-ICE)
  • Atmel DFU, using FLIP protocol version 1 (AT90USB and ATmega*U* devices), or version 2 (Xmega devices) support.
  • Atmel-ICE (ARM/AVR), JTAG, PDI, debugWIRE, ISP modi support.
  • Fixed:
    • AVRDUDE segfaults when writing eeprom
    • Typo fix in fuses report (for 6.1-svn-20130917)
    • verify errors for object size > 16 k on x32e5 due to typo in avrdude.conf
    • Elf file support (possibly) not working on 6.0.1 windows build
    • AT Mega2560 not correctly programmed with stk500(v1) ISP (solution patch)
    • OS X: Avrdude messes with the usb stack?
    • dfu.c missing include
    • DFU FLIPv2 programming support
  • (Some) programmers can take a list of USB PIDs now.

AVRDude 6.1 is available in a third-party repository for Ubuntu 14.04 LTS. To install it, run commands below one by one in terminal:

sudo add-apt-repository ppa:pmjdebruijn/avrdude-release

sudo apt-get update

sudo apt-get install avrdude

Once installed, run man avrdude to get help or read the documents.