Archives For November 30, 1999

For those looking for Canon IJ or ScanGear MP drivers, there are now .deb packages for Ubuntu 18.04, Ubuntu 18.10, and also Ubuntu 16.04 via PPA.

Thierry Ordissimo made the official drivers of Canon printers and multifunction devices, included versions 2.20 and newer, into PPA. There’s also sane backend for some scanners.

Supported devices in the repository:

  • bjf900, bjf9000
  • bjs300, bjs500
  • e400, e500, e510, e560, e600, e610
  • i250, i255
  • ip90, ip100, ip1800, ip1900, ip2200, ip2500, ip2600, ip2700, ip2800, ip3300, ip3500, ip3600, ip4200, ip4300, ip4500, ip4600, ip4700, ip4800, ip4900, ip6600d, ip7200, ip7500, ip8700
  • ix6500, ix6700, ix6800
  • mg2100, mg2200, mg2400, mg2500, mg3100, mg3200, mg3500, mg4100, mg4200, mg5100, mg5200, mg5300, mg5400, mg5500, mg6100, mg6200, mg6300, mg6400, mg6500, mg7100, mg8100, mg8200.
  • mp140, mp160, mp190, mp210, mp230, mp240, mp250, mp270, mp280, mp490, mp495, mp500, mp510, mp520, mp540, mp550, mp560, mp600, mp610, mp630, mp640
  • mx320, mx330, mx340, mx350, mx360, mx370, mx390, mx410, mx420, mx430, mx450, mx470, mx510, mx520, mx530, mx710, mx720, mx860, mx870, mx880, mx890, mx920.
  • p200
  • pixmaip1000, pixmaip1500
  • pixus550i, pixus560i, pixus850i, pixus860i, pixus950i, pixus990i
  • pixusip3100, pixusip4100, pixusip8600

1. To add the PPA repository:

Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from software launcher. When it opens, run command:

sudo add-apt-repository ppa:thierry-f/fork-michael-gruz

Type your user password (no visual feedback) when it prompts and hit Enter to continue.

2. Install the setup utility, later can be launched from application menu.

For Ubuntu 16.04, run sudo apt update to refresh system cache first.

sudo apt install cnijfilter2 scangearmp2 cndrvcups-utility

3. Depends on your device, search for cnijfilter (for printing) or scangearmp (for scanning) in Synaptic package manager (install it via Ubuntu Software).

And finally select install the driver that is match for your device. And it’s OK to install i386 only package on 64-bit Ubuntu.

Uninstall:

To remove the driver packages, run command:

sudo apt remove --autoremove cnijfilter2 scangearmp2 cndrvcups-utility cnijfilter-* scangearmp-*

To remove the PPA repository, go to Software & Updates -> Other Software.

P7Zip Desktop, graphical frontend for p7zip file archiver, available to install via Snap package in Ubuntu 16.04, Ubuntu 18.04, and higher.

7-zip is a file archiver with the highest compression ratio. And P7zip is a port of the command line version of 7zip.

P7Zip-Desktop is a soft-fork of p7zip that provides graphical user interface, though the UI looks old.

Install P7Zip Desktop in Ubuntu:

P7Zip Desktop is available as Snap, containerised software package, so it can be easily installed from Ubuntu Software:

You can also run command in terminal to install it:

snap install p7zip-desktop

To access outside user home directory, run snap install p7zip-desktop --classic instead.

Once installed, open the file archiver from application menu and enjoy!

In addition for Ubuntu 16.04, install snapd daemon first if previous steps do not work:

sudo apt install snapd snapd-xdg-open

This simply tutorial shows how to add a ‘Show Desktop‘ icon into the left dock panel in Ubuntu 21.10, Ubuntu 20.04, or Ubuntu 18.04 with default GNOME desktop.

The ‘Show Desktop‘ button was dropped since Ubuntu switched to Gnome 3 Desktop. For those using desktop app shortcuts, it’s useful to have a button to toggle display blank desktop quickly. And to add it back, you can manually create shortcut icon to do the trick and add it to panel (dock).

