Archives For Howtos

Krita

Krita 4.2.8 was released a few days ago as a new bug-fix release with a lot of work done on vector shapes, the transform tool and, especially, saving on Windows.

Krita 4.2.8 includes following bug-fixes and/or improvements:

  • Save the preferences when closing the preferences dialog.
  • Save the last used export settings.
  • Possible to save the “All” tag as the current tag.
  • Show the correct blending mode in the brush preset editor.
  • Remove “Show Decorations” option from the transform tool.
  • Remove the CSV export filter
  • Rewrite “auto precision” option in brush preset editor.
  • Make Separate Channels work.
  • Disable adjustmentlayer support on the raindrop filter.
  • Possible to use .kra files as file layers.
  • Fix Rec2020 display format.
  • Add hi-res input events for pan, zoom and rotate.
  • Always ask Windows to synchronize the file systems after saving a file.
  • Fix wrong aspect ratio on loading SVG files.
  • And many crashes, and other bug-fixes, improvements.

How to Install Krita 4.2.8 in Ubuntu:

The Krita Lime PPA has built the packages for Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

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

sudo add-apt-repository ppa:kritalime/ppa

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

2. Then upgrade Krita via Software Updater:

upgrade krita

or run command one by one in terminal to install or upgrade the painting software:

sudo apt update

sudo apt install krita

Uninstall:

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

To remove Krita, run command:

sudo apt remove --autoremove krita krita-*

Cawbird is a modern lightweight Twitter client for GNOME 3. It features inline image and video preview, creation of lists and favorites, filtering of tweets and full text search.

Cawbird is a fork of Corebird, which became unsupported after Twitter disabled the streaming API. Cawbird works with the new APIs and includes a few fixes and modifications that have historically been patched in to IBBoard’s custom Corebird build on his personal Open Build Service account.

Cawbird has the following limitations due to changes in the Twitter API (imposed by Twitter, not the fault of the client):

  • Cawbird will update every two minutes
  • Cawbird does not get notified of the following, which will be refreshed on restart:
    • Unfavourite
    • Follow/Unfollow
    • Block/Unblock
    • Mute/Unmute
    • DM deletion
    • Some list changes

How to Install Cawbird in Ubuntu:

The easiest way is simply search for and install cawbird from Ubuntu Software.

This is a Snap package runs in sandbox. And it’s maintained by the community.

For those prefer native .deb package, go to the developer maintained repository at the link below:

Download Cawbird

Select Ubuntu, then click ‘Grab binary packages directly‘ and download the .deb package for your system.

Finally install the .deb via Gdebi package installer (available in Ubuntu Software) and enjoy!

gnome shell

This simple tutorial is going to show how to set two different screen brightness levels for AC adapter or on battery.

So Ubuntu 18.04 (or Ubuntu 19.10) laptop with the default Gnome 3 desktop will automatically dim screen when the charger is unplugged.

1.) Open Ubuntu Software, search for and install ‘dim on battery power’ (without quote).

2.) Then launch the extension settings either in Ubuntu Software or via Gnome Tweaks > Extensions (install Gnome Tweaks via Ubuntu Software).

When it opens, change the values of screen brightness on battery or AC power.

That’s it. Enjoy!

This simple tutorial shows how to speed up the downloading process of snap application package by associating IP address with the snapcraft server in Ubuntu.

Snap is a containerized package format, that makes many great applications (e.g., Spotify, Skype, the latest Blender, and more) easy to install in Ubuntu 18.04 and higher.

However snap is LARGE in file size. Due to slow international network speed, downloading a snap in 20MB even take more than half an hour in my case.

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

dig fastly.cdn.snapcraft.io

In the terminal output, copy the IP address under ‘ANSWER SECTION’:

2.) Then run commands to edit the hosts file:

sudo gedit /etc/hosts

Type user password (no asterisk) when it prompts and hit Enter.

When the files opens in gedit text editor, paste following line:

151.101.42.217 fastly.cdn.snapcraft.io

Replace the IP address with which you got in step 1, and finally save the file.

That’s it. Enjoy!

Linux Kernel

Linux 5.4 Kernel was released today. Here’s how to install it in Ubuntu and Linux Mint.

Linus Torvalds announced the 5.4 Kernel on lkml.org:

Not a lot happened this last week, which is just how I like it. And as expected, most of the pull requests I got were for the 5.5 merge window, which I’ll obviously start working through tomorrow.

Linux 5.4 Kernel brings a lot of new hardware support,including AMD Arcturus GPU, Navi 12 and Navi 14 GPUs, AMD Dali and Renoir APU support,Intel Tiger Lake “Gen 12” graphics,Qualcomm Snapdragon 855 SoC, Intel Ice Lake Thunderbolt support. The new release also features Logitech Linux LOCKDOWN LSM, Lightspeed receiver support, Microsoft exFAT support, and a plethora of other new features and improvements.

How to Install Linux Kernel 5.4 in Ubuntu:

The mainline kernels do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use

The mainline kernel packages for Linux 5.4 are available for download at the link below:

Download Kernel 5.4

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

  1. linux-headers-5.4.0-xxxxxx_all.deb
  2. linux-headers-5.4.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  3. linux-modules-5.4.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  4. linux-image-xxx-5.4.0-xxx-generic(/lowlatency)_xxx_amd64.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.

Alternatively you can download and install the kernel binaries via terminal commands ( open terminal via Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-headers-5.4.0-050400_5.4.0-050400.201911242031_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-headers-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-modules-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

sudo dpkg -i *.deb

No 32-bit packages so far as build for 32-bit failed.

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.4:

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 5.4:

sudo dpkg --purge linux-image-unsigned-5.4.0-050400-generic