├── README.md ├── common ├── find_folder_and_do_something.sh ├── get-actual-path.sh ├── pause.sh ├── find_file_and_do_something.sh ├── imagemagick.sh ├── rename-files-from-unix-to-ntfs.sh ├── replace-string-in-file.sh └── unzip_all_in_folder.sh ├── image processing ├── make-gif.sh ├── crop-all-images-in-folder.sh └── exiftool.sh ├── steam ├── steam-wine.sh ├── steam-wrapper.sh ├── install_steam_profile └── install_steam_on_debian_7-0__x86_64 ├── .gitignore └── backup_and_sync └── encfs_--reverse_and_rsync.sh /README.md: -------------------------------------------------------------------------------- 1 | scripts 2 | ======= -------------------------------------------------------------------------------- /common/find_folder_and_do_something.sh: -------------------------------------------------------------------------------- 1 | find . -name .svn -type d -exec rm -rf {} \; -------------------------------------------------------------------------------- /common/get-actual-path.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | path=$(dirname $(readlink -f $0)) 3 | -------------------------------------------------------------------------------- /image processing/make-gif.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | convert -delay 20 -loop 0 -layers OptimizeFrame *.png new.gif 3 | -------------------------------------------------------------------------------- /common/pause.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | function pause(){ 4 | read -p “$*” 5 | } 6 | # 7 | echo "Make a pause." 8 | pause "Pause with this message as string." 9 | -------------------------------------------------------------------------------- /common/find_file_and_do_something.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | find . -name '*' -type f | while read filename; do echo "0" >"$filename" & touch -t 200112061017 "$filename"; done -------------------------------------------------------------------------------- /common/imagemagick.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Create SGIF 3 | convert -resize 20% -delay 50 -loop 0 IMG*.jpg result.gif 4 | convert -resize 500 -delay 50 -loop 0 IMG*.jpg result.gif 5 | -------------------------------------------------------------------------------- /image processing/crop-all-images-in-folder.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | find . -name '*.png' -type f | while read filename; do convert $filename -crop 640x480+2+79 +repage $filename; done 3 | -------------------------------------------------------------------------------- /steam/steam-wine.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd Steam 3 | path=$(dirname $(readlink -f $0)) 4 | echo "Start Steam.\n \n" 5 | #winecfg 6 | env WINEPREFIX=$path wine "C:/Program Files/Steam/steam.exe" 7 | -------------------------------------------------------------------------------- /steam/steam-wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | export LD_LIBRARY_PATH=~/.local/share/Steam/steam-lib/i386/lib/i386-linux-gnu/:~/.local/share/Steam/steam-lib/amd64/lib/x86_64-linux-gnu/ 3 | /usr/bin/steam $1 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Edited files 2 | *~ 3 | # Compiled Object files 4 | *.slo 5 | *.lo 6 | *.o 7 | # Compiled Dynamic libraries 8 | *.so 9 | *.dylib 10 | # Compiled Static libraries 11 | *.lai 12 | *.la 13 | *.a 14 | -------------------------------------------------------------------------------- /image processing/exiftool.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Setzt das Bearbeitungsdatum auf das Originaldatum der Datei für das ganze Verzeichnis. 4 | exiftool '-DateTimeOriginal>FileModifyDate' . 5 | exiftool -all= *.jpg 6 | -------------------------------------------------------------------------------- /common/rename-files-from-unix-to-ntfs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Replace chars, not allowed under NTFS in "-". 3 | # Attention, this can produce lot of files with the same filename. 4 | find /path/to/ntfs/mount/ -print0 | xargs -0 rename 's{[\\:*?"<>|]}{-}g' 5 | -------------------------------------------------------------------------------- /common/replace-string-in-file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #echo 'input='"$1" 3 | #arg=`echo "$1" | sed 's:[]\[\^\$\.\*\/]:\\&:g'` 4 | #echo 'modified input='"$arg" 5 | 6 | input="Foobar und foorbar | ergibt eine andere | foobar." 7 | input=$( output.txt 11 | 12 | -------------------------------------------------------------------------------- /common/unzip_all_in_folder.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # unzip all zip content includet in current dir 3 | # zip including files will be unpacked into subfolder named like the zip file 4 | #for zipfiles in $(find -name *.zip .) 5 | for zipfiles in *.zip 6 | do 7 | mkdir $(basename $zipfiles .zip) 8 | unzip -d $(basename $zipfiles .zip) $zipfiles 9 | done 10 | -------------------------------------------------------------------------------- /backup_and_sync/encfs_--reverse_and_rsync.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ENCFSDIR=/home/encfs 4 | ENCFSSRC=$HOME 5 | ENCFSCRYPT=$ENCFSDIR/myhome 6 | USERNAME=foobar 7 | 8 | #sudo mkdir -p $ENCFSDIR 9 | #sudo chmod 1000 $ENCFSDIR 10 | #mkdir -p $ENCFSCRYPT 11 | 12 | # Makes temp crypt folder mapped from source dir. 13 | encfs --reverse $ENCFSSRC $ENCFSCRYPT 14 | 15 | # Rsync with an example. 16 | # Remind: The backup dir is relative to folder on server. 17 | rsync -rltpogDPv -e ssh --exclude=*~ --stats --delete -b --backup-dir=../alt/ $ENCFSCRYPT $USERNAME@rsync.hidrive.strato.com:/users/$USERNAME/sync/ 18 | 19 | # Or with specific ssh-key. 20 | #rsync -rltpogDPv -e "ssh -i $HOME/.ssh/rsync-key.ssh" --delete -b --backup-dir=../alt/ --exclude=*~ --stats $ENCFSCRYPT $USERNAME@rsync.hidrive.strato.com:/users/$USERNAME/sync/ -------------------------------------------------------------------------------- /steam/install_steam_profile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | function pause(){ 3 | read -p “$*” 4 | } 5 | echo "Making dirs for steam installation in \"~/Steam\"." 6 | echo "WARNING!!!" 7 | echo "This will delete existing folder \"~/Steam\" and \"~/.local/share/Steam\"." 8 | pause 'Press eny key to continue.' 9 | echo "Create a new temp dir." 10 | TEMPSTEAMDIR=$(mktemp -d /tmp/steam.XXXXX) 11 | # 12 | STEAMPATH=$HOME/Steam 13 | STEAMLOCAL=$HOME/.local/share/Steam 14 | rm -Rf $STEAMPATH 15 | rm -Rf $STEAMLOCAL 16 | mkdir -p $STEAMPATH 17 | ln -s $STEAMPATH $STEAMLOCAL 18 | # 19 | echo "Create new directories to store the downloaded ubuntu libs in." 20 | mkdir -p $STEAMLOCAL/steam-lib/i386/lib/ 21 | mkdir -p $STEAMLOCAL/steam-lib/amd64/lib/ 22 | echo "Copy the unpacked libraries to the new directory." 23 | cp -pr $TEMPSTEAMDIR/libc6_2.15-0ubuntu10_i386/lib/* $STEAMLOCAL/steam-lib/i386/lib/ 24 | cp -pr $TEMPSTEAMDIR/libc6_2.15-0ubuntu10_amd64/lib/* $STEAMLOCAL/steam-lib/amd64/lib/ 25 | echo "Install flash player to steam." 26 | mkdir -p $STEAMLOCALubuntu12_32/plugins 27 | wget -qO- https://get.adobe.com/de/flashplayer/completion/?installer=Flash_Player_11.2_for_other_Linux_%28.tar.gz%29_32-bit|awk -F\' '/location.href/{print $2}'|sed s/http:/https:/|wget -i- -qO-|tar zxvC $STEAMLOCAL/ubuntu12_32/plugins libflashplayer.so 28 | # 29 | echo "Remove the temp dir." 30 | rm -Rf $TEMPSTEAMDIR 31 | echo "Installation is now complete." 32 | echo "Creating start script to Steam installation folder for usage of right libraries." 33 | cd 34 | #rm $STEAMPATH/steam-wrapper.sh 35 | touch $STEAMPATH/steam-wrapper.sh 36 | echo "#!/bin/bash" >> ~/Steam/steam-wrapper.sh 37 | echo "export LD_LIBRARY_PATH=~/.local/share/Steam/steam-lib/i386/lib/i386-linux-gnu/:~/.local/share/Steam/steam-lib/amd64/lib/x86_64-linux-gnu/" >> $STEAMPATH/steam-wrapper.sh 38 | echo "/usr/bin/steam \$1" >> $STEAMPATH/steam-wrapper.sh 39 | chmod +x $STEAMPATH/steam-wrapper.sh 40 | # 41 | echo "Creating steam.desktop file to start steam from your menu." 42 | rm $HOME/.local/share/applications/steam.desktop 43 | touch $HOME/.local/share/applications/steam.desktop 44 | chmod +x $HOME/.local/share/applications/steam.desktop 45 | echo "[Desktop Entry] 46 | Name=Steam (script) 47 | Comment=Application for managing and playing games on Steam 48 | Exec=$STEAMPATH/steam-wrapper.sh 49 | #/usr/bin/steam %U 50 | Icon=steam 51 | Terminal=false 52 | Type=Application 53 | Categories=Network;FileTransfer;Game; 54 | MimeType=x-scheme-handler/steam; 55 | Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends; 56 | 57 | [Desktop Action Store] 58 | Name=Store 59 | Name[de]=Shop 60 | Name[es]=Tienda 61 | Name[fr]=Magasin 62 | Name[it]=Negozio 63 | Name[pt]=Loja 64 | Name[ru]=Магазин 65 | Name[zh_CN]=商店 66 | Name[zh_TW]=商店 67 | Exec=$STEAMPATH/steam-wrapper.sh steam://store 68 | 69 | [Desktop Action Community] 70 | Name=Community 71 | Name[es]=Comunidad 72 | Name[fr]=Communauté 73 | Name[it]=Comunità 74 | Name[pt]=Comunidade 75 | Name[ru]=Сообщество 76 | Name[zh_CN]=社区 77 | Name[zh_TW]=社群 78 | Exec=steam steam://url/SteamIDControlPage 79 | 80 | [Desktop Action Library] 81 | Name=Library 82 | Name[de]=Bibliothek 83 | Name[es]=Biblioteca 84 | Name[fr]=Bibliothèque 85 | Name[it]=Libreria 86 | Name[pt]=Biblioteca 87 | Name[ru]=Библиотека 88 | Name[zh_CN]=库 89 | Name[zh_TW]=遊戲庫 90 | Exec=steam steam://open/games 91 | 92 | [Desktop Action Servers] 93 | Name=Servers 94 | Name[de]=Server 95 | Name[es]=Servidores 96 | Name[fr]=Serveurs 97 | Name[it]=Server 98 | Name[pt]=Servidores 99 | Name[ru]=Серверы 100 | Name[zh_CN]=服务器 101 | Name[zh_TW]=伺服器 102 | Exec=steam steam://open/servers 103 | 104 | [Desktop Action Screenshots] 105 | Name=Screenshots 106 | Name[es]=Capturas 107 | Name[fr]=Captures d'écran 108 | Name[it]=Screenshot 109 | Name[ru]=Скриншоты 110 | Name[zh_CN]=截图 111 | Name[zh_TW]=螢幕擷圖 112 | Exec=steam steam://open/screenshots 113 | 114 | [Desktop Action News] 115 | Name=News 116 | Name[de]=Neuigkeiten 117 | Name[es]=Noticias 118 | Name[fr]=Actualités 119 | Name[it]=Notizie 120 | Name[pt]=Notícias 121 | Name[ru]=Новости 122 | Name[zh_CN]=新闻 123 | Name[zh_TW]=新聞 124 | Exec=steam steam://open/news 125 | 126 | [Desktop Action Settings] 127 | Name=Settings 128 | Name[de]=Einstellungen 129 | Name[es]=Parámetros 130 | Name[fr]=Paramètres 131 | Name[it]=Impostazioni 132 | Name[pt]=Configurações 133 | Name[ru]=Настройки 134 | Name[zh_CN]=设置 135 | Name[zh_TW]=設定 136 | Exec=steam steam://open/settings 137 | 138 | [Desktop Action BigPicture] 139 | Name=Big Picture 140 | Exec=steam steam://open/bigpicture 141 | 142 | [Desktop Action Friends] 143 | Name=Friends 144 | Name[de]=Freunde 145 | Name[es]=Amigos 146 | Name[fr]=Amis 147 | Name[it]=Amici 148 | Name[pt]=Amigos 149 | Name[ru]=Друзья 150 | Name[zh_CN]=好友 151 | Name[zh_TW]=好友 152 | Exec=steam steam://open/friends">>$HOME/.local/share/applications/steam.desktop 153 | chmod +x $HOME/.local/share/applications/steam.desktop 154 | # 155 | echo "Attention: Maybe steam starts first time with confusing message two times." 156 | echo "Now starting steam." 157 | pause 'Press any key to continue …' 158 | $STEAMPATH/steam-wrapper.sh 159 | 160 | 161 | 162 | -------------------------------------------------------------------------------- /steam/install_steam_on_debian_7-0__x86_64: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # init 3 | function pause(){ 4 | read -p “$*” 5 | } 6 | # 7 | # This script is made quick and dirty. Be carefully. No warranty of anything. 8 | # Origin steps from http://www.sarplot.org/howto/45/Steam_on_64bit_Debian_Wheezy_70/ 9 | # Modified by salzkraftwerk 10 | # 11 | echo "---------------------------------" 12 | echo "Don't trust this script, read it!" 13 | echo "---------------------------------" 14 | echo " " 15 | echo "This script is optimized for NVIDIA graphiccards with installed NVIDIA proprietary drivers." 16 | echo "If you haven't installed the NVIDIA proprietary drivers, see in this script." 17 | # I use nvidia driver version 304 for my nvidia gtx 285. 18 | #sudo apt-get install --yes nvidia-kernel-common nvidia-kernel-dkms nvidia-settings nvidia-vdpau-driver nvidia-xconfig 19 | #cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak 20 | #sudo nvidia-xconfig 21 | #sudo restart 22 | echo " " 23 | echo "Now we must do some things as sudo." 24 | echo "You need installed package \"sudo\" and in the sudos users list." 25 | echo "#adduser USERNAME sudo" 26 | echo " " 27 | sudo echo "I'm sudo." 28 | echo " " 29 | pause 'Press any key to continue …' 30 | echo "Add i386 architecture to your system." 31 | sudo dpkg --add-architecture i386 32 | echo "Done." 33 | echo "Update and install updates on your system." 34 | sudo apt-get update 35 | sudo apt-get upgrade --yes 36 | echo "Installations done." 37 | # 38 | echo "The needed and often not found libGL.so.1 will be in \"libgl1-nvidia-glx:i386\" package. Installation." 39 | sudo apt-get install --yes libgl1-nvidia-glx:i386 40 | echo "Install all listed dependencies for the steam package." 41 | DEPENDS="wget mesa-utils xterm zenity libgtk2.0-0:i386 libcurl3-gnutls:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libogg0:i386 libpixman-1-0:i386 libsdl1.2debian:i386 libtheora0:i386 libudev0:i386 libvorbis0a:i386 libvorbisenc2:i386 libvorbisfile3:i386 libasound2:i386 libcairo2:i386 libcups2:i386 libdbus-1-3:i386 libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libgcrypt11:i386 libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libnspr4:i386 libnss3:i386 libopenal1:i386 libpango1.0-0:i386 libpng12-0:i386 libpulse0:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386" 42 | sudo apt-get install --yes multiarch-support $DEPENDS 43 | # 44 | echo "Create tempdirectory for working in." 45 | TEMPSTEAMDIR=$(mktemp -d /tmp/steam.XXXXX) 46 | echo "Download the latest steam deb package." 47 | sudo wget -NP $TEMPSTEAMDIR http://repo.steampowered.com/steam/archive/precise/steam_latest.deb 48 | echo "Unpack the steam package to the tmp folder." 49 | sudo dpkg -x $TEMPSTEAMDIR/steam_latest.deb $TEMPSTEAMDIR/steam 50 | echo "Unpack the control file so we can modify the dependency packages and create our own steam package." 51 | sudo dpkg -e $TEMPSTEAMDIR/steam_latest.deb $TEMPSTEAMDIR/steam/DEBIAN 52 | echo "Change some version for the dependencies in the control file." 53 | sudo sed -i 's/multiarch-support ([^()]*)/multiarch-support/g' $TEMPSTEAMDIR/steam/DEBIAN/control 54 | sudo sed -i 's/libc6 ([^()]*)/libc6/g' $TEMPSTEAMDIR/steam/DEBIAN/control 55 | sudo sed -i 's/libpulse0 ([^()]*)/libpulse0/g' $TEMPSTEAMDIR/steam/DEBIAN/control 56 | echo "Create the new steam deb package" 57 | sudo dpkg -b $TEMPSTEAMDIR/steam/ 58 | # 59 | echo "Steam has a couple of dependancies not listed for the deb package, these packages needs to be downloaded and installed from ubuntu repository." 60 | sudo wget -NP $TEMPSTEAMDIR http://archive.ubuntu.com/ubuntu/pool/main/x/x-kit/python-xkit_0.4.2.3build1_all.deb 61 | sudo wget -NP $TEMPSTEAMDIR http://archive.ubuntu.com/ubuntu/pool/main/j/jockey/jockey-common_0.9.7-0ubuntu7_all.deb 62 | sudo dpkg -i $TEMPSTEAMDIR/python-xkit_0.4.2.3build1_all.deb 63 | sudo dpkg -i $TEMPSTEAMDIR/jockey-common_0.9.7-0ubuntu7_all.deb 64 | # 65 | echo "Install the steam package we created earlier." 66 | sudo dpkg -i $TEMPSTEAMDIR/steam.deb 67 | # 68 | echo "Remove the steam apt source added by the deb package." 69 | sudo rm /etc/apt/sources.list.d/steam.list 70 | echo "Remove the temp dir." 71 | sudo rm -rf $TEMPSTEAMDIR 72 | echo "Continue as home user." 73 | #exit 74 | # 75 | #whoami 76 | #echo "If \"whoami\" output displays not your actually used home user, abort this script with \"CTRL+C\"!" 77 | #echo "If your username is displayed:" 78 | #pause 'Press any key to continue …' 79 | echo " " 80 | echo "I'm not sudo any more." 81 | pause 'Press any key to continue …' 82 | # 83 | echo "Create a new temp dir." 84 | TEMPSTEAMDIR=$(mktemp -d /tmp/steam.XXXXX) 85 | echo "Download libc6 packages from ubuntu repo." 86 | wget -NP $TEMPSTEAMDIR http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu10_i386.deb 87 | wget -NP $TEMPSTEAMDIR http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu10_amd64.deb 88 | echo "Unpack the ubuntu packages to the tmp directory." 89 | dpkg -x $TEMPSTEAMDIR/libc6_2.15-0ubuntu10_i386.deb $TEMPSTEAMDIR/libc6_2.15-0ubuntu10_i386/ 90 | dpkg -x $TEMPSTEAMDIR/libc6_2.15-0ubuntu10_amd64.deb $TEMPSTEAMDIR/libc6_2.15-0ubuntu10_amd64/ 91 | # 92 | echo "Making dirs for steam installation in \"~/Steam\"." 93 | STEAMPATH=$HOME/Steam 94 | rm -Rf $STEAMPATH 95 | rm ~/.local/share/Steam 96 | mkdir -p $STEAMPATH 97 | ln -s $STEAMPATH ~/.local/share/Steam 98 | echo "Create new directories to store the downloaded ubuntu libs in." 99 | mkdir -p ~/.local/share/Steam/steam-lib/i386/lib/ 100 | mkdir -p ~/.local/share/Steam/steam-lib/amd64/lib/ 101 | echo "Copy the unpacked libraries to the new directory." 102 | cp -pr $TEMPSTEAMDIR/libc6_2.15-0ubuntu10_i386/lib/* ~/.local/share/Steam/steam-lib/i386/lib/ 103 | cp -pr $TEMPSTEAMDIR/libc6_2.15-0ubuntu10_amd64/lib/* ~/.local/share/Steam/steam-lib/amd64/lib/ 104 | echo "Install flash player to steam." 105 | mkdir -p ~/.local/share/Steam/ubuntu12_32/plugins 106 | wget -qO- https://get.adobe.com/de/flashplayer/completion/?installer=Flash_Player_11.2_for_other_Linux_%28.tar.gz%29_32-bit|awk -F\' '/location.href/{print $2}'|sed s/http:/https:/|wget -i- -qO-|tar zxvC ~/.local/share/Steam/ubuntu12_32/plugins libflashplayer.so 107 | # 108 | echo "Remove the temp dir." 109 | rm -Rf $TEMPSTEAMDIR 110 | echo "Installation is now complete." 111 | echo "Creating start script to Steam installation folder for usage of right libraries." 112 | cd 113 | rm $STEAMPATH/steam-wrapper.sh 114 | touch $STEAMPATH/steam-wrapper.sh 115 | echo "#!/bin/bash" >> ~/Steam/steam-wrapper.sh 116 | echo "export LD_LIBRARY_PATH=~/.local/share/Steam/steam-lib/i386/lib/i386-linux-gnu/:~/.local/share/Steam/steam-lib/amd64/lib/x86_64-linux-gnu/" >> $STEAMPATH/steam-wrapper.sh 117 | echo "/usr/bin/steam \$1" >> $STEAMPATH/steam-wrapper.sh 118 | chmod +x $STEAMPATH/steam-wrapper.sh 119 | # 120 | # 121 | # 122 | echo "Creating steam.desktop file to start steam from your menu." 123 | rm ~/.local/share/applications/steam.desktop 124 | touch ~/.local/share/applications/steam.desktop 125 | chmod +x ~/.local/share/applications/steam.desktop 126 | echo "[Desktop Entry] 127 | Name=Steam (script) 128 | Comment=Application for managing and playing games on Steam 129 | Exec=$STEAMPATH/steam-wrapper.sh 130 | #/usr/bin/steam %U 131 | Icon=steam 132 | Terminal=false 133 | Type=Application 134 | Categories=Network;FileTransfer;Game; 135 | MimeType=x-scheme-handler/steam; 136 | Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends; 137 | 138 | [Desktop Action Store] 139 | Name=Store 140 | Name[de]=Shop 141 | Name[es]=Tienda 142 | Name[fr]=Magasin 143 | Name[it]=Negozio 144 | Name[pt]=Loja 145 | Name[ru]=Магазин 146 | Name[zh_CN]=商店 147 | Name[zh_TW]=商店 148 | Exec=$STEAMPATH/steam-wrapper.sh steam://store 149 | 150 | [Desktop Action Community] 151 | Name=Community 152 | Name[es]=Comunidad 153 | Name[fr]=Communauté 154 | Name[it]=Comunità 155 | Name[pt]=Comunidade 156 | Name[ru]=Сообщество 157 | Name[zh_CN]=社区 158 | Name[zh_TW]=社群 159 | Exec=steam steam://url/SteamIDControlPage 160 | 161 | [Desktop Action Library] 162 | Name=Library 163 | Name[de]=Bibliothek 164 | Name[es]=Biblioteca 165 | Name[fr]=Bibliothèque 166 | Name[it]=Libreria 167 | Name[pt]=Biblioteca 168 | Name[ru]=Библиотека 169 | Name[zh_CN]=库 170 | Name[zh_TW]=遊戲庫 171 | Exec=steam steam://open/games 172 | 173 | [Desktop Action Servers] 174 | Name=Servers 175 | Name[de]=Server 176 | Name[es]=Servidores 177 | Name[fr]=Serveurs 178 | Name[it]=Server 179 | Name[pt]=Servidores 180 | Name[ru]=Серверы 181 | Name[zh_CN]=服务器 182 | Name[zh_TW]=伺服器 183 | Exec=steam steam://open/servers 184 | 185 | [Desktop Action Screenshots] 186 | Name=Screenshots 187 | Name[es]=Capturas 188 | Name[fr]=Captures d'écran 189 | Name[it]=Screenshot 190 | Name[ru]=Скриншоты 191 | Name[zh_CN]=截图 192 | Name[zh_TW]=螢幕擷圖 193 | Exec=steam steam://open/screenshots 194 | 195 | [Desktop Action News] 196 | Name=News 197 | Name[de]=Neuigkeiten 198 | Name[es]=Noticias 199 | Name[fr]=Actualités 200 | Name[it]=Notizie 201 | Name[pt]=Notícias 202 | Name[ru]=Новости 203 | Name[zh_CN]=新闻 204 | Name[zh_TW]=新聞 205 | Exec=steam steam://open/news 206 | 207 | [Desktop Action Settings] 208 | Name=Settings 209 | Name[de]=Einstellungen 210 | Name[es]=Parámetros 211 | Name[fr]=Paramètres 212 | Name[it]=Impostazioni 213 | Name[pt]=Configurações 214 | Name[ru]=Настройки 215 | Name[zh_CN]=设置 216 | Name[zh_TW]=設定 217 | Exec=steam steam://open/settings 218 | 219 | [Desktop Action BigPicture] 220 | Name=Big Picture 221 | Exec=steam steam://open/bigpicture 222 | 223 | [Desktop Action Friends] 224 | Name=Friends 225 | Name[de]=Freunde 226 | Name[es]=Amigos 227 | Name[fr]=Amis 228 | Name[it]=Amici 229 | Name[pt]=Amigos 230 | Name[ru]=Друзья 231 | Name[zh_CN]=好友 232 | Name[zh_TW]=好友 233 | Exec=steam steam://open/friends">>~/.local/share/applications/steam.desktop 234 | chmod +x ~/.local/share/applications/steam.desktop 235 | # 236 | # 237 | # 238 | # 239 | echo "Attention: Maybe steam starts first time with confusing message two times." 240 | echo "Now starting steam." 241 | pause 'Press any key to continue …' 242 | $STEAMPATH/steam-wrapper.sh 243 | 244 | 245 | 246 | --------------------------------------------------------------------------------