打开src/Widgets/Panel.vala, 替换
代码: 全选
center_menubar.add (indicator_entry);
代码: 全选
right_menubar.insert_sorted (indicator_entry);
代码: 全选
indicator_order[Indicator.DATETIME] = 10;
修改
代码: 全选
indicator_order[Indicator.SESSION] = 10;
代码: 全选
indicator_order[Indicator.SESSION] = 11;
代码: 全选
meson build --prefix=/usr
cd build
ninja
sudo ninja install
killall wingpanel
elementaryOS 6应该还要libmutter-6-devlibgala-dev
libgee-0.8-dev
libglib2.0-dev
libgranite-dev
libgtk-3-dev
meson
libmutter-2-dev
valacc