You are not logged in.
Played with Yad again, and here is the result. Its still raw.
Note: A helper on bash scripting, http://ryanstutorials.net/bash-scripting-tutorial/
Some thoughts from here, http://pclosmag.com/html/issues/201201/page12.html
Last edited by ostrołęk (2015-09-05 07:32:18)
Offline
nore wrote:Switching power off by pressing the power button is enough for me ...
Depends on how far away from other keys the poweroff button is ]:D
this. under the table...
but then again, the exercise would probably do me some good 8)
Offline
@ostrolk -- nice, I like it!
In terms of BASH resources, this is probably the best around:
http://mywiki.wooledge.org/BashGuide
Offline
I don't type so well:
### Terminal ShutDown ### alias lot='kill -9 -1' alias rbt='systemctl reboot' alias off='systemctl poweroff'
First one is: "logout" and I figure if Windows can have a [Start] I can have an [off]
I read your shortness aliases somewhere,
I must write some damn text , ofcourse we can cut to a single character but i think it seems more logical to write a five words you know
Offline
Actually, you can take away the word systemctl in all scripts I've posted here. Only in logout, it should be still openbox --exit, as the word exit is a command. You can simply write suspend, reboot and poweroff.
The simplest way to reboot, for example is to write reboot in the gmrun window and click enter. If you write openbox --exit there you'd logout.
Last edited by ostrołęk (2015-09-05 16:10:41)
Offline
You can simply write suspend, reboot and poweroff.
In my (sid) system, systemctl was symlinked to /sbin/{reboot,poweroff} so that would only work if /sbin was in your user's $PATH
Whilst this may be true of #! & BL, it is certainly not true for a vanilla Debian installation.
Offline
ostrolk wrote:You can simply write suspend, reboot and poweroff.
In my (sid) system, systemctl was symlinked to /sbin/{reboot,poweroff} so that would only work if /sbin was in your user's $PATH
Whilst this may be true of #! & BL, it is certainly not true for a vanilla Debian installation.
You are right here, HoaS. I forgot to write that I had copied those links from /usr/sbin to /usr/bin. I don't have a #! or BL install, only a Debian install and I adopted some Arch ways into it. That's why it work this way. Other Debian users (#! & BL users too) could do that if they want to.
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat