readme
This commit is contained in:
@@ -1,9 +1,21 @@
|
|||||||
|
#!/usr/bin/env xdg-open
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=1.0
|
Categories=Utility;System;
|
||||||
Name=Boot to Windows
|
Comment[de_DE]=Bootet direkt nach Windows oder setzt den GRUB-Boot-Eintrag
|
||||||
Comment=Bootet direkt nach Windows oder setzt den GRUB-Boot-Eintrag
|
Comment=Bootet direkt nach Windows oder setzt den GRUB-Boot-Eintrag
|
||||||
Exec=pkexec /home/thorsten/Scripte/shell_boot-to-windows/boot-to-windows.sh
|
Exec=pkexec /home/thorsten/Scripte/shell_boot-to-windows/boot-to-windows.sh
|
||||||
|
GenericName[de_DE]=
|
||||||
|
GenericName=
|
||||||
Icon=/home/thorsten/Scripte/shell_boot-to-windows/boot-to-windows.png
|
Icon=/home/thorsten/Scripte/shell_boot-to-windows/boot-to-windows.png
|
||||||
|
MimeType=
|
||||||
|
Name[de_DE]=Boot to Windows
|
||||||
|
Name=Boot to Windows
|
||||||
|
Path=
|
||||||
|
PrefersNonDefaultGPU=false
|
||||||
|
StartupNotify=true
|
||||||
Terminal=true
|
Terminal=true
|
||||||
|
TerminalOptions=
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=Utility;System;
|
Version=1.0
|
||||||
|
X-KDE-SubstituteUID=false
|
||||||
|
X-KDE-Username=
|
||||||
|
|||||||
26
README.md
Normal file
26
README.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# GRUB Boot zu Windows
|
||||||
|
|
||||||
|
Dieses Skript identifiziert dynamisch den **Windows-Boot-Manager** in der **GRUB-Konfiguration** und setzt ihn für den nächsten Neustart als Ziel. Es unterstützt sowohl **GRUB** als auch **GRUB2** und ermöglicht eine optionale Benutzerabfrage, ob das System sofort nach Windows booten soll.
|
||||||
|
|
||||||
|
## Voraussetzungen
|
||||||
|
|
||||||
|
- **Bash** ist installiert.
|
||||||
|
- GRUB oder GRUB2 ist konfiguriert.
|
||||||
|
- Das Skript erfordert Berechtigungen zum Bearbeiten der GRUB-Konfigurationsdateien und zum Neustarten des Systems. (sudo)
|
||||||
|
|
||||||
|
|
||||||
|
## Verwendung
|
||||||
|
|
||||||
|
1. Script ausführbar machen:
|
||||||
|
```bash
|
||||||
|
chmod +x boot-to-windows.sh
|
||||||
|
```
|
||||||
|
2. Bearbeite die Datei `Boot to Windows.desktop` und passe die Zeilen `Exec=` und `Icon=` entsprechend deiner Skript- und Icon-Pfade an.
|
||||||
|
3. Speichere die angepasste `Boot to Windows.desktop`-Datei wahlweise in:
|
||||||
|
```bash
|
||||||
|
~/.local/share/applications/
|
||||||
|
```
|
||||||
|
Alternativ kann das Skript direkt im Terminal ausgeführt werden:
|
||||||
|
```bash
|
||||||
|
sudo ./boot-to-windows.sh
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user