作者 主题: 介绍 Lumina 桌面环境 2.0 版本(乔什史密斯)  (阅读 2209 次)

离线 jingyue

  • 自由发言用户
  • 注册用户
  • **
  • 帖子: 729
介绍 Lumina 桌面环境 2.0 版本(乔什史密斯)
« 于: 三月 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

« 最后编辑时间: 四月 24, 2018, 01:32:25 am 作者 jingyue »

离线 jingyue

  • 自由发言用户
  • 注册用户
  • **
  • 帖子: 729
TrueOS-Desktop-18.06 将使用 Lumina 2.0 桌面,
« 回复 #1 于: 四月 24, 2018, 12:56:28 am »
( 谷歌翻译,仅供参考)

Jerry   on March 8, 2018 at 8:15 pm

我有两个问题。

1)Unity的默认布局(菜单栏顶部有实际的菜单条目,侧边有图标停靠栏)是我第一次进入非Windows系统时喜欢的几件事之一,而且自从转到其他系统后,发行版(现在还有其他非Linux系统)。然而,在Lumina网站的1.4.0截图中,类似OSX的布局在窗口中添加了菜单。 2.0版能够在栏上放置菜单吗?

2)是否有公开发布的时间表,或者您正在采取“何时准备好”的方法?

我希望你们所有人都有美好的一天。

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

Ken Moore   on March 19, 2018 at 5:23 pm

1.在Lumina中,您可以将面板放在屏幕的左侧或右侧,并为您提供类似Unity桌面的布局。嵌入式菜单系统在Lumina中不可用,因为这不是目前X11和窗口管理器标准支持的规范。当前在Linux上运行功能的方式是显示系统的黑客绕过,该系统只适用于GTK3和Qt5工具包,导致在混合环境中出现非常奇怪的整体桌面行为,其中某些应用程序使用其他图形工具包。

2.我们针对 Lumina 2 的 TrueOS 18.06 STABLE 发布,但这只是一个指导方针,如有必要,我们会推迟发布日期,以便根据需要进行额外的测试/修复。

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

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

 Jerry   on March 8, 2018 at 8:15 pm

I have two questions.

1) The default layout of Unity(menu bar with actual menu entries on top and icon dock on the side) is one of the few things I liked about my first voyage into non-Windows systems, and have been missing since moving on to other distros(and now also other non-Linux systems). However in 1.4.0 screenshots on Lumina’s site, the OSX-like layout has the menu attached to the window. Will 2.0 be able to have the menus on the bar?

2) Is there any timeline for a public release, or are you taking a “when it’s ready” approach?

I hope all of you have a nice day

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

Reply

    Ken Moore   
    Ken Moore   on March 19, 2018 at 5:23 pm

    1. In Lumina you can already put panels on the left/right side of the screen and give you something like the layout of the Unity desktop. The embedded menu system is not available in Lumina because that is not a specification supported by X11 and the window manager standards at the present time. The way that functionality is currently run on Linux is a hacky-bypass of the display system which only really works with the GTK3 and Qt5 toolkits, resulting in very odd overall desktop behavior in mixed environments where some apps use other graphical toolkits.

    2. We are targetting the 18.06 STABLE release of TrueOS for Lumina 2, but that is just a guideline and if necessary we will push back the release date to allow for additional testing/fixing as needed.


« 最后编辑时间: 四月 24, 2018, 01:26:54 am 作者 jingyue »