Category: Uncategorized
-
Manually trusting certificate in Chromium
To manually trust single certificate do certutil -A -d sql:$HOME/.pki/nssdb -t P -n description -i cert_fileTo add new trusted CA do certutil -A -d sql:$HOME/.pki/nssdb -t CT -n description -i cert_file
-
How to type unicode character in GNOME (using its code)
Do CTRL + SHIFT + u then type its code and press enter when done.
-
Changing file associations from command line
It can be done from command line using xdg-mime – might be useful if weird programs are started xdg-mime default nautilus.desktop inode/directoryThese associations are kept in /usr/local/share/applications/mimeinfo.cache, ~/.local/share/applications/mimeinfo.cache, maybe also some other mime* file in those directories
-
Discovering include paths for clang++
It can be done using command clang++ -v -xc++ –
-
Enabling/disabling menu icons in GNOME
It can be enabled with gconftool-2 –type bool –set /desktop/gnome/interface/menus_have_icons trueand disabled (quite surprisingly) with: gconftool-2 –type bool –set /desktop/gnome/interface/menus_have_icons false
-
Creating certificate request with OpenSSL
It can be done like thisopenssl req -new -newkey rsa:2048 -nodes -keyout certificate.key -out certificate.csr Printing Certificate Signing Request To print request use:openssl req -in certificate.csr -text