Archives For Howtos

How to Install MyPaint in Ubuntu 18.10 Cosmic

Last updated: January 29, 2019

Due to conflict between their dependencies, digital painter MyPaint can’t be installed if GIMP is already exist in Ubuntu 18.10.

In Ubuntu 18.10 universe repository, the GIMP package requires libmypaint-common library for mypaint brush, that conflicts with mypaint-data package required by MyPaint digital painting software.

For those who need both GIMP and MyPaint, install GIMP from otto06217’s PPA will solve the dependency conflict.

1. Open terminal (Ctrl+Alt+T) and run command to add the PPA:

sudo add-apt-repository ppa:otto-kesselgulasch/gimp

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

2. Then either upgrade GIMP via Software Updater:

Or run command in terminal to install GIMP from the PPA:

sudo apt install gimp libmypaint

3. Finally install MyPaint via command:

sudo apt install mypaint mypaint-data

That’s it. Enjoy!

CopyQ clipboard manager 3.7.0 was released a few hours ago with enhancements and many bug-fixes. Here’s how to install it in Ubuntu 18.04, Ubuntu 16.04, Ubuntu 18.10.

CopyQ 3.7.0 release highlights:

  • New option to show notes beside item content
  • Removed option to show icon instead of notes
  • Only plain text is Copied/Pasted from menu if Shift key is pressed
  • Customizable shortcut for Item context menu
  • Remove unmaintained Data plugin (can be replaced with a script)
  • Allow to set icon to tab groups in tree view
  • Allow export even if a tab group or an unloaded tab is selected
  • Automatic commands are no longer run in clipboard monitor context
  • Omit aborting monitor by calling abort() from automatic commands
  • Omit aborting automatic commands by changing configuration
  • Updated icons (Font Awesome 5.4.2)
  • Various bug-fixes
  • X11: Faster and safer clipboard checking and synchronization
  • X11: Prioritize checking clipboard before selection

Install Copyq 3.7.0 in Ubuntu:

The official PPA repository has made the latest packages for all current Ubuntu releases and their derivatives.

1. To add the PPA, open terminal (Ctrl+Alt+T) from application launcher and run command:

sudo add-apt-repository ppa:hluk/copyq

Input your password (no asterisks feedback while typing) when it prompts and hit Enter to continue.

2. After added the PPA repository, install CopyQ either via Synaptic package manager or by running commands in terminal:

sudo apt-get update

sudo apt-get install copyq

Once installed, start the clipboard manager from application launcher and you’ll see the icon in system tray area.

Uninstall:

To remove the software, either use Synaptic package manager or run command:

sudo apt-get remove --autoremove copyq

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

How to Install Cinelerra CV, GG in Ubuntu 18.04

Last updated: November 3, 2018

Cinelerra is one of the best video editing software for Linux desktop. This tutorial shows you how to install Cinelerra-CV and Cinelerra-GG in Ubuntu 18.04.

Cinelerra has three branches, Official HV, CV from community, and GG which is CV + ‘Good Guy’ patches etc. See what’s difference between Cinelerra branches.

Install Cinelerra GG in Ubuntu 18.04:

Cinelerra GG has an official apt repository, though it does not work properly in my case.

You can grab the .deb package directly from the repository page:

Then install the package via Gdebi package installer (install Gdebi from Ubuntu Software)

(Optional) To remove the package, run command:

sudo apt-get remove --autoremove cin

Install Cinelerra CV in Ubuntu 18.04

For all current Ubuntu releases, there’s an official PPA for the latest CV package.

1. Open terminal (Ctrl+Alt+T) and run command to add the PPA:

sudo add-apt-repository ppa:cinelerra-ppa/ppa

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

2. Then install the video editor via command:

sudo apt-get install cinelerra-cv

(Optional) To remove the package, run command:

sudo apt-get remove --autoremove cinelerra-cv

And go to Software & Updates -> Other Software tab to remove the PPA.

For Ubuntu 18.10, the current Slack desktop 3.3.3 does not launch due to outdated libnode.so library. It outputs Segmentation fault (core dumped) when trying to launch from terminal.

Before the software developer team rebuild or update Slack for Linux, here’s a workaround to make Slack work in Ubuntu 18.10.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or from application launcher. When it opens, run command:

