回帖

警告: 该贴已经至少 180 天没有更改。
除非你一定要回复,否则也许考虑发一个新贴会更好。

注意: 该帖子在版主未审核以前将不会显示。

会员名称:
电子邮件:
标题:
帖子图案:
附加:
(增加附件)
可使用的文件类型: fgb, rar, gif, jpg, pdf, png, txt, zip
限制: 3 每贴
请注意,任何上传的文件在版主审核前都将不会显示。
验证码:
《九评共产党》一共有几评?(请用阿拉伯数字回答):

快速键: 按下ALT+S可以直接发帖, 按下ALT+R则可以预览帖子.


帖子总览

作者: jingyue 发表时间: 三月 21, 2018, 09:33:42 am

看着 Lumina Desktop 2.0 (谷歌翻译,误差较大,仅供简略内容参考,详细可看英文原稿,)

(Looking at Lumina Desktop 2.0)

乔什史密斯 2018年3月2日 TrueOS更新 13条评论

几周前,我与TrueOS项目的首席开发人员Ken Moore一起坐下来,从开源社区获得关于Lumina Desktop的一些最常见问题的解答。这是他在Lumina Desktop 2.0上所说的话。在TrueOS项目中,您是否对Ken和其他团队有疑问?请务必阅读下面的采访和评论。我们很高兴回答您的问题!

Ken:与Lumina 1.x相比,Lumina Desktop 2.0的重大改进。几乎桌面上的每个子系统都进行了精简,导致在许多重要领域几乎完全转换。

借助Lumina Desktop 2.0,我们终将实现将Lumina转变为完整的图形会话端到端管理系统的长期目标,并从Lumina 1.x(Fluxbox,xscreensaver,compton /使用xcompmgr)。这些实用程序的功能现在由Lumina Desktop自己提供。

随着会话管理的变化,我们将整个桌面压缩成一个单一的多线程二进制文件。这意味着,如果任何流氓脚本或工具开始试图解决桌面使用的内存问题(现在可能比我们开始研究这个问题时更相关),整个桌面会话将关闭/崩溃,而不是允许目标应用程序崩溃绕过会话安全机制。同样,这也可以防止“中间人”类型的攻击,因为桌面不使用任何类型的外部消息系统进行通信(查看你的`dbus`)。这也为Lumina Desktop带来了巨大的性能提升

用户如何保存和加载用户设置的整个系统已经完全重做,使其成为一个“分层”设置系统,允许默认设置(Lumina)透明地被系统设置(OS / Distributor / SysAdmin)取代由个人用户设置取代。这将导致用户设置文件的实际更改保持在最低水平,并允许在更新操作系统或桌面之间平滑过渡。这还可以将用户的桌面会话(基于系统配置文件)“限制”为某些业务应用程序的默认系统设置和只读用户会话。

整个图形界面已经用QML编写,目的是在OpenGL上充分利用基于硬件的GPU加速,而后端逻辑和管理系统仍然完全用C ++编写。这样可以在后端系统(无数多线程C ++对象)上实现快速的性能,并且具有平滑且响应迅速的图形界面,包括所有的铃声和​​哨音(拖放,合成,阴影等)。

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

原文链接 https://www.trueos.org/blog/looking-lumina-desktop-2-0/

Looking at Lumina Desktop 2.0

by Josh Smith | Mar 2, 2018 | Announcements, Preview, TrueOS Update | 13 comments

A few weeks ago I sat down with Lead Developer Ken Moore of the TrueOS Project to get answers to some of the most frequently asked questions about Lumina Desktop from the open source community. Here is what he said on Lumina Desktop 2.0.  Do you have a question for Ken and the rest of the team over at the TrueOS Project? Make sure to read the interview and comment below. We are glad to answer your questions!

Ken: Lumina Desktop 2.0 is a significant overhaul compared to Lumina 1.x. Almost every single subsystem of the desktop has been streamlined, resulting in a nearly-total conversion in many important areas.

With Lumina Desktop 2.0 we will finally achieve our long-term goal of turning Lumina into a complete, end-to-end management system for the graphical session and removing all the current runtime dependencies from Lumina 1.x (Fluxbox, xscreensaver, compton/xcompmgr). The functionality from those utilities is now provided by Lumina Desktop itself.

Going along with the session management changes, we have compressed the entire desktop into a single, multi-threaded binary. This means that if any rogue script or tool starts trying to muck about with the memory used by the desktop (probably even more relevant now than when we started working on this), the entire desktop session will close/crash rather than allowing targeted application crashes to bypass the session security mechanisms. By the same token, this also prevents “man-in-the-middle” type of attacks because the desktop does not use any sort of external messaging system to communicate (looking at you `dbus`). This also gives a large performance boost to Lumina Desktop

The entire system for how a user’s settings get saved and loaded has been completely redone, making it a “layered” settings system which allows the default settings (Lumina) to get transparently replaced by system settings (OS/Distributor/SysAdmin) which can get replaced by individual user settings. This results in the actual changes in the user setting files to be kept to a minimum and allows for a smooth transition between updates to the OS or Desktop. This also provides the ability to “restrict” a user’s desktop session (based on a system config file) to the default system settings and read-only user sessions for certain business applications.

The entire graphical interface has been written in QML in order to fully-utilize hardware-based GPU acceleration with OpenGL while the backend logic and management systems are still written entirely in C++. This results in blazing fast performance on the backend systems (myriad multi-threaded C++ objects) as well as a smooth and responsive graphical interface with all the bells and whistles (drag and drop, compositing, shading, etc).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


TrueOS-Desktop-17.12上面,虽然有自动挂载 U 盘的功能,但是不支持中文名字的文件名,

用下面这个命令挂载 FAT32 格式的 U 盘可显示中文文件名,(否则中文文件的名字都显示为 ?????? 问号,)

# mount_msdosfs -L zh_CN.UTF-8 /dev/da1s1 /mnt

其中 /dev/da1s1 需查看U盘设备的具体显示名字而定,
# ls /dev

用命令拷贝中文名字的文件,
# cp xxx /mnt

用命令卸载,
# umount -f /mnt