Prevent Notification steal focus on Ubuntu 18.04

On Ubuntu, some times notifications steal focus from current application. This annoying when you are working on terminal. This is due to start focus feature of gnome when your mouse is over the notification area.

We need to change the value of focus-new-windows from smart to strict. This can be done with command

[…]

Read More…

Download a package using apt on Debian/Ubuntu

download package using apt

On Debian and Ubuntu servers, you can download a package using apt download command.

Package will get downloaded to current working directory. Better do this to /tmp to avoid permission errors. Method 2 If you want to download package and dependencies, then use

This will download the package and all dependency, store it […]

Read More…

Blocking Package Upgrade on Debian/Ubuntu

To block packages from upgrading, you can use command apt-mark hold.

Example

To list packages that are on hold, run

If you want to remove block, you can use apt-mark unhold command.

See apt […]

Read More…

Install wireguard VPN on Ubuntu

To install wireguard VPN on ubuntu, run

Generate Keys

Configure wireguard You can generate wireguard configuration using https://www.wireguardconfig.com […]

Read More…

apachectl status www-browser not found

apachectl status

On a Ubuntu server, run i run apachectl status, i get following error.

To fix error, install lynx text based browser.

After installing lunx, apachectl status started working. See Apache […]

Read More…

MariaDB ERROR 1524 Plugin unix_socket is not loaded

After upgrading MariaDB on Ubuntu server, i got following error

Users created worked fine. Only root user had this error. To fix, you need to enable auth_socket.so plugin. Edit file

Find

Add below

Resatrt MariaDB

See MySQL […]

Read More…

apt-get An error occurred during the signature verification

When running apt update, i get following error

To fix this error, run

[…]

Read More…

Ubuntu 18.04 MariaDB 10.2 Too many open files

MariaDB

On my computer running Ubuntu 18.04, MriaDB stopped working. PHP application i run on my computer failed with error

Application can’t find the table. So i tried to login to MySQL and see if table is there or not. But i get error

Next i checked if this is due to any MySQL […]

Read More…

Disable Native Notification on Google Chrome Ubuntu

On Ubuntu, Google chrome had a disable native notification option. On Chrome 78, this option is removed. But you still can manually enable it. To enbale chrome notification, edit file

Find

Replace with

Save and exit the file. Now restart google chrome. Related Posts Google Chrome […]

Read More…