Archives For November 30, 1999

Stop Ubuntu from sleep

Caffeine, the screensaver and sleep inhibiting application, now is at version 2.5. It has been over 2 years since the last release.

According to the announcement, Caffeine 2.5 is now much simpler, flash video support is gone as it was too complicated to keep it working and many bugs are fixed.

See the changelog:

  • New maintainer: Reuben Thomas
  • Fix right-click on icon
  • Several new localisations.
  • Update and clean up packaging.
  • Replace autostart option with an XDG autostart .desktop file.
  • Remove specific support for Quake Live.
  • Require appindicator3; remove non-appindicator support.
  • Put requirement for notify support in package, not code.
  • Remove ability to disable icon: this should be done by the desktop environment, not the application.
  • Remove hash-bang lines from non-executable files
  • .

  • Fix race condition for notifications, patch from André Ericson
  • Fix i18n issues
  • Fix Open Build Service desktop file errors
  • Add dependencies for all required libraries
  • Fix recognition of apps which mention their name in their arguments
  • Use freedesktop ScreenSaver DBus API instead of per-desktop APIs.
  • Put description string on one line in setup.py to placate rpmbuild
  • Remove non-working Flash support.
  • Remove custom logging module.
  • Remove –preferences command-line option, no longer needed.
  • Remove –time command-line option: we’re not supporting timed disabling any more.
  • Make Ctrl+C work.

Install Caffeine 2.5

The developer only built this release into PPA for Ubuntu 13.10 Saucy. You can easily install it by running below commands one by one in terminal (Ctrl+Alt+T):

sudo add-apt-repository -y ppa:caffeine-developers/ppa

sudo apt-get update

sudo apt-get install caffeine

For Ubuntu 13.04, Ubuntu 12.04 (not tested) and their derivatives download the .DEB from this page and install it via:

sudo dpkg -i ~/Downloads/caffeine_2.5_all.deb; sudo apt-get -f install

 

Grub Customizer, graphical grub2 (Ubuntu’s default bootloader) settings manager now is at version 4.0. It has been a long time since the last version was released in September 2012.

Grub Customizer 4.0 gets a better user interface and adds a Revert button to undo the changes. See the changelog:

  • hiding placeholders by default (too confusing for most people, can be re-enabled at “view” -> “show placeholders”)
  • view options
  • improved trash view (sidebar instead of separate window)
  • GTKmm 3.0 (a backport to gtkmm-2.4 exists for older distributions)
  • Theming (of grub)
  • improved appearance settings
  • script replacement detection (no more duplicates when grub scripts are replaced by an update of grub)
  • backup creation on first run (allows simple restoring of the default config)
  • more help texts
  • fallback on systems without grub-mkdevicemap/device.map (better compatibility)

Screenshots:

How to Install Grub Customizer:

The PPA is ready for Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10, Linux Mint, Pear OS, Elementary OS 8 and other derivatives.

To get started installing the tool, press Ctrl+Alt+T on keyboard to open terminal. When it opens, add the PPA via:

sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer

Update package lists:

sudo apt-get update

Install the tool:

sudo apt-get install grub-customizer

RedNotebook, a modern journal app with calendar, templates and keyword searching, is now at version 1.8.0. See what’s new in this release:

  • Add font selection for edit mode (Philip Akesson).
  • Allow changing preview and cloud font in preferences.
  • Only allow opening RedNotebook minimized on Windows since other systems may lack a system tray.
  • Fix: Display tags starting with “SEP” in preview.
  • Write scripts to cross-compile RedNotebook Windows exe and installer on Linux.

The PPA has updated the packages for Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04, Ubuntu 10.04, Linux Mint and their derivatives.

To get started installing or upgrading this app, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to add the PPA:

sudo add-apt-repository -y ppa:rednotebook/stable

Then update package lists:

sudo apt-get update

Finally install the app:

sudo apt-get install rednotebook

Once installed, you can find it from Menu or Unity Dash:

rednotebook main picture, from its website

This tutorial shows how to install the latest Gnome-Pie, a circular application launcher for Ubuntu 14.04, Ubuntu 13.10 via PPA repository.

With Gnome-Pie you can quickly access your favorite apps, bookmarks, main menu, window controls via shortcut keys:

 

Gnome-Pie is available in Ubuntu Software Center, but the default version is a little old. To install the latest, press Ctrl+Alt+T on keyboard to open terminal. When it opens:

1. Copy and paste command below and run to add the PPA. Enter user password when prompt:

sudo add-apt-repository ppa:simonschneegans/testing

2. Update package lists:

sudo apt-get update

3. Finally install Gnome-Pie from Ubuntu Software Center or via the command:

sudo apt-get install gnome-pie

Once installed, open it from Unity Dash or Menu. You’ll see the indicator applet on panel, click and go to the Preferences window for editing shortcuts and menu items.

 

There’s a lightweight tool in Ubuntu repository called gLabels, which makes it easy to create labels, barcodes, business cards and media covers.

