特殊:Badtitle/NS100:AddingProgramToSessionStartup/zh:修订间差异
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的3个中间版本) | |||
第10行: | 第10行: | ||
每一次你登录到Ubuntu,都是在创建一个“会话”。要定制你的会话,你必须修改会话的设置。按照如下步骤来做: | 每一次你登录到Ubuntu,都是在创建一个“会话”。要定制你的会话,你必须修改会话的设置。按照如下步骤来做: | ||
* '''系统 > 首选项 > 会话''' | * '''系统 > 首选项 > 会话''' | ||
Ubuntu打开一个允许你设定会话设置的对话框。在Ubuntu 8. | Ubuntu打开一个允许你设定会话设置的对话框。在Ubuntu 8.04有三个标签:“会话选项”,“当前会话”和“会话启动程序”。 | ||
{|border="1" cellspacing="0" | {|border="1" cellspacing="0" | ||
|https://help.ubuntu.com/community/AddingProgramToSessionStartup?action=AttachFile&do=get&target=sessions.png | |https://help.ubuntu.com/community/AddingProgramToSessionStartup?action=AttachFile&do=get&target=sessions.png | ||
|} | |} | ||
=== | === 会话启动程序 === | ||
这个标签允许你指定在你创建会话时运行的任意程序。一个例子就是网络管理器(nm-applet)——一个让用户更容易连接无线的程序。 | 这个标签允许你指定在你创建会话时运行的任意程序。一个例子就是网络管理器(nm-applet)——一个让用户更容易连接无线的程序。 | ||
=== | === 添加程序 === | ||
点击“添加”按钮来添加一个程序,并且在弹出的对话框中输入运行那个程序所需要的命令。如果程序是“evolution”邮件客户端,那么命令行就是evolution,如果有参数,也可以加紧命令行。'''(往下看)'''. | |||
{|border="1" cellspacing="0" | {|border="1" cellspacing="0" | ||
|https://help.ubuntu.com/community/AddingProgramToSessionStartup?action=AttachFile&do=get&target=ADD.png | |https://help.ubuntu.com/community/AddingProgramToSessionStartup?action=AttachFile&do=get&target=ADD.png | ||
|} | |} | ||
<<BR>> | <<BR>> | ||
=== | === 如何找到合适的自启动命令 === | ||
以Evolution邮件客户端为例。想象你想每次开机自动运行Evolution,而不是点击Evolution在面板的图标。你可以在'''会话启动程序'''标签中添加合适的命令。找到屏幕上端面板上的“Evolution”的图标。右击它并选择“属性”。这回弹出“启动器属性的对话框”。注意命令栏中的命令。点击那行命令来把光标移至命令栏中,然后使用方向键向右移,来查看整个命令。 | |||
{|border="1" cellspacing="0" | {|border="1" cellspacing="0" | ||
|https://help.ubuntu.com/community/AddingProgramToSessionStartup?action=AttachFile&do=get&target=properties.png | |https://help.ubuntu.com/community/AddingProgramToSessionStartup?action=AttachFile&do=get&target=properties.png | ||
|} | |} | ||
在这个案例中,命令是: | |||
'''evolution --component=mail''' | '''evolution --component=mail''' | ||
现在我们把这一行作为命令加进'''添加开机程序'''对话框中。可以选择任意名字添加进名字一栏。''步骤总结:'' | |||
'' | * 系统 > 首选项 > 会话 | ||
* | * 选择“会话启动程序”标签 | ||
* | * 点击“添加” | ||
* | * 输入称呼程序的名字(任意名字都行) | ||
* | * 在“命令栏”中,输入命令 | ||
* | * 点击“确定”(你应该看到你的新命令) | ||
* | * 点击“关闭” | ||
* | 重启或登出与登录来测试。 | ||
=== 想添加的应用程序不在面板上 === | |||
=== | 首先,在菜单中找到程序 —— “不要运行”,右击来获得“右键菜单”并选择“将启动器添加到面板”。这会把一个应用程序的图标放到桌面上端的面板上。现在你可以按照上面的步骤来查找和复制合适的命令。如果你想在完成后把图标从面板移除,右键并选择“从面板移除”。 | ||
=== 阻止一个应用程序开机启动 === | |||
如果你不再想应用程序在登陆时启动: | |||
* 系统 > 首选项 > 会话 | |||
=== | * 选择“会话启动程序”标签 | ||
* 选择你想移除的程序 | |||
* | * 点击“移除” | ||
* | * 点击“关闭” | ||
* | '''或者''' | ||
* | * 取消对话框程序名字旁边的复选框 | ||
* | === 会话选项 === | ||
''' | |||
* | |||
=== | |||
{|border="1" cellspacing="0" | {|border="1" cellspacing="0" | ||
|https://help.ubuntu.com/community/AddingProgramToSessionStartup?action=AttachFile&do=get&target=options.png | |https://help.ubuntu.com/community/AddingProgramToSessionStartup?action=AttachFile&do=get&target=options.png | ||
|} | |} | ||
这个标签允许你告诉系统记得登出时正在运行的应用程序,且在下次登录开始时运行这些程序。这依靠勾选'''注销时自动记住正在运行的应用程序'''的复选框来完成。''' 相似地,点击'''软盘'''图标,告诉系统记住当前运行的应用程序(例如pidgin),且在下个会话开始时运行那些应用程序。 | |||
=== | === 当前会话 === | ||
这个标签显示当前运行的进程。 | |||
=== | === 修改程序运行选项 === | ||
现在你可能想修改程序开机时的运行方式。可以通过命令行的参数来达到,命令行分为几个部分: | |||
<pre><nowiki> | <pre><nowiki> | ||
evolution --component=mail | evolution --component=mail | ||
</nowiki></pre> | </nowiki></pre> | ||
第一部分“evolution”是运行的命令。 | |||
第二部分呃“--component=mail”叫做参数。你可以修改这个参数来修改evolution的启动方式。真正的窍门是找出命令支持什么参数。你可以通过[http://www.google.com Google]查找这些参数。你可以通过终端来测试这些参数: | |||
* ''' | * '''程序 > 附件 > 终端''' | ||
找出变化。当你找到正确的参数就可以修改开机的参数。 | |||
祝你好运…… | |||
=== | === 开机时把程序移到一个工作区和其它高级参数 === | ||
在使用上面描述的方法后,所有的应用程序运行在同一个工作区,最大化等等。如果你希望在工作区2最小化运行一个程序,你可以手动达到目的——除非你安装了devilspie——详情可以在论坛的贴[http://ubuntuforums.org/showthread.php?t=75749t] 中找到。 | |||
=== | === 建议 === | ||
这是一种非常手动的方法去自动运行[http://www.gdesklets.de/ gdesklet],Firestarter(防火墙)或者其它程序。一些程序会在你第一次配置他们时把自己添加进“会话启动程序”标签。 | |||
---- | ---- | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年10月3日 (六) 21:53的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/AddingProgramToSessionStartup }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/af | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|Afrikaans| [[::AddingProgramToSessionStartup/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/ar | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|العربية| [[::AddingProgramToSessionStartup/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/az | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|azərbaycanca| [[::AddingProgramToSessionStartup/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/bcc | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|جهلسری بلوچی| [[::AddingProgramToSessionStartup/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/bg | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|български| [[::AddingProgramToSessionStartup/zh/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/br | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|brezhoneg| [[::AddingProgramToSessionStartup/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/ca | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|català| [[::AddingProgramToSessionStartup/zh/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/cs | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|čeština| [[::AddingProgramToSessionStartup/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/de | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|Deutsch| [[::AddingProgramToSessionStartup/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/el | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|Ελληνικά| [[::AddingProgramToSessionStartup/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/es | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|español| [[::AddingProgramToSessionStartup/zh/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/fa | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|فارسی| [[::AddingProgramToSessionStartup/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/fi | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|suomi| [[::AddingProgramToSessionStartup/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/fr | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|français| [[::AddingProgramToSessionStartup/zh/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/gu | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|ગુજરાતી| [[::AddingProgramToSessionStartup/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/he | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|עברית| [[::AddingProgramToSessionStartup/zh/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/hu | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|magyar| [[::AddingProgramToSessionStartup/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/id | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|Bahasa Indonesia| [[::AddingProgramToSessionStartup/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/it | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|italiano| [[::AddingProgramToSessionStartup/zh/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/ja | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|日本語| [[::AddingProgramToSessionStartup/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/ko | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|한국어| [[::AddingProgramToSessionStartup/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/ksh | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|Ripoarisch| [[::AddingProgramToSessionStartup/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/mr | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|मराठी| [[::AddingProgramToSessionStartup/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/ms | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|Bahasa Melayu| [[::AddingProgramToSessionStartup/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/nl | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|Nederlands| [[::AddingProgramToSessionStartup/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/no | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|norsk| [[::AddingProgramToSessionStartup/zh/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/oc | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|occitan| [[::AddingProgramToSessionStartup/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/pl | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|polski| [[::AddingProgramToSessionStartup/zh/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/pt | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|português| [[::AddingProgramToSessionStartup/zh/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/ro | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|română| [[::AddingProgramToSessionStartup/zh/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/ru | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|русский| [[::AddingProgramToSessionStartup/zh/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/si | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|සිංහල| [[::AddingProgramToSessionStartup/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/sq | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|shqip| [[::AddingProgramToSessionStartup/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/sr | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|српски / srpski| [[::AddingProgramToSessionStartup/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/sv | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|svenska| [[::AddingProgramToSessionStartup/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/th | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|ไทย| [[::AddingProgramToSessionStartup/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/tr | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|Türkçe| [[::AddingProgramToSessionStartup/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/vi | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|Tiếng Việt| [[::AddingProgramToSessionStartup/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/yue | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|粵語| [[::AddingProgramToSessionStartup/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/zh | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|中文| [[::AddingProgramToSessionStartup/zh/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/zh-hans | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|中文(简体)| [[::AddingProgramToSessionStartup/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AddingProgramToSessionStartup | UbuntuHelp:AddingProgramToSessionStartup | {{#if: | :}}AddingProgramToSessionStartup/zh}}/zh-hant | • {{#if: UbuntuHelp:AddingProgramToSessionStartup|中文(繁體)| [[::AddingProgramToSessionStartup/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:AddingProgramToSessionStartup|:AddingProgramToSessionStartup/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :AddingProgramToSessionStartup/zh/zh | | {{#ifexist: AddingProgramToSessionStartup/zh/zh | | {{#ifeq: {{#titleparts:AddingProgramToSessionStartup/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:AddingProgramToSessionStartup/zh|1|-1|}} | zh | | }}
有两个方法使Ubuntu在开机时自动加载程序:
- 当你登出的时候保存会话,在你再次登录的时候应用程序会自动加载。
- 设置Ubuntu,使到在你登录的时候运行指定的应用程序。
会话首选项对话框
每一次你登录到Ubuntu,都是在创建一个“会话”。要定制你的会话,你必须修改会话的设置。按照如下步骤来做:
- 系统 > 首选项 > 会话
Ubuntu打开一个允许你设定会话设置的对话框。在Ubuntu 8.04有三个标签:“会话选项”,“当前会话”和“会话启动程序”。
会话启动程序
这个标签允许你指定在你创建会话时运行的任意程序。一个例子就是网络管理器(nm-applet)——一个让用户更容易连接无线的程序。
添加程序
点击“添加”按钮来添加一个程序,并且在弹出的对话框中输入运行那个程序所需要的命令。如果程序是“evolution”邮件客户端,那么命令行就是evolution,如果有参数,也可以加紧命令行。(往下看).
<
>
如何找到合适的自启动命令
以Evolution邮件客户端为例。想象你想每次开机自动运行Evolution,而不是点击Evolution在面板的图标。你可以在会话启动程序标签中添加合适的命令。找到屏幕上端面板上的“Evolution”的图标。右击它并选择“属性”。这回弹出“启动器属性的对话框”。注意命令栏中的命令。点击那行命令来把光标移至命令栏中,然后使用方向键向右移,来查看整个命令。
在这个案例中,命令是: evolution --component=mail 现在我们把这一行作为命令加进添加开机程序对话框中。可以选择任意名字添加进名字一栏。步骤总结:
- 系统 > 首选项 > 会话
- 选择“会话启动程序”标签
- 点击“添加”
- 输入称呼程序的名字(任意名字都行)
- 在“命令栏”中,输入命令
- 点击“确定”(你应该看到你的新命令)
- 点击“关闭”
重启或登出与登录来测试。
想添加的应用程序不在面板上
首先,在菜单中找到程序 —— “不要运行”,右击来获得“右键菜单”并选择“将启动器添加到面板”。这会把一个应用程序的图标放到桌面上端的面板上。现在你可以按照上面的步骤来查找和复制合适的命令。如果你想在完成后把图标从面板移除,右键并选择“从面板移除”。
阻止一个应用程序开机启动
如果你不再想应用程序在登陆时启动:
- 系统 > 首选项 > 会话
- 选择“会话启动程序”标签
- 选择你想移除的程序
- 点击“移除”
- 点击“关闭”
或者
- 取消对话框程序名字旁边的复选框
会话选项
这个标签允许你告诉系统记得登出时正在运行的应用程序,且在下次登录开始时运行这些程序。这依靠勾选注销时自动记住正在运行的应用程序的复选框来完成。 相似地,点击软盘图标,告诉系统记住当前运行的应用程序(例如pidgin),且在下个会话开始时运行那些应用程序。
当前会话
这个标签显示当前运行的进程。
修改程序运行选项
现在你可能想修改程序开机时的运行方式。可以通过命令行的参数来达到,命令行分为几个部分:
evolution --component=mail
第一部分“evolution”是运行的命令。 第二部分呃“--component=mail”叫做参数。你可以修改这个参数来修改evolution的启动方式。真正的窍门是找出命令支持什么参数。你可以通过Google查找这些参数。你可以通过终端来测试这些参数:
- 程序 > 附件 > 终端
找出变化。当你找到正确的参数就可以修改开机的参数。 祝你好运……
开机时把程序移到一个工作区和其它高级参数
在使用上面描述的方法后,所有的应用程序运行在同一个工作区,最大化等等。如果你希望在工作区2最小化运行一个程序,你可以手动达到目的——除非你安装了devilspie——详情可以在论坛的贴[1] 中找到。
建议
这是一种非常手动的方法去自动运行gdesklet,Firestarter(防火墙)或者其它程序。一些程序会在你第一次配置他们时把自己添加进“会话启动程序”标签。