As you may know, the keyboard shortcuts Ctrl+Alt+d or Super+d do the function hide or show all opened app windows. And following steps will create a ‘show desktop’ shortcut icon simulates the keyboard press (Super+d) via the xdotool tool.

NOTE that following steps don’t work on Wayland session, since xdotool simulates X11 keyboard/mouse input events.

1. Install xdotool:

Xdotool is a command-line X11 automation tool, that allows to simulate keyboard input and mouse activity, move and resize windows, etc.

To install it, open terminal either by pressing Ctrl+Alt+T key combination on keyboard, or by searching from the activities overview screen. When terminal opens, paste the command below into it and hit run:

sudo apt-get install xdotool

Type your user password (no asterisk feedback) when it prompts and answer y to confirm.

2. Create a shortcut icon for Show Desktop:

Most Linux distributions identify app shortcut icons via .desktop file under “/usr/share/applications” for global or ‘.local/share/applications’ for local user only.

To create an app shortcut in the case, run command in terminal:

gedit ~/.local/share/applications/show-desktop.desktop

This command will create and also open it via gedit text editor. When the file opens, copy and paste the lines below and save it.

[Desktop Entry]
Type=Application
Name=Show Desktop
Icon=desktop
Exec=xdotool key --clearmodifiers Super+d

3. Add show desktop to dock panel:

After created the shortcut, either press Windows (or Super) key on keyboard or click upper-left corner ‘Activities’ to bring up the overview screen.

Then search for ‘Show Desktop’ (without quotes), right-click on the result icon and select ‘Add to Favorites’.

Finally, you’ll see the ‘Show Desktop’ icon on the dock panel. As mentioned, it works only on Xorg session. For Ubuntu 21.04 and higher, you may need to choose ‘Ubuntu on Xorg‘ from the login screen via the gear button.

That’s all. Enjoy!

Vivaldi web browser 2.1 was released today with focus on Quick Commands improvements and various other changes.