gLabels is simple and easy to use. On its main window click on “Create a New file” button, and then you can choose to create labels, business cards, CD/DVD covers, Photo Products, or even user defined items under Category drop-box.

Choose Brand and Paper size and get started designing your label or card. In next window, you can easily add text, rectangle, ellipse, pictures and edit the size, position, shadow, set as font or background, etc.

Finally save or print your job and done!

To install gLabels, just open up Ubuntu Software Center, search for and click install it.

For other Linux, you may download the source from www.glabels.org/download/

Want to create movies / slideshows out of your photos? Well, it’s quite easy in Ubuntu with PhotoFilmStrip. Just select your photos, customize the motion path and render the video. There are several output possibilities for VCD, SVCD, DVD up to FULL-HD.

Install PhotoFilmStrip

Open Ubuntu Software Center, search for and install photofilmstrip package. You can also download and install the latest version (.deb package) from this page

Once installed, open the app from Menu or Unity Dash. Click to create a new project and choose your photos:

Finally click on the tick button to start rendering. Once done, you can open the movie with your video player.

Sigil is a multi-platform EPUB ebook. It supports both WYSIWYG and code-based editing of EPUB files, as well as the import of HTML and plain text files.

Since version 0.7.4, Sigil requires higher version of Qt5 libraries which is not available in Ubuntu’s universe repository. This tutorial will show you how to install the latest Qt5 and build sigil from source code. Works on Ubuntu 13.10, Ubuntu 14.04, Ubuntu 13.04, Ubuntu 12.04.

1. Download & Install Qt5

The qt-project website provides the latest installer for Linux. So it’s easy to install it by following the steps below:

1. Go to qt-project.org/downloads, download Qt (so far it’s 5.2.0) for Linux.

To check out OS type 32 bit or 64 bit, go to System Settings -> Details -> Overview

2. Right-click on the downloaded installer (.run file), select Properties and navigate to Permissions tab. Check the box between “Execute” and “Allow executing file as problem”.

3. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to start the installer (assume that you save the downloaded file in the default USER Downloads folder):

cd ~/Downloads/ && sudo ./qt-linux-opensource-*-offline.run

It brings up the install wizard. Just follow it to install Qt5 into the default /opt/ directory.

2. Build Sigil against Qt5

To get started, press Ctrl+Alt+T on keyboard to open terminal and follow the below steps:

1. Run command below and type in your user password when prompt to get the super user privilege:

sudo -i

Now your terminal should starts like this:

root@YOUR_HOST_NAME:~#

2. Navigate to /opt/ directory:

cd /opt/

3. Create folders for Sigil source and build:

mkdir -p /opt/sigil/src /opt/sigil/build

4. Navigate to Sigil source folder and download 0.7.4 source code via wget:

cd /opt/sigil/src && wget https://sigil.googlecode.com/files/Sigil-0.7.4-Code.zip

5. Unzip the package:

unzip Sigil-0.7.4-Code.zip

6. Build the editor:

For 32 bit system:

cd /opt/sigil/build && cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=/opt/Qt5.2.0/5.2.0/gcc/lib/cmake -DCMAKE_BUILD_TYPE=Release -DFORCE_BUNDLED_COPIES=1 /opt/sigil/src && sudo make install

For 64 bit system:

cd /opt/sigil/build && cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=/opt/Qt5.2.0/5.2.0/gcc_64/lib/cmake -DCMAKE_BUILD_TYPE=Release -DFORCE_BUNDLED_COPIES=1 /opt/sigil/src && sudo make install

NOTE: you need to change 5.2.0 to the Qt version you installed. This command will take a few minutes building packages.

7. Now create a script to run Sigil:

echo "LD_LIBRARY_PATH=/opt/Qt5.2.0/5.2.0/gcc_64/lib /usr/local/bin/sigil" > /opt/sigil/sigil.sh

NOTE: you need to change 5.2.0 to the Qt version you installed. And remove _64 for 32 bit system.

8. Finally, you can start Sigil via this command:

/opt/sigil/sigil.sh

3. Create a Launcher for Sigil

Run exit in previous terminal or open another one, then install required package:

sudo apt-get install gnome-panel --no-install-recommends

Start the “Create Launcher” window:

sudo gnome-desktop-item-edit /usr/share/applications/ --create-new

Type in name Sigil and command /opt/sigil/sigil.sh and click OK.

Now you’re able to start Sigil from Menu or Unity Dash.

The fifth maintenance release of the Linux kernel 3.12 is available now. Linux Kernel 3.12.5 contains various updated drivers (networking, SCSI, USB, Xen), a couple of sound updates, and several ARM improvements. See the changelog for details.

All users of the 3.12 kernel series are urged to upgrade as soon as possible. Here’s how to do it in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Linux Mint and their derivatives.

Install / Upgrade Linux Kernel 3.12.5:

1. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run commands below to download DEBs from Ubuntu Kernel page.

For 32 bit system:

