Adding VPN settings, trackpad configuration, more apps, and formatting.

This commit is contained in:
Bradley 2020-05-13 14:50:18 -07:00
parent 7cba98c086
commit fde3277b8e
7 changed files with 273 additions and 25 deletions

View file

@ -4,26 +4,40 @@
List of instructions, resources, steps for setting up a new computer
### Linux
## Android
#### [List of Applications](https://github.com/BradNut/computer-setup-info/blob/master/linux/Applications.md)
### [Direct APK Applications](https://github.com/BradNut/computer-setup-info/blob/master/linux/Direct-APK-Application.md)
#### [Desktop Setup](https://github.com/BradNut/computer-setup-info/blob/master/linux/Desktop-Setup.md)
### [FDroid-Applications](https://github.com/BradNut/computer-setup-info/blob/master/linux/FDroid-Applications.md)
#### [Environment Setup](https://github.com/BradNut/computer-setup-info/blob/master/linux/Environment-Setup.md)
### [Google-Applications](https://github.com/BradNut/computer-setup-info/blob/master/linux/Google-Applications.md)
#### [Useful Resources](https://github.com/BradNut/computer-setup-info/blob/master/linux/Resources-Information.md)
## Linux
### OSX
### [List of Applications](https://github.com/BradNut/computer-setup-info/blob/master/linux/Applications.md)
#### [List of Applications](https://github.com/BradNut/computer-setup-info/blob/master/osx/Applications.md)
### [Coding Setup](https://github.com/BradNut/computer-setup-info/blob/master/linux/Coding-App-Setup.md)
### Synology
### [Desktop Setup](https://github.com/BradNut/computer-setup-info/blob/master/linux/Desktop-Setup.md)
#### [Applications installed](https://github.com/BradNut/computer-setup-info/blob/master/synology/Applications.md)
### [Environment Setup](https://github.com/BradNut/computer-setup-info/blob/master/linux/Environment-Setup.md)
#### [Docker Setup](https://github.com/BradNut/computer-setup-info/blob/master/synology/Docker-Setup.md)
### [NordVPN Configuration](https://github.com/BradNut/computer-setup-info/blob/master/linux/NordVPN-Configuration.md)
### Windows
### [ProtonVPN Configuration](https://github.com/BradNut/computer-setup-info/blob/master/linux/ProtonVPN-Configuration.md)
#### [List of Applications](https://github.com/BradNut/computer-setup-info/blob/master/windows/Applications.md)
### [Useful Resources](https://github.com/BradNut/computer-setup-info/blob/master/linux/Resources-Information.md)
## OSX
### [List of Applications](https://github.com/BradNut/computer-setup-info/blob/master/osx/Applications.md)
## Synology
### [Applications installed](https://github.com/BradNut/computer-setup-info/blob/master/synology/Applications.md)
### [Docker Setup](https://github.com/BradNut/computer-setup-info/blob/master/synology/Docker-Setup.md)
## Windows
### [List of Applications](https://github.com/BradNut/computer-setup-info/blob/master/windows/Applications.md)

View file

