This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# find them all | |
ls destination | egrep '\[' >> to_rename | |
# cut [*] | |
while read line; do echo $line | sed -e 's/\[[^][]*\] //g' ; done < /tmp/to_rename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setenforce 0 | |
dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
dnf -y install tigervnc-server xterm chromium chromium-libs-media-freeworld | |
vncpasswd <- set your pass | |
touch ~/.vnc/xstartup | |
echo "#!/bin/sh" >> ~/.vnc/xstartup | |
echo "unset SESSION_MANAGER' >> ~/.vnc/xstartup | |
echo "unset DBUS_SESSION_BUS_ADDRESS" >> ~/.vnc/xstartup |
NewerOlder