cd ~/Downloads/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.5-trusty/linux-headers-3.12.5-031205-generic_3.12.5-031205.201312120254_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.5-trusty/linux-headers-3.12.5-031205_3.12.5-031205.201312120254_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.5-trusty/linux-image-3.12.5-031205-generic_3.12.5-031205.201312120254_i386.deb

For 64 bit system:

cd ~/Downloads/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.5-trusty/linux-headers-3.12.5-031205-generic_3.12.5-031205.201312120254_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.5-trusty/linux-headers-3.12.5-031205_3.12.5-031205.201312120254_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.5-trusty/linux-image-3.12.5-031205-generic_3.12.5-031205.201312120254_amd64.deb

2 Install this kernel:

cd ~/Downloads/ && sudo dpkg -i linux-headers-3.12.5-*.deb linux-image-3.12.5-*.deb

If you’re using an proprietary driver, you may need to rebuild or even re-install it to make it work with the new kernel. Once done, restart your computer.

If for some reason this kernel release does not work properly for you. Reboot into previous kernel (Grub -> Advance -> select previous kernel) and run command below to remove Linux Kernel 3.12.5:

sudo apt-get remove linux-headers-3.12.5-* linux-image-3.12.5-*

Linux Kernel 3.10 LTS now is at version 3.10.24, which brings various fixes (ARM, USB, SCSI, ALSA) and updated drivers, see the changelog for details.

Greg Kroah-Hartman announced this release a few minutes ago. All users of Kernel 3.10 series are urged to upgrade as soon as possible.

Install / Upgrade Kernel 3.10.24:

1. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run commands below one by one to download the DEBs. (You can also download them at this page):

For 32 bit system:

cd ~/Downloads/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.24-saucy/linux-headers-3.10.24-031024-generic_3.10.24-031024.201312120235_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.24-saucy/linux-headers-3.10.24-031024_3.10.24-031024.201312120235_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.24-saucy/linux-image-3.10.24-031024-generic_3.10.24-031024.201312120235_i386.deb

For 64 bit system:

cd ~/Downloads/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.24-saucy/linux-headers-3.10.24-031024-generic_3.10.24-031024.201312120235_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.24-saucy/linux-headers-3.10.24-031024_3.10.24-031024.201312120235_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.24-saucy/linux-image-3.10.24-031024-generic_3.10.24-031024.201312120235_amd64.deb

2. Install this kernel:

cd ~/Downloads/ && sudo dpkg -i linux-headers-3.10.24-*.deb linux-image-3.10.24-*.deb

Once done, restart your computer.

If for some reason this kernel release does not work properly for you, reboot into the previous kernel (Grub -> Advanced -> select previous kernel) and run commands to remove Linux Kernel 3.10.24:

sudo apt-get purge linux-headers-3.10.24-* linux-image-3.10.24-*

GParted partition editor 0.17.0 was released recently. Now it supports online resize and recognize Linux Swap Suspend and Software RAID partitions. Also included are bug fixes and language translation updates.

Key changes include:

  • Add support for online resizeIf you wish to build this release with online resize support then the following is required:
    • A version of libparted that includes the online resize patch. At time of writing (November 2013), this patch was only included in Debian and derived distros with parted package version 2.3-14 or higher.
    • Linux kernel version 3.6 or higher.
    • Enable with the --enable-online-resize flag. E.g., ./configure –enable-online-resize
  • Recognize Linux Swap Suspend and Software RAID partitions
  • Fix busy detection for Linux Software RAID and extended partitions
  • Fix systemctl runtime mask to prevent automounting partitions

Bug Fixes

  • Add support for online resize (#694622)
  • Fix usage of swap space is not reported (#708107)
  • Turn on resize2fs progress bar (#709276)
  • Fix systemctl runtime mask to prevent automounting partitions (#708378)
  • Stop using deprecated method free_colors() (part of #652044)
  • Stop using deprecated widget alignment enumerators (part of #652044)
  • Recognize Linux Swap Suspend and Software RAID partitions (#709640)
    • Prevent GParted starting stopped Linux Software RAID arrays
  • Fix busy detection for Linux Software RAID and extended partitions (#712633)
  • Make partition information dialog warnings selectable (#705596)
  • Change default file system to ext4 with fall back to ext3/2 (#711114)
  • Add an AppData file (#709164)
    • Thanks to Piotr Drąg for making the AppData file translatable

Install GParted 0.17.0:

This release has been made into Getdeb repository for Ubuntu 13.10, Ubuntu 12.04 and their derivatives. But I think the online resize feature is not included in this build.

To get started:

1. Enable Getdeb repository:

For Ubuntu users, download and install this deb will properly add GetDeb repository.

For Linux Mint users, go to Software Sources -> Additional repositories, check the box where it says “archive.getdeb .net …”

2. Install Gparted from Ubuntu Software Center after checking for updates. You can also run commands (Ctrl+Alt+T) below instead:

sudo apt-get update; sudo apt-get install gparted