woensdag 18 december 2019

How to disable the touchpad?

It displays all the input devices connected. Note that they all have an id. 
Run the following command in a terminal:
xinput list
 
 
It displays all the input devices connected. Note that they all have an id. Now use the id to disable it.
xinput set-prop 12 "Device Enabled" 0
 
https://askubuntu.com/questions/65951/how-to-disable-the-touchpad
 
 

zondag 15 december 2019

uninstall of installed files with ./configure,make,make install

How to uninstall files that have been installed with the combination of commands:
./configure,make,make install

To find out where the files are located, you run the command:
make -n install


dinsdag 12 november 2019

Information about packages

Commands to get information about packages:
type -p nmcli
 
dpkg -S /usr/bin/nmcli
 
apt-cache depends network-manager
 
https://askubuntu.com/questions/972596/nmcli-command-not-found-ubuntu-16-04

zondag 30 juni 2019

Autostart programs at bootup

home/name/.config/autostart

Here it is where you place the programs that you want to start at bootup.

 [Desktop Entry]
Type=Application
Exec=/usr/share/terminator/terminator
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=terminator
Name=terminator
Comment[en_US]=
Comment=

zaterdag 13 april 2019

Deletion of make install files

Deletion of make install files

https://stackoverflow.com/questions/1439950/whats-the-opposite-of-make-install-i-e-how-do-you-uninstall-a-li

sudo make uninstall

In a Debian based system, instead of (or after*) doing make install you can run sudo checkinstall to make a .deb file that gets automatically installed. You can then remove it using the system package manager (e.g. apt/synaptic/aptitude/dpkg). Checkinstall also supports creating other types of package, e.g. RPM.

zondag 7 april 2019

Pause subscription

You can pause a subscription by canceling your subscription and then opt for pausing your subscription.

zondag 17 maart 2019

How to make ssh key


# Steps to take to make sshkeys for github
1. ssh-keygen -t rsa -b 4096 -f github_file -C "example"
2. create a passphrase
3. eval "$(ssh-agent -s)" # runs ssh-agent in the background
4. add the public key to your github account
5. ssh-add ~/.ssh/id_rsa # take the path of the private key
6. git remote set-url origin git@github.com:username/your-repository.git # use clone SSH of Gitlab and Github

zaterdag 16 februari 2019

vrijdag 1 februari 2019

SSH Key - Still asking for password and passphrase

Add Identity without Keychain

There may be times in which you don't want the passphrase stored in the keychain, but don't want to have to enter the passphrase over and over again.
You can do that like this:
ssh-add ~/.ssh/id_rsa 
This will ask you for the passphrase, enter it and it will not ask again until you restart.

Add Identity Using Keychain

As @dennis points out in the comments, to persist the passphrase through restarts by storing it in your keychain, you can use the -K option (-k for Ubuntu) when adding the identity like this:
ssh-add -K ~/.ssh/id_rsa
Once again, this will ask you for the passphrase, enter it and this time it will never ask again for this identity.

Enlarging Libreoffice window completely with command

 You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.