Vivaldi 2.1 release highlights:

  • Enable support for AV1
  • Quick Commands improvements including:
    • Notes search
    • UI Zoom and support for command line parameters
    • Open items in a new tab via modifier keys
  • Numerous fixes, Updated translations, and Upgraded Chromium to 70.0.3538.77
  • For more, see the release note.
  • How to Install Vivaldi 2.1 in Ubuntu:

    The official Ubuntu .DEB packages are available for download at the link below:

    Download Vivaldi (DEB)

    Grab the deb matches your OS, then install it via Ubuntu Software or Gdebi package manager. Or run command in terminal:

    sudo dpkg -i ~/Downloads/vivaldi-stable_2.1*.deb; sudo apt -f install

    In addition, after installed the .deb package, you can enable Vivaldi apt repository (Softare & Updates -> Other Software) to receive future updates through Software Updater:

    Firefox 63 Released! How to Install it in Ubuntu

    Last updated: October 24, 2018

    Firefox 55

    Mozilla Firefox 63.0 was released one day ago. All current Ubuntu releases can install it through security & updates repositories.

    Firefox 63.0 release highlights:

    • Performance and visual improvements for Windows users.
    • Faster tab switching, reactivity improvements for macOS users.
    • Opt to block third-party tracking cookies or block all trackers and create exceptions for trusted sites
    • WebExtensions now run in their own process on Linux
    • Added search shortcuts for Top Sites: Amazon and Google appear as Top Sites tiles on the Firefox Home (New Tab) page.
    • The Ctrl+Tab shortcut now displays thumbnail previews of your tabs

    Upgrade to Firefox 63 in Ubuntu:

    The Ubuntu Mozilla Team has published the new Firefox packages for Ubuntu 18.10, Ubuntu 18.04, Ubuntu 16.04, Ubuntu 14.04, and their derivatives.

    Simply open Software Updater (Update Manager), and install the updates after checking for updates:

    If you don’t see the Firefox updates, go to Software & Updates -> Update and make sure security & updates repositories are enabled.

    Linux Kernel

    Linux Kernel 4.19 LTS (Long Term Support) was released yesterday. Instead of Linus, Greg KH announced the new 4.19 release and wrote lots of words:

    While it was not the largest kernel release every by number of commits, it was larger than the last 3 releases, which is a non-trivial thing to do. After the original -rc1 bumps, things settled down on the code side and it looks like stuff came nicely together to make a solid kernel for everyone to use for a while. And given that this is going to be one of the “Long Term” kernels I end up maintaining for a few years, that’s good news for everyone.

    A small trickle of good bugfixes came in this week, showing that waiting an extra week was a wise choice. However odds are that linux-next is just bursting so the next -rc1 merge window is going to be bigger than “normal”, if there is such a thing as “normal” for our rate of development.

    And speaking of development, there’s that other thing that happened this release cycle, that ended up making it such that I’m the one writing this instead of Linus. Allow me the guilty pleasure of taking a few minutes to talk about that….

    What’s New in Kernel 4.19 (via omgubuntu.co.uk):

    • An alternate mode driver for USB Type-C/DisplayPort Type-C support
    • Better support for Intel’s Low Power Subsystem (LPSS)
    • Support for Qualcomm Adreno 600 series hardware
    • Initial support for Intel Icelake graphics
    • Armada atomic mode-setting
    • Ongoing DRM improvements
    • x86 KVM improvements
    • In-kernel GPS subsystem
    • General touchscreen improvements
    • Initial support for the 802.11ax WLAN
    • Various Filesystem improvements
    • Obligatory Linux power management tweaks
    • Continued Y2038 prep

    How to Install Linux Kernel 4.19 in Ubuntu:

    There are a few third-party tools, e.g., UKTools and Ukuu, make it easy to install the latest Kernel in Ubuntu.

    You can also manually download the Kernel 4.19 Ubuntu binary packages at:

    Download Kernel 4.19

    Depends on your OS type, download and install the packages in turns:

    1. linux-headers-4.19.0-xxxxxx_all.deb
    2. linux-headers-4.19.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
    3. linux-modules-4.19.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
    4. linux-image-xxx-4.19.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

    Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

    Also you can download and install the kernel binaries via terminal commands:

    For 64-bit OS:

    cd /tmp/
    
    wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-headers-4.19.0-041900_4.19.0-041900.201810221809_all.deb
    
    wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-headers-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb
    
    wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-image-unsigned-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb
    
    wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-modules-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb
    
    sudo dpkg -i *.deb

    for 32-bit OS:

    cd /tmp/
    
    wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-headers-4.19.0-041900_4.19.0-041900.201810221809_all.deb
    
    wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-headers-4.19.0-041900-generic_4.19.0-041900.201810221809_i386.deb
    
    wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-image-4.19.0-041900-generic_4.19.0-041900.201810221809_i386.deb
    
    wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-modules-4.19.0-041900-generic_4.19.0-041900.201810221809_i386.deb
    
    sudo dpkg -i *.deb

    Once installed, restart your computer and enjoy!

    Uninstall Linux Kernel 4.19:

    Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 4.19.0:

    sudo dpkg --purge linux-image-4.19.0-041900-generic linux-image-unsigned-4.19.0-041900-generic

    shutter screenshot

    Shutter, the popular Linux screenshot tool, is finally removed from the final release of Ubuntu 18.10 repository.

    For those who want to install Shutter in Ubuntu 18.10. This unofficial PPA offers the latest packages that include:

    • Shutter 0.94.2 released a month ago with Gyazo uploads and some bug-fixes.
    • libgoo-canvas-perl and its dependencies to make ‘Edit’ option work.
    • libgtk2-appindicator-perl for system tray app indicator working.
    UPATE: PPA abandoned since another PPA maintained the latest Shutter packages. For Ubuntu 19.04, read this howto tutorial.

    Install Shutter in Ubuntu 18.10:

    1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application menu. When it opens, run command:

    sudo add-apt-repository ppa:ubuntuhandbook1/shutter

    Type your user password (no asterisks feedback) when it prompts and hit Enter to add the PPA.

    2. Then install shutter via command:

    sudo apt install --install-recommends shutter

    --install-recommends is required for application indicator. And you can add --install-suggests flag in the command for more functions.

    Once installed, open shutter from software launcher and enjoy!

    Uninstall:

    To remove shutter screenshot tool, run command in terminal:

    sudo apt remove --autoremove shutter

    And go to Software & Updates -> Other Software to remove third-party PPA repositories.

    SMplayer

    SMPlayer media player 18.10 was released a day ago. Here’s how to install it in Ubuntu 18.10, Ubuntu 18.10, Ubuntu 16.04, and their derivatives.

    SMPlayer 18.10 optimised the internal code for YouTube, so it now supports resolutions up to 4K. In addition, support for age restricted videos has been fixed.

    SMPlayer with Mac skin

    How to Install SMPlayer 18.6 in Ubuntu:

    For all current Ubuntu releases and their derivatives, do following steps to install or upgrade SMPlayer via the PPA repository.

    1. Search for and launch “terminal” from application menu. When it opens, run command to add the PPA:

    sudo add-apt-repository ppa:rvm/smplayer

    Type your user password (no asterisks feedback while typing) when it asks and hit Enter.

    Smplayer PPA

    2. Then upgrade SMPlayer using Software Updater (or Update Manager):

    upgrade smplayer

    or run commands in terminal to install (or upgrade) the media player:

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

    Uninstall:

    To remove SMPlayer, run command in terminal:

    sudo apt-get remove --autoremove smplayer smtube smplayer-*

    And remove the PPA via “Software & Updates” utility under “Other Software” tab.

    Avidemux video editor

    The latest Avidemux video editor 2.7.1 now can be installed in Ubuntu 18.10 easily via PPA (unofficial) repository.

    The new package name has been renamed to avidemux2.7, thanks to Thanh Tung Nguyen. Unfortunately, I can’t build the VapourSynth plugin at the moment due to lack of time (I’m new to computer languages, and one small issue can take me a few hours to solve).

    1. For Ubuntu 18.04 and Ubuntu 16.04 with avidemux2.6 installed, open terminal (Ctrl+Alt+T) and remove it first via command:

    sudo apt remove --autoremove avidemux2.6-qt avidemux2.6-plugins-qt

    2. Add the PPA repository by running command in terminal:

    sudo add-apt-repository ppa:ubuntuhandbook1/avidemux

    Type user password (no asterisks feedback) when it prompts and hit Enter to continue.

    3. Finally install Avidemux 2.7.1 via command:

    sudo apt install avidemux2.7-qt5

    For Ubuntu 16.04, run sudo apt update to refresh cache first.

    Uninstall:

    To remove the software package, run command in terminal:

    sudo apt remove --autoremove avidemux2.7-qt5

    To remove the PPA, launch Software & Updates and navigate to Other Software tab.

    Ubuntu 18.04

    Ubuntu 18.10 Cosmic Cuttlefish was finally released today. Here’s how to upgrade from Ubuntu 18.04 to Ubuntu 18.10.

    Ubuntu 18.10 is a short-term release with 9 months support. It features Linux 4.18 kernel, X.Org Server 1.20.1, Mesa 18.2.2, and new default desktop theme ‘Yaru’.

    Preparation:

    Before getting started, you need to do some preparations:

    1. Backup your bookmarks, documents, and other important data.
    2. It’s recommended to remove proprietary drivers and use the open-source drivers instead.
    3. Purge or remove third-party PPA repositories (Software & Updates -> Other Software)

    To upgrade to Ubuntu 18.10:

    1. Open Software & Updates and navigate to Updates tab.

    Then select “For any version” from the drop-down menu of ‘Notify me of a new Ubuntu version’

    2. Install all available system updates by running commands in terminal (Ctrl+Alt+T):

    sudo apt-get update && sudo apt-get dist-upgrade

    Type your user password (no asterisks feedback) when it prompts and hit Enter to continue.

    3. Start Update Manager and you’ll see Ubuntu 18.10 available for upgrade (Restart first if required):

    sudo update-manager -c

    4. Click the Upgrade button and confirm in the next release note dialog:

    The upgrading process starts and it may take a few hours depends on your device and internet speed.