Archives For Howtos

Android Studio 4.0 was released a day ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.10, Ubuntu 20.04.

Android Studio 4.0 features a new Motion Editor, improved Layout Inspector, Clangd support for C++, smart editor features, enhancements to the CPU Profiler, Java 8 language library desugaring in D8 and R8, and much more other changes. See the release note for more.

How to Install Android Studio 4.0 in Ubuntu:

The containerized Snap package is available to install in Ubuntu Software for Ubuntu 18.04 and higher:

Don’t like Snap application? You can also install Android Studio 4.0 easily via Ubuntu Make.

1.) Install the latest Ubuntu Make:

  • Open terminal (Ctrl+Alt+T) and run command to add the PPA which contains the latest Ubuntu Make packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, and Ubuntu 20.04.
    sudo add-apt-repository ppa:lyzardking/ubuntu-make

  • Then install or upgrade Ubuntu Make via command:
    sudo apt update && sudo apt install ubuntu-make

  • 2.) Install Android Studio via command:

    umake android --accept-license

    It automatically downloads the software package and dependencies from Google and installs on your system for single use by default.

    3.) Once installed, launch the IDE from ‘Show Applications’ menu. Restart you machine if you don’t see the icon, or run sh ~/.local/share/umake/android/android-studio/bin/ command to launch it from terminal.


    You may remove Ubuntu Make PPA by running command:

    sudo add-apt-repository --remove ppa:lyzardking/ubuntu-make

    And remove Android Studio via command:

    umake android --remove

    Enable SSH Ubuntu 16.04

    This quick tip shows how to enable Secure Shell (SSH) service in Ubuntu 20.04 LTS, both desktop and server, to allow secure remote login and other network communications.

    Ubuntu includes OpenSSH, a suite of secure networking utilities based on the Secure Shell protocol, in its main repositories. While OpenSSH client is installed out-of-the-box, you can do following steps to install and setup OpenSSH server in Ubuntu 20.04.

    1. First open terminal and run command to install the packages:

    sudo apt install ssh

    Type user password (no asterisk feedback) for sudo prompt and hit Enter.

    2. Once installed, SSH services start in background silently. You can check its status by running command:

    systemctl status ssh.service

    You may replace status in the code with stop, reload, restart to stop, reload, or restart the service.

    3. The SSH service should be working good now for basic use! If you want to change the listening port, root login permission, or other authentications, run command to edit the configuration file:

    sudo nano /etc/ssh/sshd_config

    replace nano with gedit if you’re on Ubuntu Desktop.

    Save changes by pressing Ctrl+X, then Y, and finally hit Enter. And remember to restart the SSH service via sudo systemctl restart ssh.service command.

    Change Folder Color

    Folder Color is a file browser extension allows to change the color and add emblem for selected folder.

    Folder Color is available in Ubuntu universe repositories. However, it does not work very well in Ubuntu 20.04 with the default Yaru icon theme, since changing the color of folders will also change the icons.

    The original developer has made the Yaru theme integration with Folder Color for Ubuntu 20.04, which can be installed via this PPA repository.

    1.) Open terminal by pressing Ctrl+Alt+T on keyboard, then run command to add the PPA:

    sudo add-apt-repository ppa:costales/yaru-colors-folder-color

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

    2.) Then install the extension as well as Yaru theme integration:

    sudo apt install folder-color yaru-colors-folder-color

    3.) Finally restart Nautilus file browser via nautilus -q command. Restore previously folders’ color if changed.

    And change the colors from folders’ context menu and enjoy!

    (Optional) To remove the PPA repository, either go to Software & Updates -> Other Software or run command in terminal:

    sudo add-apt-repository --remove ppa:costales/yaru-colors-folder-color

    Small and highly customizable twin-panel Sunflower file manager released version 0.4 after many years of development.

    Sunflower 0.4 brings new interface based on GTK3. The code is ported to Python3. As a result of this rewrite performance has gone up as well.

    There are still many issues in the new release. Emblems are completely missing, drag and drop is broken and keyboard shortcuts are broken due to some upstream problems. And these will be fixed in upcoming weeks.

    How to Install Sunflower 0.4 in Ubuntu:

    The file manager offers official .deb package that works on Ubuntu 18.04, Ubuntu 19.10, and Ubuntu 20.04.

    Download Sunflower

    Grab the Ubuntu package and click install either via Software Install or Gdebi package installer.

    Once installed, search for and launch Sunflower from ‘Show Applications’ menu and enjoy!

    There are quite a few ways to transfer files over home network. One of the easiest ways is to run a single python command in terminal.

    Python contains a script that sets up simple http server. No need to install anything, and even no internet connection required.

    1. Simply right-click on the folder that contains the files you want to transfer, then select ‘Open in Terminal

    2. When terminal opens, run the single command:

    python3 -m http.server

    That’s it!

    Now any device in the same network can access the http file server by going to : http://server_ip:8000

    In addition, you may run python3 -m http.server & instead to start the http server in background, so the terminal window can be closed.

    To check your IP address, go to Settings > Wi-Fi (or Network), click on the gear button after your connected network and check the IPv4 Address.