Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-09-06 文章 charles kao
sudo shutdown -P now

2012/8/24 =KK= 

> On Fri, Aug 24, 2012 at 7:53 PM, =KK=  wrote:
> > ctrl+alt+t #打开终端,我设置成了 win+r
> >
> > sudo halt #关机
> alias lll'= sudo service lightdm restart '#注销
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120824/8895d24d/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-08-24 文章 =KK=
On Fri, Aug 24, 2012 at 7:53 PM, =KK=  wrote:
> ctrl+alt+t #打开终端,我设置成了 win+r
>
> sudo halt #关机
alias lll'= sudo service lightdm restart '#注销
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-08-24 文章 =KK=
ctrl+alt+t #打开终端,我设置成了 win+r

sudo halt #关机
sudo service lightdm restart #注销
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-08-06 文章 Ma Xiaojun
命令关机应该不是楼主的需求,虽然Ctrl+Alt+T可能可以呼出终端
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-08-05 文章 weiyan sun
shutdown -h now


2012/8/3 Pointer Royden 

> 设置一下快捷键新建一个自定义的shutdown不就行了吗
>
>
> -
> There is neither happiness nor misery in the world; there is only the
> comparison of one state to another, nothing more. He who has felt the
> deepest grief is best able to experience supreme happiness. We must have
> felt what it is to die, that we may appreciate the enjoyments of life.
> ' Live, then, and be happy, beloved children of my heart, and never forget
> that until the day when God shall deign to reveal the future to man, all
> human wisdom is summed up in these two words - "Wait and hope." '
>
>
>
> 2012/8/3 Tusooa Zhu 
>
> > 见下。
> > On Jul 18, 2012 12:14 AM, "Zind"  wrote:
> > >
> > > 2012/7/16 Leiking 
> > >
> > > > consolkit :
> > > >
> > > > dbus-send --print-reply \
> > > > --system \
> > > > --dest="org.freedesktop.ConsoleKit" \
> > > > /org/freedesktop/ConsoleKit/Manager \
> > > > org.freedesktop.ConsoleKit.Manager.Stop
> > > >
> > >
> > > 这个看起来还挺神奇的。谢谢。
> > > 这么长一大串,一开始还没注意到是条关机命令 :-)
> > > 找到一篇类似的:
> > > http://plux.is-programmer.com/posts/34130.html
> > 仅在只有同一用户登陆时才关。
> > -- 下一部分 --
> > 一个HTML附件被移除...
> > URL: <
> >
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120803/3abf010c/attachment.html
> > >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120803/e18ded18/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-08-03 文章 Pointer Royden
设置一下快捷键新建一个自定义的shutdown不就行了吗


-
There is neither happiness nor misery in the world; there is only the
comparison of one state to another, nothing more. He who has felt the
deepest grief is best able to experience supreme happiness. We must have
felt what it is to die, that we may appreciate the enjoyments of life.
' Live, then, and be happy, beloved children of my heart, and never forget
that until the day when God shall deign to reveal the future to man, all
human wisdom is summed up in these two words - "Wait and hope." '



2012/8/3 Tusooa Zhu 

> 见下。
> On Jul 18, 2012 12:14 AM, "Zind"  wrote:
> >
> > 2012/7/16 Leiking 
> >
> > > consolkit :
> > >
> > > dbus-send --print-reply \
> > > --system \
> > > --dest="org.freedesktop.ConsoleKit" \
> > > /org/freedesktop/ConsoleKit/Manager \
> > > org.freedesktop.ConsoleKit.Manager.Stop
> > >
> >
> > 这个看起来还挺神奇的。谢谢。
> > 这么长一大串,一开始还没注意到是条关机命令 :-)
> > 找到一篇类似的:
> > http://plux.is-programmer.com/posts/34130.html
> 仅在只有同一用户登陆时才关。
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120803/3abf010c/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-08-03 文章 Tusooa Zhu
见下。
On Jul 18, 2012 12:14 AM, "Zind"  wrote:
>
> 2012/7/16 Leiking 
>
> > consolkit :
> >
> > dbus-send --print-reply \
> > --system \
> > --dest="org.freedesktop.ConsoleKit" \
> > /org/freedesktop/ConsoleKit/Manager \
> > org.freedesktop.ConsoleKit.Manager.Stop
> >
>
> 这个看起来还挺神奇的。谢谢。
> 这么长一大串,一开始还没注意到是条关机命令 :-)
> 找到一篇类似的:
> http://plux.is-programmer.com/posts/34130.html
仅在只有同一用户登陆时才关。
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-07-17 文章 Leiking
consolekit polkit pam . linux 3大恶心人的东西.

