添加新的自定义会话?


Answers:


8

登录屏幕上的列表是从文件夹中的桌面文件填充的 /usr/share/xsessions

这些文件的格式相似-这是Unity-2D桌面文件

[Desktop Entry]
Name=Ubuntu Classic (No effects)
Comment=This session logs you into GNOME with the traditional panel without any 
graphical effect.
Exec=gnome-session --session=2d-gnome
TryExec=gnome-session
Icon=
Type=Application
X-Ubuntu-Gettext-Domain=gnome-session-2.0

所有文件都是root:root所有。

在此文件夹中创建或删除桌面文件会分别在下拉列表中创建或删除条目。

资源

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.