cleanup
This commit is contained in:
parent
7c77672226
commit
78be1a31eb
5
configs/nautilus/scripts/USDView
Executable file
5
configs/nautilus/scripts/USDView
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
usdview $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Make the keys dir
|
|
||||||
KEYS_DIR=~/.config/gnome-remote-desktop/keys
|
|
||||||
mkdir -p $KEYS_DIR
|
|
||||||
|
|
||||||
# Generate keys
|
|
||||||
openssl genrsa -out $KEYS_DIR/tls.key 4096
|
|
||||||
openssl req -new -key $KEYS_DIR/tls.key -out $KEYS_DIR/tls.csr
|
|
||||||
openssl x509 -req -days 36500 -signkey $KEYS_DIR/tls.key -in $KEYS_DIR/tls.csr -out $KEYS_DIR/tls.crt
|
|
@ -2,7 +2,7 @@
|
|||||||
link:
|
link:
|
||||||
relink: true
|
relink: true
|
||||||
|
|
||||||
- clean: ['~']
|
- clean: ["~"]
|
||||||
|
|
||||||
- create:
|
- create:
|
||||||
# Common organizational dirs
|
# Common organizational dirs
|
||||||
@ -21,14 +21,14 @@
|
|||||||
- ~/.config/user-tmpfiles.d
|
- ~/.config/user-tmpfiles.d
|
||||||
# Program plugins
|
# Program plugins
|
||||||
- ~/.local/share/nautilus/scripts/
|
- ~/.local/share/nautilus/scripts/
|
||||||
|
|
||||||
- link:
|
- link:
|
||||||
# Git
|
# Git
|
||||||
~/.gitconfig: configs/git/.gitconfig
|
~/.gitconfig: configs/git/.gitconfig
|
||||||
~/.ssh/allowed_signers: configs/ssh/allowed_signers
|
~/.ssh/allowed_signers: configs/ssh/allowed_signers
|
||||||
|
|
||||||
# Shell
|
# Shell
|
||||||
~/.zshrc:
|
~/.zshrc:
|
||||||
path: configs/zsh/.zshrc
|
path: configs/zsh/.zshrc
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
@ -53,6 +53,9 @@
|
|||||||
~/.local/share/nautilus/scripts/Open in Video Trimmer:
|
~/.local/share/nautilus/scripts/Open in Video Trimmer:
|
||||||
path: configs/nautilus/scripts/Open in Video Trimmer
|
path: configs/nautilus/scripts/Open in Video Trimmer
|
||||||
mode: 755
|
mode: 755
|
||||||
|
~/.local/share/nautilus/scripts/USDView:
|
||||||
|
path: configs/nautilus/scripts/USDView
|
||||||
|
mode: 755
|
||||||
~/bin/run-logid:
|
~/bin/run-logid:
|
||||||
path: configs/scripts/run-logid
|
path: configs/scripts/run-logid
|
||||||
mode: 755
|
mode: 755
|
||||||
@ -76,18 +79,23 @@
|
|||||||
~/.config/user-tmpfiles.d/discord-rpc.conf: configs/user-tmpfiles.d/discord-rpc.conf
|
~/.config/user-tmpfiles.d/discord-rpc.conf: configs/user-tmpfiles.d/discord-rpc.conf
|
||||||
~/.config/logid/logid.cfg: configs/logid/logid.cfg
|
~/.config/logid/logid.cfg: configs/logid/logid.cfg
|
||||||
~/houdini19.5/scripts: configs/houdini19.5/scripts
|
~/houdini19.5/scripts: configs/houdini19.5/scripts
|
||||||
|
~/sln: solutions
|
||||||
|
|
||||||
- shell:
|
- shell:
|
||||||
# Make sure we have our git modules
|
# Make sure we have our git modules
|
||||||
- [git submodule update --init --recursive, Installing submodules]
|
- [git submodule update --init --recursive, Installing submodules]
|
||||||
# Install SSH config
|
# Install SSH config
|
||||||
- [sh ./helpers/install-ssh-config.sh, Installing SSH config]
|
- [sh ./helpers/install-ssh-config.sh, Installing SSH config]
|
||||||
# Ensure that all downloaded scripts are executable
|
# Ensure that all downloaded scripts are executable
|
||||||
- [chmod +x configs/scripts/*, Making bin scripts executable]
|
- [chmod +x configs/scripts/*, Making bin scripts executable]
|
||||||
- [chmod +x configs/nautilus/scripts/*, Making nautilus scripts executable]
|
- [chmod +x configs/nautilus/scripts/*, Making nautilus scripts executable]
|
||||||
# Configure GNOME
|
- [chmod +x solutions/*, Making solution scripts executable]
|
||||||
- [sh ./helpers/configure-gnome.sh, Configuring GNOME]
|
# Configure GNOME
|
||||||
# Configure Termux if on Android
|
- [sh ./helpers/configure-gnome.sh, Configuring GNOME]
|
||||||
- [termux-reload-settings || true, Trying to reload Termux]
|
# Configure Termux if on Android
|
||||||
# Configure Git
|
- [termux-reload-settings || true, Trying to reload Termux]
|
||||||
- [bash ./helpers/git-config-features.sh, Setting up optional git-config features]
|
# Configure Git
|
||||||
|
- [
|
||||||
|
bash ./helpers/git-config-features.sh,
|
||||||
|
Setting up optional git-config features,
|
||||||
|
]
|
||||||
|
23
solutions/configure-gnome-remote-desktop.sh
Executable file
23
solutions/configure-gnome-remote-desktop.sh
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
# This script will do the work needed to configure Gnome Remote Desktop headlessly.
|
||||||
|
# Useful if you need RDP access to a remote machine and forgot to configure it before-hand
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Make the keys dir
|
||||||
|
KEYS_DIR=~/.config/gnome-remote-desktop/keys
|
||||||
|
mkdir -p $KEYS_DIR
|
||||||
|
|
||||||
|
# Generate keys
|
||||||
|
openssl genrsa -out $KEYS_DIR/tls.key 4096
|
||||||
|
openssl req -new -key $KEYS_DIR/tls.key -out $KEYS_DIR/tls.csr
|
||||||
|
openssl x509 -req -days 36500 -signkey $KEYS_DIR/tls.key -in $KEYS_DIR/tls.csr -out $KEYS_DIR/tls.crt
|
||||||
|
|
||||||
|
# Set the certificates
|
||||||
|
grdctl rdp set-tls-cert $KEYS_DIR/tls.crt
|
||||||
|
grdctl rdp set-tls-key $KEYS_DIR/tls.key
|
||||||
|
grdctl rdp disable-view-only
|
||||||
|
|
||||||
|
# Inform of that to run next
|
||||||
|
echo "To finish GRD RDP setup, run:\
|
||||||
|
\n\tgrdctl rdp set-credentials <username> <password>\
|
||||||
|
\n\tgrdctl rdp enable"
|
Loading…
x
Reference in New Issue
Block a user