Linux Tips & Tricks

Update Keyring

[Last Updated : 2021-07-31]

Whenever one changes user password the keyring still asks for older password.

This causes annoyance as it ask for password everytime and it never syncs.

Solution

OS - Manjaro

Alternatively, you can remove “login.keyring” and “user.keystore” from /home/{username}/.local/share/keyrings/ . Be warned that this will permanently delete all saved keys. After removing the files, simply log out and log in again.

Source - https://forum.manjaro.org/t/changing-password-for-keyring/38861

Source - https://help.gnome.org/users/seahorse/stable/keyring-update-password.html.en

Image Editing (using File Manager Plugin)

GNOME's file manager, Nautilus, supports the use of plugins to add features to the user interface. The nautilus-image-converter package adds a "Resize Images..." option to the context menu of any image file; selecting this option causes a resizing dialog to appear.

Source: http://dailypackage.fedorabook.com/index.php?/archives/50-GUI-Thursday-Nautilus-image-converter-easy-image-resizing.html

[How to] Set Location Bar In Nautilus As Default

The address bar in Nautilus is accessible at any time by pressing the CTRL+L key-combo.

To back to orignal mode press "ESC" key.

Source: http://www.omgubuntu.co.uk/2011/11/how-to-set-location-bar-in-nautilus-as-default/

Top 10 Ubuntu 11.10 Tip and Tricks.

http://blog.sudobits.com/2011/10/13/top-10-tips-and-tricks-for-ubuntu-11-10/

Picasa 3.9 Installation Guide.

http://www.webupd8.org/2012/01/install-picasa-39-in-linux-and-fix.html

List all user id.

awk -F":" '{ print "username: " $1 "\t\tuid:" $3 }' /etc/passwd

Zorin OS

Disable Window Switching Animation.

Go to "CompizConfig Setting Manager" -> Effects

Uncheck the "Animation"

Change User ID.

Install - "User & Groups" software from Software Center.

gnome-system-tools

After changing the UserID from 1001 to 1050

The drives are not mounting.

Error

This location could not be displayed.

You do not have the permission necessary to view the contents of "HDD".

ssinha@236pcU1404:~$ getfacl /media/ssinha

getfacl: Removing leading '/' from absolute path names

# file: media/ssinha

# owner: root

# group: root

user::rwx

user:1001:r-x

group::---

mask::r-x

other::---

ssinha@236pcU1404:~$ cd /media

ssinha@236pcU1404:/media$ sudo setfacl -m user:1050:rx ssinha

[sudo] password for ssinha:

ssinha@236pcU1404:/media$ getfacl /media/ssinha

getfacl: Removing leading '/' from absolute path names

# file: media/ssinha

# owner: root

# group: root

user::rwx

user:1001:r-x

user:ssinha:r-x

group::---

mask::r-x

other::---

ssinha@236pcU1404:/media$

Ubuntu can not ping Host Name but can ping IP?

http://askubuntu.com/questions/507649/ubuntu-can-not-ping-host-name-but-can-ping-ip

Auto Start Seafile

Command : /usr/bin/seafile-applet

Ubuntu Password - Set short Password.

http://askubuntu.com/questions/180402/how-to-set-a-short-password-on-ubuntu

All start up applications are not visible.

Type the following command (shown in dark purple bold) in terminal:-

nikhil@236ltLU1604:~$ cd /etc/xdg/autostart/

nikhil@236ltLU1604:/etc/xdg/autostart$ sudo sed --in-place 's/NoDisplay=true/NoDisplay=false/g' *.desktop

Source : http://iloveubuntu.net/how-enable-all-apps-startup-applications-ubuntu-1110

Another Source : http://www.howtogeek.com/192104/how-to-showhide-all-hidden-startup-applications-in-ubuntu-14.10/

Change Computer Name

Linux Mint 20

sudo nano /etc/hostname

[Last tested on 2021-10-01]