Revert "Support init systems other than systemd with Run Command's samples"
Fix example commands. "suspend" is a command to halt the shell, not to
sleep the computer. Those are just example commands so people with exotic
init systems can still type their own commands.
This reverts commit 2dc5d53ec4
.
This commit is contained in:
parent
7866a5f656
commit
0d362169a8
1 changed files with 3 additions and 3 deletions
|
@ -47,9 +47,9 @@ RunCommandConfig::RunCommandConfig(QWidget *parent, const QVariantList &args)
|
|||
i18n("Say Hello"),
|
||||
QStringLiteral("PowerShell -Command \"Add-Type –AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('hello');\""));
|
||||
#else
|
||||
addSuggestedCommand(defaultMenu, i18n("Shutdown"), QStringLiteral("poweroff"));
|
||||
addSuggestedCommand(defaultMenu, i18n("Reboot"), QStringLiteral("reboot"));
|
||||
addSuggestedCommand(defaultMenu, i18n("Suspend"), QStringLiteral("suspend"));
|
||||
addSuggestedCommand(defaultMenu, i18n("Shutdown"), QStringLiteral("systemctl poweroff"));
|
||||
addSuggestedCommand(defaultMenu, i18n("Reboot"), QStringLiteral("systemctl reboot"));
|
||||
addSuggestedCommand(defaultMenu, i18n("Suspend"), QStringLiteral("systemctl suspend"));
|
||||
addSuggestedCommand(
|
||||
defaultMenu,
|
||||
i18n("Maximum Brightness"),
|
||||
|
|
Loading…
Reference in a new issue