elementary / gala

Gala Window Manager for elementary OS and Pantheon
https://elementary.io
GNU General Public License v3.0
271 stars 77 forks source link

Some issues on Debian 12 + xfce + gala #1755

Closed zevilz closed 4 months ago

zevilz commented 1 year ago

What Happened?

  1. Sometimes gala crashing after closing last window. gala --replace successfully launch gala after each crash.
  2. Not working alt+f2 when gala running.
  3. Is any way to pin window to top above others windows as in xfwm4?
  4. Conky crashing after run gala and not visible after conky restart. It configured as panel above xfce4-panel. It seems it not visible with any options.

.conkyrc:

conky.config = {
    background = false,
    use_xft = true,
    font = 'Noto Sans:size=8',
    xftalpha = 1,
    update_interval = 1.0,
    total_run_times = 0,
    own_window = true,
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_type = 'desktop',
    own_window_hints = 'undecorated,above,sticky,skip_taskbar,skip_pager',
    double_buffer = true,
    minimum_width = 860, minimum_height = 14,
    maximum_width = 1600,
    maximum = 'height 14',
    draw_shades = false,
    draw_outline = false,
    draw_borders = false,
    draw_graph_borders = false,
    out_to_ncurses = false,
    out_to_console = false,
    default_color = '#777777',
    alignment = 'top_left',
    gap_x = 8,
    gap_y = 6,
    no_buffers = true,
    uppercase = false,
    cpu_avg_samples = 2,
    override_utf8_locale = true,
    border_inner_margin = 0,
    border_outer_margin = 0,
    border_width = 0,
    text_buffer_size = 1024,
};

conky.text = [[
/: ${fs_free /}  •  \
Home: ${fs_free /home/}  •  \
Data: ${fs_free /media/evil/Data/}  •  \
RAM: $mem/$memmax  •  \
SWAP: $swap  •  \
NVME: ${execi 10 sensors | grep Composite | awk -F ' ' '{print $2}' | sed 's|\+||' | awk -F '.' '{print $1}'}°C / \
SDA: ${execi 10 ~/.conky/hddtemp/sda_temp.sh}°C / \
SDE: ${execi 10 ~/.conky/hddtemp/sde_temp.sh}°C / \
SDD: ${execi 10 ~/.conky/hddtemp/sdd_temp.sh}°C  •  \
GPU: ${exec sensors | grep edge | awk '{print $2}' | grep -Eo '[0-9]+\.[0-9]+'}°C  •  \
CPU: ${cpu cpu0}% / ${execi 10 sensors | grep Package | awk -F ' ' '{print $4}' | sed 's|\+||' | awk -F '.' '{print $1}'}°C  •  \
LA: ${loadavg}  •  \
APT: ${execi 10 cat ~/.conky/apt/security.txt} / ${execi 10 cat ~/.conky/apt/regular.txt}  •  \
${time %s}  •  \
${exec curl -s ifconfig.me | grep -E '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'}  •  \
${font Noto:size=8}↗ ${upspeedf enp7s0} KiB ➘ ${downspeedf enp7s0} KiB
]];

Steps to Reproduce

  1. Install Debian 12 amd64 with xfce4.
  2. Install dependencies - meson gettext gnome-settings-daemon-dev gsettings-desktop-schemas-dev libcanberra-dev libcanberra-gtk3-dev libclutter-1.0-dev libgee-0.8-dev libgexiv2-dev libglib2.0-dev libgnome-desktop-3-dev libgranite-dev libgtk-3-dev libxml2-utils valac libmutter-11-dev.
  3. Clone latest gala, build and install.
  4. Start gala with gala --replace.

OS Version

Debian 12

Software Version

Compiled from git (v. 7.1.2)

Log Output

Build log:

The Meson build system
Version: 1.0.1
Source dir: /home/evil/Загрузки/gala
Build dir: /home/evil/Загрузки/gala/build
Build type: native build
Project name: gala
Project version: 7.1.2
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
Vala compiler for the host machine: valac (valac 0.56.3)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring config.h using configuration
Library config found: YES
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency libcanberra found: YES 0.30
Run-time dependency glib-2.0 found: YES 2.74.6
Run-time dependency gobject-2.0 found: YES 2.74.6
Run-time dependency gio-2.0 found: YES 2.74.6
Run-time dependency gio-unix-2.0 found: YES 2.74.6
Run-time dependency gmodule-2.0 found: YES 2.74.6
Run-time dependency gtk+-3.0 found: YES 3.24.37
Run-time dependency gdk-x11-3.0 found: YES 3.24.37
Run-time dependency gee-0.8 found: YES 0.20.6
Run-time dependency granite found: YES 6.2.0
Run-time dependency gnome-desktop-3.0 found: YES 43.2
Run-time dependency gnome-settings-daemon found: YES 43.0
Library m found: YES
Library posix found: YES
Run-time dependency gexiv2 found: YES 0.14.0
Run-time dependency libsystemd found: YES 252
Found CMake: /usr/bin/cmake (3.25.1)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency libmutter-10 found: NO (tried pkgconfig and cmake)
Run-time dependency libmutter-11 found: YES 43.6
Dependency libmutter-11 found: YES 43.6 (cached)
Run-time dependency mutter-cogl-11 found: YES 43.6
Run-time dependency mutter-cogl-pango-11 found: YES 43.6
Run-time dependency mutter-clutter-11 found: YES 43.6
Run-time dependency libmutter-12 found: NO (tried pkgconfig and cmake)
Program msgfmt found: YES (/usr/bin/msgfmt)
Run-time dependency systemd found: YES 252
Configuring io.elementary.gala@x11.service using configuration
Configuring io.elementary.gala@wayland.service using configuration
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring gala.deps using configuration
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Program vapigen found: YES (/usr/bin/vapigen)
Build targets in project: 218

gala 7.1.2

  User defined options
    prefix: /usr

Hardware Info

lenemter commented 1 year ago

Sometimes gala crashing after closing last window. gala --replace successfully launch gala after each crash.

Can you please provide backtrace? You can install coredumpctl (systemd-coredump package on Ubuntu, probably the same on Debian) launch gala, wait till it crashes and execute coredumpctl debug gala to get it please?

Not working alt+f2 when gala running.

Gala doesn't have this shortcut.

Is any way to pin window to top above others windows as in xfwm4?

Yes, just secondary click on the window titlebar and press "Always on top"

Conky crashing after run gala and not visible after conky restart. It configured as panel above xfce4-panel. It seems it not visible with any options.

You should probably ask somewhere else about this (you should also provide a backtrace similar to one from the 1st paragraph)

lenemter commented 4 months ago

I'll close this since no further issue details were provided.