sudo updatedb && locate libnode

The command lists all available libnode.so library in your system.

2. In my case (see the previous picture), I have /usr/share/atom-beta/libnode.so other than the one shipped by Slack.

Run command to make a backup of libnode.so privided by Slack:

sudo mv /usr/lib/slack/libnode.so /usr/lib/slack/libnode.so.old

Then replace the library with another one:

sudo ln -s /usr/share/atom-beta/libnode.so /usr/lib/slack/libnode.so

NOTE IN THE LAST COMMAND replace /usr/share/atom-beta/libnode.so depends on the outputs in step 1.

That’s it. Enjoy!

via: stackoverflow.com

Other than universal Linux Flatpak package, the latest Pithos Pandora Client 1.4.1 now is available as native .deb package via PPA repository for Ubuntu 18.04 LTS.

Pithos is a native Pandora Radio client for Linux, which is much more lightweight than the Pandora.com web client, and integrates with desktop features such as media keys, notifications, and the sound menu.

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

sudo add-apt-repository ppa:jonathonf/pithos

Type your user password when it prompts and hit Enter to continue.

2. Then install Pithos 1.4.1 in Ubuntu 18.04 via command:

sudo apt install pithos

For those don’t want to add the PPA, grab the .deb package from PPA package page.

Uninstall:

To remove the software, simply run command in terminal:

sudo apt remove --autoremove pithos

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

Speed Dreams, open source motorsport simulation and racing game, now can be installed in Ubuntu 18.04, Ubuntu 18.10, and also Ubuntu 16.04 easily via Flatpak package.

Speed Dreams is a fork of the open racing car simulator Torcs, aiming to implement exciting new features, cars, tracks and AI opponents to make a more enjoyable game for the player, as well as constantly improving visual and physics realism.

The official Speed Dreams PPA was abandoned for years. Thanks to Flatpak (containerized software package), now you can install the game in Ubuntu via following steps.

1. Open terminal (Ctrl+Alt+T), run command to install Flatpak framework if not exist (For Ubuntu 16.04, add the PPA first):

sudo apt-get install flatpak

2. Then add the flathub repository:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

3. Finally install Speed Dreams:

flatpak install flathub org.speed_dreams.SpeedDreams

Once successfully installed, open the game from application launcher and enjoy!

Uninstall:

To remove the Flatpak package, simply run command in terminal:

flatpak uninstall org.speed_dreams.SpeedDreams

PPSSPP Sony PSP emulator 1.7 was released a few days ago with a large number of compatibility and bugfixes. Here’s how to install it in Ubuntu 18.04, Ubuntu 18.10, Ubuntu 16.04, and Ubuntu 14.04.

PPSSPP 1.7 release highlights:

  • Fix for insta-crash on Galaxy Note 9, some Xiaomi devices, and the new nVidia Shield
  • Vertex range culling on most platforms, fixes DTM: Race Driver and similar
  • Major speed boost in some Gundam and Earth Defense Force games
  • Fix for issues with post processing shaders in GL 3+
  • Fixes to sound output switching on Windows (WASAPI)
  • Detects DirectInput devices when running
  • Simple Discord integration
  • New debugging APIs
  • Task switching made a lot more robust (fixes GPD XD problems)
  • Texture decoding optimizations
  • Tons and tons of miscellaneous bugfixes and compatibility fixes

How to Install PPSSPP 1.7 in Ubuntu:

Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from software launcher. When it opens, do following steps one by one to install PPSSPP in all current Ubuntu releases.

1. Copy and paste the command and hit run to add the PPA:

sudo add-apt-repository ppa:ppsspp/stable

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

2. Then refresh system package cache and install the latest PPSSPP via commands:

sudo apt-get update

sudo apt-get install ppsspp

Replace ppsspp with ppsspp-sdl in the code for the SDL version.

Uninstall:

To remove the PPA, either go to Software & Updates -> Other Software or run command:

sudo add-apt-repository --remove ppa:ppsspp/stable

To remove PPSSPP, either use your system package manager or run command:

sudo apt-get remove --autoremove ppsspp ppsspp-sdl ppsspp-common

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.

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!