@ -7,10 +7,12 @@
- FileZilla
- Firefox
- Lutris
- NordVPN
- [Plex Media Player](https://knapsu.eu/plex/)
- Postman
- Piper
- Proton Bridge
- Proton VPN
- qBittorrent
- Transmission
- Signal
@ -47,17 +49,13 @@ Linux AppImage Instructions:
An AppImage is a self-contained instance of the application. Upon download, please move this file to a more permanent location on your system. You will need to keep this file for as long as you intend to use Standard Notes.
We'll move this file from your downloads to your home directory:
mv ~/Downloads/Standard-Notes-3.4.1.AppImage ~/Standard-Notes-3.4.1.AppImage
cd ~
- `mv ~/Downloads/{APP_IMAGE.AppImage} ~/{APP_IMAGE}.AppImage`
- `cd ~`
Now, make the file executable:
chmod a+x Standard-Notes-3.4.1.AppImage
- `chmod a+x {APP_IMAGE}.AppImage`
Finally, run the application:
./Standard-Notes-3.4.1.AppImage
- `./{APP_IMAGE}.AppImage`
If you're prompted to create desktop shortcuts, choose Yes.

View file

@ -4,6 +4,7 @@
- [Dash to Dock](https://micheleg.github.io/dash-to-dock/)
- [gTile](https://github.com/gTile)
- [Workspace Matrix](https://extensions.gnome.org/extension/1485/workspace-matrix/)
## Desktop Icon Creation
@ -52,8 +53,7 @@ Type=Application
Terminal=false
Exec=/home/bshellnu/Standard-Notes-3.3.5.AppImage
Name=Standard Notes
Icon=/home/bshellnu/Documents/Desktop
Icons/StandardNotesIcon.png
Icon=/home/bshellnu/Documents/Desktop Icons/StandardNotesIcon.png
```
- [Standard Notes Icon](https://github.com/BradNut/computer-setup-info/blob/master/linux/images/desktop-images/StandardNotesIcon.png)

View file

@ -54,11 +54,11 @@ Currently using zsh.
##### Oh My Zsh Plugins
- [Z](https://github.com/agkozak/zsh-z)
-- Install: `git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z`
* Install: `git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z`
- [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
-- Install: `git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions`
* Install: `git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions`
- [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
-- Install: `git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting`
* Install: `git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting`
### Bash

View file

@ -0,0 +1,80 @@
# Nord VPN Documentation on Debian, Ubuntu, Elementary OS, and Linux Mint
## Installation
The *NordVPN* native application is the recommended option for connecting to NordVPN servers on your Linux device. We designed it with your experience in mind, giving easy access to features such as CyberSec, auto-connect, and automated Kill Switch.
This tutorial explains how to download and install the NordVPN app, log in, and connect to our servers. You can also find an explanation of various settings.
1. Download the NordVPN Linux client from our [Downloads](https://nordvpn.com/download/linux) page or click on [this](https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb) direct link.
Alternatively, you can use this command and proceed straight to step 3:
`sudo wget -qnc https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb`
2. Open Terminal and run the following command:
`sudo dpkg -i /pathToFile/nordvpn-release_1.0.0_all.deb`
Make sure to replace */pathToFile/* with the path to your Downloads folder (or other location where the NordVPN file was downloaded).
Example: `sudo dpkg -i ~/Downloads/nordvpn-release_1.0.0_all.deb`
You will be asked to enter your root password. Enter it, wait for the package installation to finish, and proceed to the next step.
3. Update the package list:
`sudo apt update` (or `sudo apt-get update`)
4. Install the NordVPN app:
`sudo apt install nordvpn` (or `sudo apt-get install nordvpn`)
5. Log in to your NordVPN account:
`nordvpn login`
6. Connect to a NordVPN server:
`nordvpn connect`
In case you get the GPG error (NO_PUBKEY), use the following command and repeat step 4:
`sudo wget https://repo.nordvpn.com/gpg/nordvpn_public.asc -O - | sudo apt-key add -`
## [Settings](https://support.nordvpn.com/Connectivity/Linux/1325531132/Installing-and-using-NordVPN-on-Debian-Ubuntu-Elementary-OS-and-Linux-Mint.htm#Settings)
To access the NordVPN client settings, type the *nordvpn* command in Terminal.
Here is the list of available commands:
## Commands
| Command | Description |
| ----------- | ---------- |
| nordvpn login | Log in. |
| nordvpn connect or nordvpn c | Connect to VPN. To connect to specific servers, use `nordvpn connect <country_code server_number`> (eg. nordvpn connect uk715) |
| nordvpn disconnect or nordvpn d | Disconnect from VPN. |
| nordvpn set cybersec on or off | Enable or disable CyberSec |
| nordvpn set killswitch on or off | Enable or disable Kill Switch |
| nordvpn set autoconnect on or off | Enable or disable auto-connect. You can set a specific server for automatic connection using nordvpn set autoconnect on country_code+server_number. Example: `nordvpn set autoconnect on us2435`. |
| nordvpn set notify on or off | Enable or disable notifications |
| nordvpn set dns 1.1.1.1 1.0.0.1 | Set custom DNS (you can set up a single DNS or two like shown in this command). |
| nordvpn set protocol udp or tcp | Switch between UDP and TCP protocols |
| nordvpn set obfuscate on or off | Enable or disable Obfuscated Servers. |
| nordvpn set technology | Set connection technology (OpenVPN or NordLynx) |
| nordvpn whitelist add port 22 | Add a rule to whitelist a specified incoming port. You can also whitelist multiple ports — just separate their numbers |with a space.
| nordvpn whitelist remove port 22 | Remove the rule to whitelist a specified port. |
| nordvpn whitelist add subnet 192.168.0.0/16 | Add a rule to whitelist a specified subnet. |
| nordvpn whitelist remove subnet 192.168.0.0/16 | Remove the rule to whitelist a specified subnet. |
| nordvpn account | See account information |
| nordvpn register | Register a new user account |
| nordvpn rate | Rate your last connection quality (1-5) |
| nordvpn settings | See the current settings. |
| nordvpn status | See the connection status. |
| nordvpn countries | See the country list. |
| nordvpn cities | See the city list. |
| nordvpn groups | See a list of available server groups. |
| nordvpn logout | Log out. |
| nordvpn help or nordvpn h | See the list of available commands or help for a specific command. |
You can get an extensive explanation of all commands by using the man nordvpn command in Terminal.

View file

@ -0,0 +1,105 @@
# Proton VPN Documentation on Linux
## Installation
Install docs: https://protonvpn.com/support/linux-vpn-tool/
Link to the GitHub repository https://github.com/ProtonVPN/linux-cli
For more extensive information about the features and how to use the VPN client, read the Usage Guide.
You will need the latest updates of the following dependencies installed on your Linux repository:
- openvpn
- python3.5+
- dialog (optional, needed for interactive selection)
- pip for python3 (pip3)
## Instructions for installing these packages on different distributions:
### On Archlinux/ Manjaro, please use:
`sudo pacman -S openvpn dialog python-pip python-setuptools`
`sudo pip3 install protonvpn-cli`
Make sure to run pip as sudo, so it installs globally and recognizes the command with sudo
### On SUSE, please use:
`sudo zypper in -y openvpn dialog python3-pip python3-setuptools`
`sudo pip3 install protonvpn-cli`
### On Fedora / CentOS / RHEL, please use:
`sudo dnf install -y openvpn dialog python3-pip python3-setuptools`
`sudo pip3 install protonvpn-cli`
### On Debian / Ubuntu / Linux Mint and other derivatives, please use:
`sudo apt install -y openvpn dialog python3-pip python3-setuptools`
`sudo pip3 install protonvpn-cli`
### Manual installation from source
To perform a manual installation from source, visit the ProtonVPN Linux client project page on GitHub.
Initialization
Once you have installed the client, you will need to initialize your ProtonVPN profile so you can connect it to a VPN server. You can do this by using the sudo protonvpn init command. This will bring up the screen below.
## Initialization
Once you have installed the client, you will need to initialize your ProtonVPN profile so you can connect it to a VPN server. You can do this by using the `sudo protonvpn init` command. This will bring up the screen below.
When you are asked for your *Username* and *Password* on this screen, it is referring to your *OpenVPN credentials*, not your ProtonVPN login credentials.
Learn [how to find your OpenVPN credentials.](https://protonvpn.com/support/vpn-login/)
## Terminal Commands
List of all Commands
| Command | Description |
| ----------- | ---------- |
| protonvpn init | Initialize ProtonVPN profile. |
| protonvpn connect, c | Select a ProtonVPN server and connect to it. |
| protonvpn c [servername] | Connect to a specified server. |
| protonvpn c -r | Connect to a random server. |
| protonvpn c -f | Connect to the fastest server. |
| protonvpn c --p2p | Connect to the fastest P2P server. |
| protonvpn c --cc [countrycode] | Connect to the fastest server in a specified country. |
| protonvpn c --sc | Connect to the fastest Secure Core server. |
| protonvpn reconnect, r | Reconnect or connect to the last server used. |
| protonvpn disconnect, d | Disconnect the current session. |
| protonvpn status, s | Print connection status. |
| protonvpn configure | Change CLI configuration. |
| protonvpn refresh | Refresh OpenVPN configuration and server data. |
| protonvpn examples | Print example commands. |
| protonvpn --version | Display version. |
| protonvpn --help | Show help message. |
All connect options can be used with the -p flag to explicitly specify which transmission protocol is used for that connection (either udp or tcp).
Kill Switch
ProtonVPN-CLI has a built-in Kill Switch that protects your data in case your VPN connection is interrupted or cut unexpectedly.
## Enabling Kill Switch
To enable Kill Switch, open the configuration menu with protonvpn configure, then select 5 for Kill Switch and confirm the activation with either 1 or 2, depending on your preference.
1 will block access from your directly connected network (e.g. public WiFi) and is recommended for laptops that may connect to untrusted networks.
2 will allow access from your directly connected network and is for computers that dont leave a secure and trusted LAN, like your home network.
On the next connection Kill Switch will be enabled.
## Update
We will periodically update the ProtonVPN-CLI to deal with bugs or to introduce new features.
The command to update ProtonVPN-CLI is: sudo pip3 install protonvpn-cli --upgrade.
## Uninstall
If you want to uninstall ProtonVPN-CLI, run configure first and purge the configuration. Then uninstall through the package manager you used for installation.
For PIP this would be:
`sudo pip3 uninstall protonvpn-cli`

View file

@ -21,6 +21,57 @@ Ubuntu 20.04 Gnome dark mode work for all except do not disturb or right click m
- [Ratbagd DBus Daemon](https://github.com/libratbag/libratbag/blob/master/README.md#running-ratbagd-as-dbus-activated-systemd-service)
- [Piper GUI for Ratbagd](https://github.com/libratbag/piper)
## Trackpad Gestures
*Working on Dell XPS 13*
Following Medium article: [Mac-like Gestures on Ubuntu 20.04 Dell XPS 15](https://medium.com/@kaigo/mac-like-gestures-on-ubuntu-20-04-dell-xps-15-7ea6e3be7f76)
Add your user to the input group:
`sudo gpasswd -a $USER input`
Install dependencies:
`sudo apt-get install libinput-tools xdotool`
Install libinput gestures:
`git clone https://github.com/bulletmark/libinput-gestures.git`
`cd libinput-gestures`
`sudo make install`
`sudo ./libinput-gestures-setup install`
Start the software and allow it to run at startup.
`libinput-gestures-setup autostart`
`libinput-gestures-setup start`
Next install a UI tool to make adding and editing gestures easier.
`git clone https://gitlab.com/cunidev/gestures`
`cd gestures`
`sudo python3 setup.py install`
Open the new program called *gestures* from your activities menu.
These are the gestures you will need to emulate a mac-like experience.
Configuration file in dotfiles: [Gestures.conf](https://github.com/BradNut/dotfiles/blob/master/Linux%20Settings/Gesture%20Settings/Gestures.conf)
- 3-finger swipe up
- xdotool key super
- 3-finger swipe down
- xdotool key Escape
- 3-finger swipe right
- xdotool key 'ctrl+alt+Left'
- 3-finger swipe left
- xdotool key 'ctrl+alt+Right'
- 3-finger pinch out
- xdotool key 'ctrl+plus'
- 3-finger ping in
- xdotool key 'ctrl+minus'
- 4-finger swipe left
- xdotool key 'alt+Left'
- 4-finger swipe right
- xdotool key 'alt+Right'
Next you may notice the workspaces are ontop of each other instead of side-by-side like MacOS. To fix this we will need to install a gnome extension named workspace matrix available [here](https://extensions.gnome.org/extension/1485/workspace-matrix/).
Now restart your system and you should be able to move workspaces, left and right using the three finger gesture or *ctrl+alt + left or right arrows*.
## Internal Hard Drives
- [Auto-mounting on boot](https://www.liberiangeek.net/2012/04/auto-mount-windows-ntfs-partitions-in-ubuntu-12-04-precise-pangolin/)