selectorctl

selectorctl list all installed PHP (alt-php) versions in CloudLinux Server.

CloudLinux

Maybe run: yum groups mark install

When installing CloudLinux alt-php group, i get error.

This error is fixed by running

See yum

Separate Google Hangout icon in Ubuntu 18.04

On Ubuntu 18.04, when you install google hangout plugin in google chrome, it shows samne as Google Chrome Icon. It act like you have opened 2 windows, it is hard to switch between as every time you click on Google chrome icon in side bar, it ask you to select which window to switch to.

Ubuntu Google Hangout Icon

On Ubuntu 16.04, it shows same icon, but windows won’t combine in side bar, so you can click them seperately. To make Hangout show differnt icon in Ubuntu 18.04, first find ID of Google Hangout plugin. Go to Menu > More Tools > Extensions.

Google Hangout Plugin id

In this cause, we found ID of Google Hangout Extension as “nckgahadagoaajjgafhacjanaoiihapd”. This can change, so always find ID of extension you have installed.

Now create a file (make sure you replace GOOGLE_HANGOUT_PLUGIN_ID with ID you found in step above).

Add following to the file

Save and exit. Here is what i have on my computer.

Now if you start Google Hangout, it will show as differnt application. But Hangout won’t show generic icon.

To get hangout show proper icon, right click and save following icon file

Google Hangout Icon for Ubuntu 18.04

Rename it as “chrome-GOOGLE_HANGOUT_PLUGIN_ID-Default.png”. Make sure to replace “GOOGLE_HANGOUT_PLUGIN_ID” with your actial plugin id. In my case, the name of the file is “chrome-nckgahadagoaajjgafhacjanaoiihapd-Default.png”

Put the icon file in following location.

Now restart your computer or restart Gnome Shell, you will have new shiny icon for google hangout.

Google Hangout Separate Icon Ubuntu 18.04

See Ubuntu 18.04

Enable Native Notification in Google Chrome

To enable/disable native notification in Google chrome, go to

Google Chrome Native Notification

Once native notification is enabled/disabled, you will be asked to restart browser.

On Ubuntu 18.04, i disable Native Notification as it is buggy, come can’t control how long notification shown if you use native notification. With chrome provided notification, you can use javascript to disable notification after predefined time. On Ubuntu 16.04, native notification is disabled by default.

Chrome

Install x2Go Client in Ubuntu

x2go client is available in Ubuntu repoitory. To install, run

Here are some useful shortcuts

  • Ctrl + Alt + F = Switch between full screen and window mode
  • Ctrl + Alt + arrow keys = change view port.

x2go

Install Unity Desktop in Ubuntu 18.04

After installing Ubuntu 18.04, i have several small issues with new Gnome desktop, most of it i solved with plugins. But i decided to switch back to Unity desktop as for a while until i am ready to Gnome desktop.

To install Unity Desktop in Ubuntu 18.04, run

You will be asked to select display manager. Select lightdm.

To make it look like Ubuntu 16.04, i copied old wallpaper used by Ubuntu 16.04

Things to do after installing Ubuntu 18.04

Today i installed Ubuntu 18.04. Ubuntu 18.04 use GNOME desktop instead of Unity Desktop. I like some of the new features, but missed some feeatured i am used to in Ubuntu 16.04. First thing i notice was i can’t easy change sound output device like in Ubuntu 16.04, i expected Ubuntu 18.04 made it easier. But after spending some time, i found out i can customize Gnome to make it work like i need.

Show date in top bar

I want to show date along with time in top bar. To enable this, you need to install gnome-tweek-tool.

Now start gnome tweak tool, this is available as Tweaks

Gnome Tweaks

Go to Tweaks > Top Bar. Under clock, set “Date” to On.

Gnome Tweaks Enable Date

Now you will see full date along with time.

Set time 12 Hour format

By default Ubuntu 18.04 show time in 24 hour format. I prefer 12 hour format with AM/PM.

Click on Power button, select Settings.

Go to Details > Date & Time

Gnome Shell Extensions

You can customise how GNOME work by installing extensions. This is just like google chrome/firefox extensions. Installing is easy.

First run

Now open your web browser, visit

https://extensions.gnome.org

This will ask you to install a browser plugin, so you can install Gnome Extensions easily from the browser itself.

For Firefox, install plugin

https://addons.mozilla.org/en-US/firefox/addon/gnome-shell-integration/

Create an account in Gnome.org, so you can manage your extensions.

Here is some of the Gnome Extensions i installed.

Unite

Unite make your Gnome Top bar like Unity. Date get moved to right side. Also application close buttons merge with top bar like in Ubunty. This save from top space. This is highly recommended if you are a Unity user switching to Gnome.

You can install it from

https://extensions.gnome.org/extension/1287/unite/

Sound Input & Output Device Chooser

This Gnome Extension allow you to easily switch sound devices.

You can get it from

https://extensions.gnome.org/extension/906/sound-output-device-chooser/

Remove Totem

Ubuntu come with Torem video player. I perfer VLC. Remove Totem and install VLC with

Install Tor on Ubuntu

Tor is a highly anonymous proxy network. Tor is used by sites in dark web as it is almost impossible to find who owns a web site when it is hidden using tor.

https://www.torproject.org

To install tor on Ubuntu/Debian, run

This will start a sock5 proxy server on your PC on port 9050.

tor proxy

To check if proxy is working, run

You can also use “torify”, that work like proxychains.

You can configure your browser to use sock5 proxy server running on 127.0.0.1 on port 9050.

If you are using applications that do not support proxy, then you can use torify or proxychains, for example.