Benjamin-Loison / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
0 stars 0 forks source link

Why `Experimental` in `Cinnamon on Wayland (Experimental)`? #74

Open Benjamin-Loison opened 6 months ago

Benjamin-Loison commented 6 months ago

Why not default in fact?

Can we make it the default? Just selecting once, make following reboots use Wayland for instance. Should focus on below related issue and should test if face Benjamin_Loison/gnome-control-center/issues/4.

Related to #73.

+11

Please use:

https://github.com/orgs/linuxmint/discussions

Benjamin-Loison commented 4 months ago

What about in VirtualBox virtual machines?

Benjamin-Loison commented 4 months ago

With Wayland:

Also have the keyboard in Qwerty in Cinnamon but not on Waydroid.

image

Changing Language to French does not help.

image

I doubt that Apply System-Wide worked because I may have typen incorrectly my password due to layout change, maybe could workaround thanks to a text editor and the clipboard.

layout does not seem to return an interesting entry in bottom left menu.

Without (within?) regular graphical environment:

image

On Wayland:

image

Benjamin-Loison commented 4 months ago

linuxmint/wayland/issues (source: https://forums.linuxmint.com/viewtopic.php?p=2418170&sid=d1445fb8f10830aee75ec5a416ea4841#p2418170, the remaining thread does not look interesting)

Relevant keyboard (found through search) for both opened and closed issues:

The Super User question 1806337

getxkbmap
Command 'getxkbmap' not found, did you mean:
  command 'setxkbmap' from deb x11-xkb-utils (7.7+8)
Try: sudo apt install <deb name>
setxkbmap
WARNING: Running setxkbmap against an Xwayland server
Benjamin-Loison commented 3 months ago

Related to Benjamin-Loison/cinnamon/issues/116#issuecomment-2257254831.

Benjamin-Loison commented 3 months ago

On Linux Mint 22 Cinnamon Framework 13 VirtualBox Linux Mint (trust) virtual machine:

image

image

Benjamin-Loison commented 2 months ago

Touchpad sensitivity seems increased on Wayland. While there is a Speed slider, it seems at the middle (thanks to the short Speed labelm as the cursor is below first em hence the middle of this word) and I guess that it is the same on X11.

So on Wayland:

image

On X11:

image

How could we measure the difference between physical distance/speed and actual software one?

Benjamin-Loison commented 2 months ago

Switch User and specify other graphical display system does not work in both ways.

Restart works fine however.

Benjamin-Loison commented 2 months ago

Would help Benjamin-Loison/termux-api/issues/23.

Benjamin-Loison commented 2 months ago

After a few minutes the brightness decreases suddenly and can be increase back manually.

It seems that click and shift click elsewhere does not select the text between both clicks.

Benjamin-Loison commented 2 months ago

image

Resuming from suspension (either with power button, keyboard and open lid) does not request password this is a severe security issue! Suspending with systemctl suspend does not help. Lock screen, Logout and Quit do not open a menu or do proceed.

gnome-screensaver-command
Command 'gnome-screensaver-command' not found, but can be installed with:
sudo apt install gnome-screensaver

Source: The Ask Ubuntu answer 7780

cinnamon-screensaver-command
cinnamon-screensaver is disabled in wayland sessions. Exiting.

Source: https://forums.linuxmint.com/viewtopic.php?p=1727270&sid=c26f2fb2dd71e797c12efb184b8f444f#p1727270

Except if physical power button is customized to, the only alternative is:

shutdown now
Benjamin-Loison commented 2 months ago

Maybe it is time to switch to Debian 12 GNOME.

Benjamin-Loison commented 2 months ago

What is the compositor used? As my issues, hence solutions, may be compositor specific.

ps -p "${tmp_pid}" -ho comm=
error: list of process IDs must follow -p

Usage:
 ps [options]

 Try 'ps --help <simple|list|output|threads|misc|all>'
  or 'ps --help <s|l|o|t|m|a>'
 for additional help text.

For more details see ps(1).

Source: the Stack Overflow comment 128418342

echo $WAYLAND_DISPLAY
wayland-0

The Stack Overflow answer 72755046

gcc main.c -o main
/usr/bin/ld: /tmp/ccXoIjNh.o: in function `main':
main.c:(.text+0x1e1): undefined reference to `wl_display_connect'
/usr/bin/ld: main.c:(.text+0x225): undefined reference to `wl_display_get_fd'
/usr/bin/ld: main.c:(.text+0x278): undefined reference to `wl_display_disconnect'
collect2: error: ld returned 1 exit status
gcc main.c -lwayland-client -o main

Source: the Stack Overflow question 78653419

works fine.

./main
pid: 2809, process name: cinnamon

maybe the compositor is Cinnamon.

Benjamin-Loison commented 2 months ago

DuckDuckGo and Google Wayland get current layout first pages of results do not seem to clearly help.

/etc/default/keyboard:

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="fr"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

Source: https://superuser.com/a/1300093

localectl status
System Locale: LANG=en_US.UTF-8
               LANGUAGE=en_US:en
               LC_NUMERIC=fr_FR.UTF-8
               LC_MONETARY=fr_FR.UTF-8
               LC_PAPER=fr_FR.UTF-8
               LC_NAME=fr_FR.UTF-8
               LC_ADDRESS=fr_FR.UTF-8
               LC_TELEPHONE=fr_FR.UTF-8
               LC_MEASUREMENT=fr_FR.UTF-8
               LC_IDENTIFICATION=fr_FR.UTF-8
    VC Keymap: (unset)                      
   X11 Layout: fr
    X11 Model: pc105

Source: https://superuser.com/a/1597527

dumpkeys
Couldn't get a file descriptor referring to the console.

Should investigate https://superuser.com/questions/1300091/show-current-keyboard-layout#comment2887870_1532529

Benjamin-Loison commented 2 months ago

https://github.com/linuxmint/wayland does not contain source code.