始终没搞明白

2012/7/18 Zind :
> 2012/7/16 Leiking 
>
>> consolkit :
>>
>> dbus-send --print-reply \
>> --system \
>> --dest="org.freedesktop.ConsoleKit" \
>> /org/freedesktop/ConsoleKit/Manager \
>> org.freedesktop.ConsoleKit.Manager.Stop
>>
>
> 这个看起来还挺神奇的。谢谢。
> 这么长一大串,一开始还没注意到是条关机命令 :-)
> 找到一篇类似的:
> http://plux.is-programmer.com/posts/34130.html
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: 
> 
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-07-17 文章 Zind
2012/7/16 Leiking 

> consolkit :
>
> dbus-send --print-reply \
> --system \
> --dest="org.freedesktop.ConsoleKit" \
> /org/freedesktop/ConsoleKit/Manager \
> org.freedesktop.ConsoleKit.Manager.Stop
>

这个看起来还挺神奇的。谢谢。
这么长一大串,一开始还没注意到是条关机命令 :-)
找到一篇类似的:
http://plux.is-programmer.com/posts/34130.html
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-07-17 文章 Zind
On Mon, Jul 16, 2012 at 11:24 AM, tennc  wrote:

> init 0or   poweroff


朋友,init 0 和 poweroff 需要密码的
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-07-15 文章 Leiking
consolkit :

dbus-send --print-reply \
--system \
--dest="org.freedesktop.ConsoleKit" \
/org/freedesktop/ConsoleKit/Manager \
org.freedesktop.ConsoleKit.Manager.Stop

2012/7/16 tennc :
> init 0or   poweroff
> 在 2012-07-15 12:32:57,Zind  写道:
>>搭车问下,Ubuntu 能不能不用输入密码直接关机,有相关的命令没有?
>>我的意思是不通过修改 /etc/sudoers 的方式。
>>Fedora 下,poweroff 是不需要密码的
>>-- 下一部分 --
>>一个HTML附件被移除...
>>URL: 
>>
>>--
>>ubuntu-zh mailing list
>>ubuntu-zh@lists.ubuntu.com
>>https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-07-15 文章 tennc
init 0or   poweroff
在 2012-07-15 12:32:57,Zind  写道:
>搭车问下,Ubuntu 能不能不用输入密码直接关机,有相关的命令没有?
>我的意思是不通过修改 /etc/sudoers 的方式。
>Fedora 下,poweroff 是不需要密码的
>-- 下一部分 --
>一个HTML附件被移除...
>URL: 
>
>-- 
>ubuntu-zh mailing list
>ubuntu-zh@lists.ubuntu.com
>https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-07-14 文章 Zind
搭车问下,Ubuntu 能不能不用输入密码直接关机,有相关的命令没有?
我的意思是不通过修改 /etc/sudoers 的方式。
Fedora 下,poweroff 是不需要密码的
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-07-01 文章 陶克路
注销啊,直接logout就行了吧

2012/7/1 Tao KY 

