Mint: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „== Mint 15 UEFI Boot == * sudo add-apt-repository ppa:yannubuntu/boot-repair * sudo apt-get update * sudo apt-get install boot-repair“)
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
* sudo apt-get update
* sudo apt-get update
* sudo apt-get install boot-repair
* sudo apt-get install boot-repair
* run boot-repair
== Mint 17.1: Edge Snapping ==
* http://ssokolow.com/quicktile/
== shutdown dialog ==
<pre>
shutdown -P +1 &
zenity --question --text="Shutdown now ? Automatic shutdown in 60 seconds" --ok-label="DOIT"
if [ $? -eq 0 ];then
        shutdown -c
        shutdown -P now
else
        shutdown -c
fi
</pre>
<pre>
zenity --question --text="Shutdown now ? Autoshutdown in 60 seconds" \
    --cancel-label="DOIT" --ok-label="NOPE" --timeout=60 || 
  dbus-send --system --print-reply --dest=org.freedesktop.login1 \
    /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true
</pre>
[[Category:Linux/Distribution]]
[[Category:Linux]]

Latest revision as of 13:54, 1 April 2017

Mint 15 UEFI Boot

  • sudo add-apt-repository ppa:yannubuntu/boot-repair
  • sudo apt-get update
  • sudo apt-get install boot-repair
  • run boot-repair


Mint 17.1: Edge Snapping


shutdown dialog

shutdown -P +1 &
zenity --question --text="Shutdown now ? Automatic shutdown in 60 seconds" --ok-label="DOIT" 
if [ $? -eq 0 ];then
        shutdown -c
        shutdown -P now
else
        shutdown -c
fi


zenity --question --text="Shutdown now ? Autoshutdown in 60 seconds" \
    --cancel-label="DOIT" --ok-label="NOPE" --timeout=60 ||  
  dbus-send --system --print-reply --dest=org.freedesktop.login1 \
    /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true