logout: - $Author:
QuicklinksEndUserTest/VirtualisatonInstallierenKernel - TuningNetworkDisplay / PadsBock DevicesPrinterUSB-DevicesBenutzerSWServerInstall NotesGeneral/Hints |
Collection of installation & troublshooting info related to my linux (debian/mint/ubuntu) installations Sehr einfache Scripts
1 "Hyperword" ScriptDas Script kann aus einem Gnome-starter aufgerufen werden
Testbefehl:
sudo route add default gw 192.168.0.1 #!/bin/bash # simple script to edit selected textaereas # string in the box can be modified and will be executed locally by click YES # xclip must be installed - (Debian, Ubuntu: apt-get install xclip ) # # Autor: Patrick Ogay - GPL ## Beginning of Procedure ls -ali less /etc/fstab #cmd=$(`xclip -o;`) cmdraw=`xclip -o;` cmd=$(zenity --entry --title=Befehls Clipboard --entry-text="$cmdraw" STRING --text="String can be modified"); echo "clip=/$cmd/" bash -c "$cmd"; # top keep window open when starte from gnome starter (otherwise read is o.k.) if ! zenity --notification --text "leave"; then exit; fi exit 2 Mehrer Befehle aufführen, an Orten, wo man nur einen ausführen kann.#!/bin/bash # aufgerufen als Gnome-Panel # Commandstrings mit ; echo "command: $1" bash -xv -c "$1" # wenn aus Gnomepanel gestartet if ! NAME=$(zenity --entry --text "sonst geht Console zu" --title "Enter"); then exit; fi |