> 注销?不就是sudo killall X吗?
>
> 在 2012年7月1日 下午6:59,陶克路  写道:
> > 你是说 shutdown -h/r [time]吗? (h=halt, r=reboot)
> >
> > 2012/7/1 胡小柯 
> >
> >> 那注销呢?应该也有个注销的命令吧,**不是shutdown或者halt吧。
> >>
> >>
> >> 在 Sun, 01 Jul 2012 10:09:18 +0800,luoshupeng  写道:
> >>
> >>  比如在Windows下可以使用Alt+F4这样的方式关机,**在Gnome-Shell下有没有方法使
> >>> 用键盘快捷键关机呢?
> >>>
> >>>
> >>
> >> --
> >> 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
> >>
> >> --
> >> ubuntu-zh mailing list
> >> ubuntu-zh@lists.ubuntu.com
> >> https://lists.ubuntu.com/**mailman/listinfo/ubuntu-zh<
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh>
> >>
> >
> >
> >
> > --
> > ---
> > 陶克路
> > 哈尔滨工业大学08级
> > 计算机科学与技术学院
> > ---
> > Kelu Tao
> > Harbin Institute Of Technology
> > website: legendtkl.net
> > Tel: +8613936578175
> > 
> > -- next part --
> > An HTML attachment was scrubbed...
> > URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120701/d21eba39/attachment.html
> >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
>
>
> --
> I'm TaoKY.Send From Gmail.
>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>



-- 
---
陶克路
哈尔滨工业大学08级
计算机科学与技术学院
---
Kelu Tao
Harbin Institute Of Technology
website: legendtkl.net
Tel: +8613936578175

-- next part --
An HTML attachment was scrubbed...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-07-01 文章 Tao KY
注销?不就是sudo killall X吗?

在 2012年7月1日 下午6:59,陶克路  写道:
> 你是说 shutdown -h/r [time]吗? (h=halt, r=reboot)
>
> 2012/7/1 胡小柯 
>
>> 那注销呢?应该也有个注销的命令吧,**不是shutdown或者halt吧。
>>
>>
>> 在 Sun, 01 Jul 2012 10:09:18 +0800,luoshupeng  写道:
>>
>>  比如在Windows下可以使用Alt+F4这样的方式关机,**在Gnome-Shell下有没有方法使
>>> 用键盘快捷键关机呢?
>>>
>>>
>>
>> --
>> 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
>>
>> --
>> ubuntu-zh mailing list
>> ubuntu-zh@lists.ubuntu.com
>> https://lists.ubuntu.com/**mailman/listinfo/ubuntu-zh
>>
>
>
>
> --
> ---
> 陶克路
> 哈尔滨工业大学08级
> 计算机科学与技术学院
> ---
> Kelu Tao
> Harbin Institute Of Technology
> website: legendtkl.net
> Tel: +8613936578175
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> 
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh



-- 
I'm TaoKY.Send From Gmail.

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-07-01 文章 陶克路
你是说 shutdown -h/r [time]吗? (h=halt, r=reboot)

2012/7/1 胡小柯 

> 那注销呢?应该也有个注销的命令吧,**不是shutdown或者halt吧。
>
>
> 在 Sun, 01 Jul 2012 10:09:18 +0800,luoshupeng  写道:
>
>  比如在Windows下可以使用Alt+F4这样的方式关机,**在Gnome-Shell下有没有方法使
>> 用键盘快捷键关机呢?
>>
>>
>
> --
> 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/**mailman/listinfo/ubuntu-zh
>



-- 
---
陶克路
哈尔滨工业大学08级
计算机科学与技术学院
---
Kelu Tao
Harbin Institute Of Technology
website: legendtkl.net
Tel: +8613936578175

-- next part --
An HTML attachment was scrubbed...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-06-30 文章 Yuanchen Xie
命令行就 alias 一下
在 2012-7-1 下午12:01,"Ding Jia" 写道:

> 自从用了ubuntu以后就开始用命令行了
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120701/30314360/attachment.html
> >
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-06-30 文章 Ding Jia
自从用了ubuntu以后就开始用命令行了
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] Gnome-shell如何用键盘关机

2012-06-30 文章 胡小柯

那注销呢?应该也有个注销的命令吧,不是shutdown或者halt吧。


在 Sun, 01 Jul 2012 10:09:18 +0800,luoshupeng  写道:


比如在Windows下可以使用Alt+F4这样的方式关机,在Gnome-Shell下有没有方法使
用键盘快捷键关机呢?




--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
--
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] Gnome-shell如何用键盘关机

2012-06-30 文章 luoshupeng
比如在Windows下可以使用Alt+F4这样的方式关机,在Gnome-Shell下有没有方法使
用键盘快捷键关机呢?

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh