Closed zhuyaliang closed 1 year ago
Also note that the strings in ReplaceStrings
can quickly become obsolete as new hardware is introduced, which could become a maintainance hassle. Most of this information can be extracted from the output of hwinfo
though using that as a shell command called from inside the capplet could include some complex parsing. The popopen() call can do it, but this outputs to a FILE variable which then has to be read into a string, which requires knowing how many bytes to allocate as a buffer and so on. There's almost certainly a better to do that, I just don't know it yet.
@lukefromdcReplaceStrings
come from gnome
, and we can follow gnome
to update the processor
all the text on the right side of the window (details for each item identified) was greyed ou
To distinguish between names and data, I used two colors
Will this warning appear under all themes? (mate-system-info:421033): Pango-WARNING **: 23:34:55.327: Leftover font scales
Will this warning appear under all themes?
(mate-system-info:421033): Pango-WARNING **: 23:34:55.327: Leftover font scales
Yes, i get the warning with all our themes. Can we use marco windows-decoration please? Same like the other capplets from Mate.
@lukefromdc @raveit65 Warning removed
@zhuyaliang confirmed, the warning is gone. But the windows-decoration is a csd window which is wrong for Mate. The window should be a normal dialog window wich use metacity/marco decorations.
I found a commit where you removed the headerbar in mate-user-admin https://github.com/zhuyaliang/user-admin/commit/137086edb76d88605506020790a5f6e9a19e86fe
With last commit the decoration in X11 is fine. @zhuyaliang Can we have a minimize button?
Under wayland it doesn't display in the m-c-c window, same like many other from our capplets. For some reasons i can start it from common tasks and it has a csd decoration.
@lukefromdc Those capplets are not visible in mcc-window and menus under wayland.
@zhuyaliang Your recording tool does everything right under wayland. It displays in mcc and it has the correct decoration, ihmo.
Last change gives the best windows-decoration experience under wayland, ihmo.
@raveit65 Added minimize status button
minimize status button works fine in X11.
All the capplets are displayed in wayland unconditionally if the compositor is invoked wirh dbus-launch
Indeed, with starting the session from konsole with dbus-lunch the capplets are there in menus and mcc. I am using a login-manager (gdm), better for switching beween user accounts. Honestly, i don't see any progress with wayland. How should a normal user use it without a login manager..... This is only experimental for freaks.
Indeed, with starting the session from konsole with dbus-lunch the capplets are there in menus and mcc. I am using a login-manager (gdm), better for switching beween user accounts. Honestly, i don't see any progress with wayland. How should a normal user use it without a login manager..... This is only experimental for freaks.
Experimental right now. We need wayfire and/or another wlroots compositor to support looking for our .ini file to handle installing a session from a package manager. I have a simple one that works NOW from sddm with a couple scripts, but one of the three files has to be ~/.config/wayfire.ini to work. I will have to submit a feature request to wayfire for looking for session files in /etc
Real point to the wayland work is to be able to continue if distros start dropping x11: insurance. By that time we want our wayland support to be drop-in, ready to go.
https://github.com/WayfireWM/wayfire/issues/1929
EDIT: turns out we can create a session for wayland by including wayfire -c /path/to/your/wayfire.ini in the startup script, which for a mate-wayfire session could work with the config file in into /etc/mate, the startup script in /usr/bin, and the .desktop file in /usr/share/wayland-sessions
I should have a session package ready to test in a couple of days based on this
I now have a working, installable mate-wayland session, for now in my own repo at https://github.com/lukefromdc/mate-wayland-session
Other desktops offer this feature, and we should also add it. I use the
MATE desktop
, but every time I display system information, I have to open thegnome-control-center info-overview