Giter Site home page Giter Site logo

xapp's Introduction

build

This project gathers the components which are common to multiple GTK desktop environments (Cinnamon, MATE and Xfce) and required to implement cross-DE solutions.

libxapp

A library available in C, Python and other languages (via Gobject Introspection).

API Reference

https://projects.linuxmint.com/xapp/reference/index.html

xapp-common

A set of resources and tools.

Scope

In the long term Xapps are there to provide applications to users in multiple DEs, but also to provide building blocks, resources and libraries to Linux developers who want to develop applications which work well in multiple DEs.

This project is still relatively new though and we can't yet commit to a stable ABI.

You are welcome to use libxapp or xapps-common in your application, but if you do, please make sure to tell us, so that we can communicate with you going forward about any potential changes.

xapp's People

Contributors

adamdicarlo avatar bobby285271 avatar clefebvre avatar collinss avatar eli-schwartz avatar ema-pe avatar fantu avatar itzexor avatar itzswirlz avatar joequant avatar josephmcc avatar kdb2 avatar leigh123linux avatar mtwebster avatar nikokrause avatar piiit avatar rcalixte avatar sparkybluefang avatar uhle avatar worldofpeace avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xapp's Issues

Amtk library, a GtkUIManager replacement based on GAction, to create traditional UIs

Hi,

I'm a GNOME developer who doesn't really like GtkHeaderBar for one of my application, I wanted to keep a traditional UI with a menubar, toolbar and statusbar. But GtkUIManager/GtkAction are deprecated, and there are several problems with GMenu and how to create a toolbar with what GTK+ 3 provides.

So I just wanted to let you know that I've created a new library, called Amtk, the acronym for “Actions, Menus and Toolbars Kit”. It is based on GAction.

There is a detailed introduction here, describing the problems with what GTK+ provides:
https://developer.gnome.org/tepl/unstable/amtk-intro.html

Amtk is currently a sub-library part of Tepl:
https://wiki.gnome.org/Projects/Tepl

See also:
https://wiki.gnome.org/Projects/GTK+/Menus

Feel free to close the issue, the intention was just to provide you the information ;-) I haven't find a mailing list to contact you on the Linux Mint website.

xapps-1.8.8: xapp-sn-watcher terminating shortly after launching Cinnamon

There appears to be a regression in xapps-1.8.8 where xapp-sn-watcher terminates shortly after Cinnamon is launched. I briefly see my libindicator icons in the XApp Status Applet but they they disappear when xapp-sn-watcher is no longer running.

This is related to the issue I reported here: linuxmint/cinnamon#9328

org.kde.StatusNotifierWatcher does not appear to be owned by xapp-sn-watcher when I search for it in d-feet.

Reverting to xapps-1.8.7 fixes the issue for me. I suspect this commit 624992e might be the source of the issue. Reversing that commit in 1.8.8 fixes the issue for me.

Shortcut to hide toolbar

I came here because I was looking for keyboard shortcut to hide the toolbar in Xreader. This is currently only possible by using a menu entry. I'm not sure if keyboard shortcuts are handled at lib level (couldn't find something in the code), but the issue over a Xreader suggests so: linuxmint/xreader#216

It might also be worth thinking about a way to customize keyboard shortcuts (in case this isn't something the lib already supports).

Ability to hide menubar

Feature Request

Ability to hide the menubar as a standard feature for all xapps with a menubar.

Problem

A lot of the xapps (e.g. xplayer, xed, xreader, etc.) do not support hiding the menubar. I personally (and I believe many other people) don't use the menubar most of the time. This leads to the following issues:

  • Valuable screen-space is wasted. This is especially a problem for people with small screens.
  • Unmodern and cluttered look.

Favorites (starred files)

Xapp should make it easy to quickly access the user's favorite files.

Starring files

To star a file, right-click it and choose "Star".

To unstar a file, right-click it and choose "Unstar".

Storage

We don't want to use indexing for this. A flat string array in dconf seems perfect.

Utility functions

libxapp should provide utility functions to:

  • add a path
  • remove a path
  • test if a path is starred
  • list starred paths for a given set of mimetypes, or for a given app

Nemo

  • The pin/unpin feature is replaced with star/unstar.
  • Starred files are pinned (i.e. they show at the top of the directory and in bold characters).
  • Starred files are given a star emblem.
  • In the sidebar, a new item called "Starred" is visible which shows all the starred files.

Cinnamon menu

  • A new "Starred Documents" is shown, above "Recent Documents", to list all the starred files.
  • If supported by the file manager, in Places, a new "Starred" place is shown.

Xed, Pix, Xviewer

  • Instead of showing recent files directly in the File menu, we now show a "Recent" submenu.
  • Above that submenu, a "Starred" submenu shows all the starred file which mimetype is handled by the application.

Xreader

  • Same as in Xed, Pix, Xviewer.
  • Xreader also shows a screen by default to show the recent documents. This screen needs to support starred documents as well.

Things to decide

pruning

We probably don't need to prune since the list of starred files is unlikely to get very big. It might be worth being able to unstar files which aren't accessible though (either on unmounted disks, or removed altogether).

The content of the starred place in Nemo could show inaccessible files. These could be shown dimmed for instance with a tooltip that explains why, and that would make it easy for the user to prune by unstarring them.

size of cinnamon menu

Would it be better to have recent and starred items in the same category? If so, how would we separate them?

terminology

Shall we call these files "Starred", or "Favorites"?

compatibility

  • How do we access these files from GtkFileChooser?
  • Can we be compatible with Nautilus starred items without using indexing?
  • If not, can we disable nautilus starred in GtkFileChooser?

Starred directories

Should we let users star directories? This can be useful for the following reasons:

  • To pin them (shown first and in bold)
  • To have their content starred.

If we do, do we consider all files in a starred directory to be starred?

Icon-picker search picks up invalid icons

Hi,

Using 1.4.1 icon-picker on 4.0.1 in Manjaro testing.

Manjaro for reasons unknown have a few different Manjaro logo icons sat in the root of /usr/share/icons/ outside of a specific icon theme.

Using the icon picker to change the menu icon and searching by name returns these icons and allows them to be selected but they fail to apply. Following a Cinnamon restart the menu is without a icon. The icon does show as selected when the icon picker is reopened to try and fix the issue.

I think the search by name function needs to specifically exclude icons that are just sat in the root of /usr/share/icons/ as these icons do not appear to be technically in the system icon path.

Users can still successfully apply them via the file-system browse.

Build instructions

I couldn't find any build instructions, so here's what I came up with for Ubuntu 18.04, hope it helps!

  1. Install these packages (and probably others, as I already had a lot of gtk-related dev packages on my system):
    build-essential, meson, valac, libgnomekbd-dev, python-gi-dev
  2. Run these commands:
cd xapps
mkdir builddir
meson builddir
cd builddir
ninja
sudo ninja install

xapp-sn-watcher.desktop loses entries after being toggled off and on a few times

If you toggle this off and on and off again several times in System Settings | Startup Applications, the line item turns to "Unavailable" "No Description". See attached screen shot. Looking at the file xapp-sn-watcher.desktop showed:

[Desktop Entry]
Type=Application
Exec=/bin/false
X-GNOME-Autostart-enabled=false

Failure is repeatable. Once the desktop file loses entries, it won't change again to what it should be.
Seems the action should just be to change X-GNOME-Autostart-enabled=true to false and back again.

Screenshot-from-2021-01-12-14-51-41

Wasn't sure to file it here or under Cinnamon. If its filed in the wrong place, please move it.

rendering problem in xplayer

Sometimes, xplayer does not draw its window completely after start, i.e. the video runs but the menu bar or the sidebar is not yet visible.
However, giving the focus to another window and back to xplayer appearently forces xplayer to draw completely.

crash report of xapp-sn-watcher

===================================================================
Info

       PID: 1762 (xapp-sn-watcher)
       UID: 1000 (luca)
       GID: 1000 (luca)
    Signal: 11 (SEGV)
 Timestamp: Mon 2020-08-03 18:21:49 CEST (1 day 1h ago)

Command Line: /usr/libexec/xapps/sn-watcher/xapp-sn-watcher
Executable: /usr/libexec/xapps/sn-watcher/xapp-sn-watcher
Control Group: /user.slice/user-1000.slice/session-c2.scope
Unit: session-c2.scope
Slice: user-1000.slice
Session: c2
Owner UID: 1000 (luca)
Boot ID: 36e78adf6edd4f85b5860a31ab7b0b47
Machine ID: b76cc7b1bbdc489e93909d2043031de8
Hostname: luca-T4000-C4000
Storage: /var/lib/systemd/coredump/core.xapp-sn-watcher.1000.36e78adf6edd4f85b5860a31ab7b0b47.1762.1596471709000000000000.lz4
Message: Process 1762 (xapp-sn-watcher) of user 1000 dumped core.

            Stack trace of thread 1762:
            #0  0x00007f82745d86e4 n/a (libglib-2.0.so.0 + 0x876e4)
            #1  0x00007f82745d8b90 g_utf8_normalize (libglib-2.0.so.0 + 0x87b90)
            #2  0x00005649903a21c7 n/a (xapp-sn-watcher + 0x131c7)
            #3  0x00007f827478ef49 n/a (libgio-2.0.so.0 + 0xb4f49)
            #4  0x00007f827478fb3d n/a (libgio-2.0.so.0 + 0xb5b3d)
            #5  0x00007f82747f589d n/a (libgio-2.0.so.0 + 0x11b89d)
            #6  0x00007f827478ef49 n/a (libgio-2.0.so.0 + 0xb4f49)
            #7  0x00007f827478fb3d n/a (libgio-2.0.so.0 + 0xb5b3d)
            #8  0x00007f82747f4eb1 n/a (libgio-2.0.so.0 + 0x11aeb1)
            #9  0x00007f82747f4fec n/a (libgio-2.0.so.0 + 0x11afec)
            #10 0x00007f827478ef49 n/a (libgio-2.0.so.0 + 0xb4f49)
            #11 0x00007f827478fb3d n/a (libgio-2.0.so.0 + 0xb5b3d)
            #12 0x00007f82747ea35f n/a (libgio-2.0.so.0 + 0x11035f)
            #13 0x00007f827478ef49 n/a (libgio-2.0.so.0 + 0xb4f49)
            #14 0x00007f827478ef8d n/a (libgio-2.0.so.0 + 0xb4f8d)
            #15 0x00007f82745a2e8e g_main_context_dispatch (libglib-2.0.so.0 + 0x51e8e)
            #16 0x00007f82745a3240 n/a (libglib-2.0.so.0 + 0x52240)
            #17 0x00007f82745a32e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)
            #18 0x00007f82747bcfd5 g_application_run (libgio-2.0.so.0 + 0xe2fd5)
            #19 0x0000564990398da8 main (xapp-sn-watcher + 0x9da8)
            #20 0x00007f827396c0b3 __libc_start_main (libc.so.6 + 0x270b3)
            #21 0x0000564990398e0e _start (xapp-sn-watcher + 0x9e0e)
            
            Stack trace of thread 1779:
            #0  0x00007f8273a5a96f __GI___poll (libc.so.6 + 0x11596f)
            #1  0x00007f82745a31ae n/a (libglib-2.0.so.0 + 0x521ae)
            #2  0x00007f82745a3533 g_main_loop_run (libglib-2.0.so.0 + 0x52533)
            #3  0x00007f82747f8eda n/a (libgio-2.0.so.0 + 0x11eeda)
            #4  0x00007f82745cc931 n/a (libglib-2.0.so.0 + 0x7b931)
            #5  0x00007f82736f6609 start_thread (libpthread.so.0 + 0x9609)
            #6  0x00007f8273a67103 __clone (libc.so.6 + 0x122103)
            
            Stack trace of thread 12688:
            #0  0x00007f8273a6070d syscall (libc.so.6 + 0x11b70d)
            #1  0x00007f82745f05a6 g_cond_wait_until (libglib-2.0.so.0 + 0x9f5a6)
            #2  0x00007f8274573561 n/a (libglib-2.0.so.0 + 0x22561)
            #3  0x00007f8274573b86 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x22b86)
            #4  0x00007f82745cd279 n/a (libglib-2.0.so.0 + 0x7c279)
            #5  0x00007f82745cc931 n/a (libglib-2.0.so.0 + 0x7b931)
            #6  0x00007f82736f6609 start_thread (libpthread.so.0 + 0x9609)
            #7  0x00007f8273a67103 __clone (libc.so.6 + 0x122103)
            
            Stack trace of thread 1778:
            #0  0x00007f8273a5a96f __GI___poll (libc.so.6 + 0x11596f)
            #1  0x00007f82745a31ae n/a (libglib-2.0.so.0 + 0x521ae)
            #2  0x00007f82745a32e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)
            #3  0x00007f82745a3331 n/a (libglib-2.0.so.0 + 0x52331)
            #4  0x00007f82745cc931 n/a (libglib-2.0.so.0 + 0x7b931)
            #5  0x00007f82736f6609 start_thread (libpthread.so.0 + 0x9609)
            #6  0x00007f8273a67103 __clone (libc.so.6 + 0x122103)
            
            Stack trace of thread 1780:
            #0  0x00007f8273a5a96f __GI___poll (libc.so.6 + 0x11596f)
            #1  0x00007f82745a31ae n/a (libglib-2.0.so.0 + 0x521ae)
            #2  0x00007f82745a32e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)
            #3  0x00007f82748f999d n/a (libdconfsettings.so + 0xa99d)
            #4  0x00007f82745cc931 n/a (libglib-2.0.so.0 + 0x7b931)
            #5  0x00007f82736f6609 start_thread (libpthread.so.0 + 0x9609)
            #6  0x00007f8273a67103 __clone (libc.so.6 + 0x122103)

===================================================================
GDB Log

[New LWP 1762]
[New LWP 1779]
[New LWP 12688]
[New LWP 1778]
[New LWP 1780]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/libexec/xapps/sn-watcher/xapp-sn-watcher'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f82745d86e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
[Current thread is 1 (Thread 0x7f82707cea80 (LWP 1762))]

===================================================================
GDB Backtrace

[New LWP 1762]
[New LWP 1779]
[New LWP 12688]
[New LWP 1778]
[New LWP 1780]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/libexec/xapps/sn-watcher/xapp-sn-watcher'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f82745d86e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
[Current thread is 1 (Thread 0x7f82707cea80 (LWP 1762))]
#0 0x00007f82745d86e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007f82745d8b90 in g_utf8_normalize () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00005649903a21c7 in ?? ()
#3 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007f827478fb3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x00007f82747f589d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7 0x00007f827478fb3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8 0x00007f82747f4eb1 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9 0x00007f82747f4fec in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00007f827478fb3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x00007f82747ea35f in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#13 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x00007f827478ef8d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#15 0x00007f82745a2e8e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f82745a3240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f82745a32e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f82747bcfd5 in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#19 0x0000564990398da8 in main ()

===================================================================
GDB Backtrace (all threads)

[New LWP 1762]
[New LWP 1779]
[New LWP 12688]
[New LWP 1778]
[New LWP 1780]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/libexec/xapps/sn-watcher/xapp-sn-watcher'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f82745d86e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
[Current thread is 1 (Thread 0x7f82707cea80 (LWP 1762))]

Thread 5 (Thread 0x7f826f6d8700 (LWP 1780)):
#0 0x00007f8273a5a96f in __GI___poll (fds=0x564991d30bb0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f82745a31ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f82745a32e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f82748f999d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
No symbol table info available.
#4 0x00007f82745cc931 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f82736f6609 in start_thread (arg=) at pthread_create.c:477
ret =
pd =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140198191924992, -139714878551920627, 140730600351406, 140730600351407, 140730600351552, 140198191922304, 75291069051531277, 75229479688040461}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#6 0x00007f8273a67103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 4 (Thread 0x7f827071f700 (LWP 1778)):
#0 0x00007f8273a5a96f in __GI___poll (fds=0x564991d39db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f82745a31ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f82745a32e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f82745a3331 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f82745cc931 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f82736f6609 in start_thread (arg=) at pthread_create.c:477
ret =
pd =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140198208993024, -139714878551920627, 140730600349694, 140730600349695, 140730600349840, 140198208990336, 75227405288173581, 75229479688040461}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#6 0x00007f8273a67103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 3 (Thread 0x7f826e811700 (LWP 12688)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1 0x00007f82745f05a6 in g_cond_wait_until () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f8274573561 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f8274573b86 in g_async_queue_timeout_pop () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f82745cd279 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f82745cc931 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0x00007f82736f6609 in start_thread (arg=) at pthread_create.c:477
ret =
pd =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140198176429824, -139714878551920627, 140730600350494, 140730600350495, 140730600350640, 140198176427136, 75293512351051789, 75229479688040461}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#7 0x00007f8273a67103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 2 (Thread 0x7f826ff1e700 (LWP 1779)):
#0 0x00007f8273a5a96f in __GI___poll (fds=0x564991d4f650, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f82745a31ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f82745a3533 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f82747f8eda in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#4 0x00007f82745cc931 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f82736f6609 in start_thread (arg=) at pthread_create.c:477
ret =
pd =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140198200600320, -139714878551920627, 140730600350126, 140730600350127, 140730600350272, 140198200597632, 75292277011083277, 75229479688040461}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#6 0x00007f8273a67103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 1 (Thread 0x7f82707cea80 (LWP 1762)):
#0 0x00007f82745d86e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#1 0x00007f82745d8b90 in g_utf8_normalize () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00005649903a21c7 in ?? ()
No symbol table info available.
#3 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#4 0x00007f827478fb3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#5 0x00007f82747f589d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#6 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#7 0x00007f827478fb3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#8 0x00007f82747f4eb1 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#9 0x00007f82747f4fec in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#10 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#11 0x00007f827478fb3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#12 0x00007f82747ea35f in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#13 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#14 0x00007f827478ef8d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#15 0x00007f82745a2e8e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#16 0x00007f82745a3240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#17 0x00007f82745a32e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#18 0x00007f82747bcfd5 in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#19 0x0000564990398da8 in main ()
No symbol table info available.
#0 0x00007f82745d86e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007f82745d8b90 in g_utf8_normalize () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00005649903a21c7 in ?? ()
#3 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007f827478fb3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x00007f82747f589d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7 0x00007f827478fb3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8 0x00007f82747f4eb1 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9 0x00007f82747f4fec in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00007f827478fb3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x00007f82747ea35f in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#13 0x00007f827478ef49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x00007f827478ef8d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#15 0x00007f82745a2e8e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f82745a3240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f82745a32e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f82747bcfd5 in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#19 0x0000564990398da8 in main ()

No more anonymous pastes allowed on gist.github.com

https://blog.github.com/2018-02-18-deprecation-notice-removing-anonymous-gist-creation/
Any user using pastebin command receives the following in terminal
Error: Got Net::HTTPUnprocessableEntity from gist: {"message":"Validation Failed","errors":[{"resource":"Gist","code":"missing_field","field":"user"}],"documentation_url":"https://developer.github.com/v3/gists/#create-a-gist"}
User can only use gist.github.com after logging in using gist-paste --login and entering their github username/password

Icon-picker fails to revert custom icons applied to nemo-desktop items (Mounted Drives, Home etc)

Mint 19.2, Cinnamon 4.2.4, Nemo 4.2.3, Xapps 1.4.9

The icon picker allows custom-icons to be set for icons directly under the control of nemo-desktop (Computer / Home / Mounted Drives etc). These custom icon definitions appear to be stored in ~/.config/nemo/desktop-metadata rather than in ~/.local/share/gvfs-metadata.

Although custom icons can be set with this method, the revert function fails silently with no errors. The only way to revert to defaults is to manually edit or delete ~/.config/nemo/desktop-metadata and restart the desktop with nemo-desktop -q

How to smallen the icons

I have installed Linux Mint 20 MATE, Xapp v1.8.10+ulyana, and as I have a small screen the icons on Xapp look too big.

I'm able to change the Panel's size, but not Xapp's. Is there any way to change this?

XApp progress bar support for Qt applications

Hi, I read with interest the discussion on application launcher progress bars here: https://blog.linuxmint.com/?p=3329

My application, Rapid Photo Downloader, currently implements application launcher progress bars (and badge counts) using libunity. It now works out of the box in any distro with KDE (e.g. openSUSE 15.2), Ubuntu (Gnome), Pop!_OS (Gnome with dash to panel), Fedora (Gnome with dash to panel), etc. For example, on openSUSE and Pop!_OS respectively:

opensuse-launcher

popos-integration

Where it does not work is with Linux Mint. I looked into your API as described in the blog post, and it only works with GTK windows, not Qt windows.

I see a couple of possibilities for Xapp progress bars:

  • integrate with libunity so calls to libunity automatically get sent to Xapp too, or
  • extend XApp to include Qt windows

Will you consider one of these options?

Thank you.

Icon-picker has a segmentation fault with certain third party icon themes

Cinnamon 4.2.3, Mint 19.2, xapps 1.4.9

Problematic icon themes

https://github.com/bikass/korla
https://github.com/Bonandry/yaru-plus

To reproduce install one of the problematic icon themes, open the menu configure GUI via terminal

steve@steve-Inspiron-5580:~$ xlet-settings applet [email protected]

It will open fine.

Click the icon button - no GUI is displayed and the terminal displays

Segmentation fault (core dumped)

The issue also breaks cinnamon-desktop-editor which does not open at all.

steve@steve-Inspiron-5580:~$ cinnamon-desktop-editor -m nemo-launcher -d ~/Desktop
Segmentation fault (core dumped)

Ref: linuxmint/cinnamon#8801

xlet-settings.py performance issue

Cinnamon 4.8.6
no daily builds
Fedora 33
NVidia GTX1060
X86_64 with 12 CPUs @ 4.1Ghz / 32GB     ####DRAM
Samsung SSD NVMe @ 3500 MBps

Issue
xlet-settings consumes high amount of CPU and heavily sputters and freezes while attempting to scroll through icons in the menu dialog -> icons. After some amount of time the CPU load decreases and the dialog becomes responsive which suggests some sort of caching or list is being created.

Steps to reproduce
Install papirus-dark icon theme.
Right click Menu -> Configure -> icon. The icon dialog pops up and select applications from the left pane. Attempt to scroll through the icons.

Expected behaviour
For the dialog to scroll seamlessly and not consume high amounts of CPU.

Also see here:
linuxmint/cinnamon#9905

The title in the authentication window isn't translated

  1. Install Linux Mint MATE 20 with french language, without multimedia codec, with no network and an automatic session.
  2. After the installation, connect the computer to the network and reboot.
  3. Install the missing french packages.
  4. Install the missing multimedia codecs. An authentication window appears. The text in this window is translated into french, excepted the title of the box :

authentification - Gestionnaire de logiciels

The title "To install or remove software, you need to authenticate" should have been translated into french.

Settings :: System Info :: Upload System Info Button Does Nothing

@lots0logs commented on Mon Nov 21 2016

  1. The system info module assumes that inxi is installed and throws an uncaught exception if its not (no feedback is visible to the user though--just seems like the button doesn't do anything). inxi isn't a hard dependency in 3.2, is it?

  2. After installing inxi and trying again, still nothing happens when pressing the button. Running it from a terminal shows another (different) uncaught exception:

 File "/usr/bin/upload-system-info", line 9, in <module>
    output = output.split()[0] # if we have more than one URL, only use the first one
IndexError: list index out of range

recipe for target 'override_dh_install' failed

Ubuntu 17.10

Building 1.1.0 with:

dpkg-buildpackage --no-sign --build=binary

leads to:

rm debian/tmp/usr/lib/*/*.la
rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyc
rm: cannot remove 'debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyc': No such file or directory
debian/rules:24: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/home/actionmystique/src/Xapp/git-xapp'
debian/rules:9: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

Full build log is xapp_1.1.0_amd64.build.txt

.

USB formatter offers to format wrong USB stick

On two Mint laptops, one Cinnamon and one XFCE, I tried to use the bundled USB formatting tool. On both computers, an icon for the stick (which is made by Lexar) appeared on my desktop and in both cases the stick was identified as being called 'Linux Mint'. On both laptops, though, the formatting program identified the stick as 'Kingston Data Traveller'. Earlier today I had had a Kingston USB in the drives of both computers.

Faced with this, I worried about the format and resorted to formatting the stick on . . Windows.

soversion is weird, possibly broken

$ bsdtar -tvf xapp-2.0.0-1-x86_64.pkg.tar.zst
[...]
lrwxrwxrwx  0 root   root        0 Nov 26 15:48 usr/lib/libxapp.so -> libxapp.so.1
lrwxrwxrwx  0 root   root        0 Nov 26 15:48 usr/lib/libxapp.so.1 -> libxapp.so.2.0.0
-rwxr-xr-x  0 root   root   214712 Nov 26 15:48 usr/lib/libxapp.so.2.0.0
[...]

This occurs due to

xapp/libxapp/meson.build

Lines 97 to 101 in dc2d288

libxapp = library('xapp',
sources : xapp_headers + xapp_sources + xapp_enums + dbus_headers + favorite_vfs_sources,
include_directories: [top_inc],
version: meson.project_version(),
soversion: '1',

version: '2.0.0'
soversion: '1'

What's the intention here? To use soname versioning tracking the project version? To manually maintain an ABI of "1"?

xapp-sn-watcher crashes while booting if notebook boots without power cable

Dear all,
I have a very new HP Laptop 15s eq0 with bios from april, 2020 and a Ryzen 5 3500U inside.
I installed LinuxMint 20 and everything looks fine, Mint is installed and customized, kernel 5.4.0-39-generic x86_64 is running, but:
if I disconnect the power cable and boot the laptop I will get a black screen instead of a login screen. After waiting a minute I powered off the machine, connected the power cable and booting worked fine again. This behaviour is reproduceable.
I am not shure if I have forced the following crash because of powering off the machine, but this was the only way to get the machine running.
You can find an indicator of this crash, hopefully:

Info

       PID: 1643 (xapp-sn-watcher)
       UID: 1000 (xx)
       GID: 1000 (xx)
    Signal: 11 (SEGV)
 Timestamp: Mon 2020-06-29 18:22:51 CEST (39s ago)

Command Line: /usr/libexec/xapps/sn-watcher/xapp-sn-watcher
Executable: /usr/libexec/xapps/sn-watcher/xapp-sn-watcher
Control Group: /user.slice/user-1000.slice/session-c2.scope
Unit: session-c2.scope
Slice: user-1000.slice
Session: c2
Owner UID: 1000 (xx)
Boot ID: xx
Machine ID: xx
Hostname: HP-Laptop-15s-eq0xxx
Storage: /var/lib/systemd/coredump/core.xapp-sn-watcher.1000.58c2cb0253664136a353e25501762439.1643.1593447771000000000000.lz4
Message: Process 1643 (xapp-sn-watcher) of user 1000 dumped core.

            Stack trace of thread 1643:
            #0  0x00007f6d0bdfb6e4 n/a (libglib-2.0.so.0 + 0x876e4)
            #1  0x00007f6d0bdfbb90 g_utf8_normalize (libglib-2.0.so.0 + 0x87b90)
            #2  0x00005634255f81c7 n/a (xapp-sn-watcher + 0x131c7)
            #3  0x00007f6d0bfb1f49 n/a (libgio-2.0.so.0 + 0xb4f49)
            #4  0x00007f6d0bfb2b3d n/a (libgio-2.0.so.0 + 0xb5b3d)
            #5  0x00007f6d0c01885d n/a (libgio-2.0.so.0 + 0x11b85d)
            #6  0x00007f6d0bfb1f49 n/a (libgio-2.0.so.0 + 0xb4f49)
            #7  0x00007f6d0bfb2b3d n/a (libgio-2.0.so.0 + 0xb5b3d)
            #8  0x00007f6d0c017e71 n/a (libgio-2.0.so.0 + 0x11ae71)
            #9  0x00007f6d0c017fac n/a (libgio-2.0.so.0 + 0x11afac)
            #10 0x00007f6d0bfb1f49 n/a (libgio-2.0.so.0 + 0xb4f49)
            #11 0x00007f6d0bfb2b3d n/a (libgio-2.0.so.0 + 0xb5b3d)
            #12 0x00007f6d0c00d31f n/a (libgio-2.0.so.0 + 0x11031f)
            #13 0x00007f6d0bfb1f49 n/a (libgio-2.0.so.0 + 0xb4f49)
            #14 0x00007f6d0bfb1f8d n/a (libgio-2.0.so.0 + 0xb4f8d)
            #15 0x00007f6d0bdc5e8e g_main_context_dispatch (libglib-2.0.so.0 + 0x51e8e)
            #16 0x00007f6d0bdc6240 n/a (libglib-2.0.so.0 + 0x52240)
            #17 0x00007f6d0bdc62e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)
            #18 0x00007f6d0bfdffd5 g_application_run (libgio-2.0.so.0 + 0xe2fd5)
            #19 0x00005634255eeda8 main (xapp-sn-watcher + 0x9da8)
            #20 0x00007f6d0b1930b3 __libc_start_main (libc.so.6 + 0x270b3)
            #21 0x00005634255eee0e _start (xapp-sn-watcher + 0x9e0e)
            
            Stack trace of thread 1677:
            #0  0x00007f6d0b28196f __GI___poll (libc.so.6 + 0x11596f)
            #1  0x00007f6d0bdc61ae n/a (libglib-2.0.so.0 + 0x521ae)
            #2  0x00007f6d0bdc6533 g_main_loop_run (libglib-2.0.so.0 + 0x52533)
            #3  0x00007f6d0c01be9a n/a (libgio-2.0.so.0 + 0x11ee9a)
            #4  0x00007f6d0bdef931 n/a (libglib-2.0.so.0 + 0x7b931)
            #5  0x00007f6d0af1d609 start_thread (libpthread.so.0 + 0x9609)
            #6  0x00007f6d0b28e103 __clone (libc.so.6 + 0x122103)
            
            Stack trace of thread 1674:
            #0  0x00007f6d0b28196f __GI___poll (libc.so.6 + 0x11596f)
            #1  0x00007f6d0bdc61ae n/a (libglib-2.0.so.0 + 0x521ae)
            #2  0x00007f6d0bdc62e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)
            #3  0x00007f6d0bdc6331 n/a (libglib-2.0.so.0 + 0x52331)
            #4  0x00007f6d0bdef931 n/a (libglib-2.0.so.0 + 0x7b931)
            #5  0x00007f6d0af1d609 start_thread (libpthread.so.0 + 0x9609)
            #6  0x00007f6d0b28e103 __clone (libc.so.6 + 0x122103)
            
            Stack trace of thread 1675:
            #0  0x00007f6d0b28196f __GI___poll (libc.so.6 + 0x11596f)
            #1  0x00007f6d0bdc61ae n/a (libglib-2.0.so.0 + 0x521ae)
            #2  0x00007f6d0bdc62e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)
            #3  0x00007f6d0c11899d n/a (libdconfsettings.so + 0xa99d)
            #4  0x00007f6d0bdef931 n/a (libglib-2.0.so.0 + 0x7b931)
            #5  0x00007f6d0af1d609 start_thread (libpthread.so.0 + 0x9609)
            #6  0x00007f6d0b28e103 __clone (libc.so.6 + 0x122103)
            
            Stack trace of thread 1864:
            #0  0x00007f6d0b28770d syscall (libc.so.6 + 0x11b70d)
            #1  0x00007f6d0be135a6 g_cond_wait_until (libglib-2.0.so.0 + 0x9f5a6)
            #2  0x00007f6d0bd96561 n/a (libglib-2.0.so.0 + 0x22561)
            #3  0x00007f6d0bd96b86 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x22b86)
            #4  0x00007f6d0bdf0279 n/a (libglib-2.0.so.0 + 0x7c279)
            #5  0x00007f6d0bdef931 n/a (libglib-2.0.so.0 + 0x7b931)
            #6  0x00007f6d0af1d609 start_thread (libpthread.so.0 + 0x9609)
            #7  0x00007f6d0b28e103 __clone (libc.so.6 + 0x122103)

===================================================================
GDB Log

[New LWP 1643]
[New LWP 1677]
[New LWP 1674]
[New LWP 1675]
[New LWP 1864]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/libexec/xapps/sn-watcher/xapp-sn-watcher'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f6d0bdfb6e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
[Current thread is 1 (Thread 0x7f6d07ff5a80 (LWP 1643))]

===================================================================
GDB Backtrace

[New LWP 1643]
[New LWP 1677]
[New LWP 1674]
[New LWP 1675]
[New LWP 1864]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/libexec/xapps/sn-watcher/xapp-sn-watcher'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f6d0bdfb6e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
[Current thread is 1 (Thread 0x7f6d07ff5a80 (LWP 1643))]
#0 0x00007f6d0bdfb6e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007f6d0bdfbb90 in g_utf8_normalize () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00005634255f81c7 in ?? ()
#3 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007f6d0bfb2b3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x00007f6d0c01885d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7 0x00007f6d0bfb2b3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8 0x00007f6d0c017e71 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9 0x00007f6d0c017fac in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00007f6d0bfb2b3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x00007f6d0c00d31f in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#13 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x00007f6d0bfb1f8d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#15 0x00007f6d0bdc5e8e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f6d0bdc6240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f6d0bdc62e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f6d0bfdffd5 in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#19 0x00005634255eeda8 in main ()

===================================================================
GDB Backtrace (all threads)

[New LWP 1643]
[New LWP 1677]
[New LWP 1674]
[New LWP 1675]
[New LWP 1864]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/libexec/xapps/sn-watcher/xapp-sn-watcher'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f6d0bdfb6e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
[Current thread is 1 (Thread 0x7f6d07ff5a80 (LWP 1643))]

Thread 5 (Thread 0x7f6d05ffc700 (LWP 1864)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1 0x00007f6d0be135a6 in g_cond_wait_until () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f6d0bd96561 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f6d0bd96b86 in g_async_queue_timeout_pop () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f6d0bdf0279 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f6d0bdef931 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0x00007f6d0af1d609 in start_thread (arg=) at pthread_create.c:477
ret =
pd =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140106228811520, 2737129514704051444, 140725383249342, 140725383249343, 140725383249488, 140106228808832, -2655374225830044428, -2655389674095371020}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#7 0x00007f6d0b28e103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 4 (Thread 0x7f6d0779f700 (LWP 1675)):
#0 0x00007f6d0b28196f in __GI___poll (fds=0x56342671b8b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f6d0bdc61ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f6d0bdc62e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f6d0c11899d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
No symbol table info available.
#4 0x00007f6d0bdef931 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f6d0af1d609 in start_thread (arg=) at pthread_create.c:477
ret =
pd =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140106253596416, 2737129514704051444, 140725383250254, 140725383250255, 140725383250400, 140106253593728, -2655379707818926860, -2655389674095371020}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#6 0x00007f6d0b28e103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 3 (Thread 0x7f6d07fa0700 (LWP 1674)):
#0 0x00007f6d0b28196f in __GI___poll (fds=0x5634267180d0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f6d0bdc61ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f6d0bdc62e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f6d0bdc6331 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f6d0bdef931 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f6d0af1d609 in start_thread (arg=) at pthread_create.c:477
ret =
pd =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140106261989120, 2737129514704051444, 140725383249870, 140725383249871, 140725383250016, 140106261986432, -2655378608844169996, -2655389674095371020}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#6 0x00007f6d0b28e103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 2 (Thread 0x7f6d0693e700 (LWP 1677)):
#0 0x00007f6d0b28196f in __GI___poll (fds=0x7f6cf8017af0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret =
#1 0x00007f6d0bdc61ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f6d0bdc6533 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f6d0c01be9a in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#4 0x00007f6d0bdef931 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f6d0af1d609 in start_thread (arg=) at pthread_create.c:477
ret =
pd =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140106238519040, 2737129514704051444, 140106253592590, 140106253592591, 140106253592736, 140106238516352, -2655380035847054092, -2655389674095371020}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#6 0x00007f6d0b28e103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 1 (Thread 0x7f6d07ff5a80 (LWP 1643)):
#0 0x00007f6d0bdfb6e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#1 0x00007f6d0bdfbb90 in g_utf8_normalize () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00005634255f81c7 in ?? ()
No symbol table info available.
#3 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#4 0x00007f6d0bfb2b3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#5 0x00007f6d0c01885d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#6 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#7 0x00007f6d0bfb2b3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#8 0x00007f6d0c017e71 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#9 0x00007f6d0c017fac in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#10 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#11 0x00007f6d0bfb2b3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#12 0x00007f6d0c00d31f in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#13 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#14 0x00007f6d0bfb1f8d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#15 0x00007f6d0bdc5e8e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#16 0x00007f6d0bdc6240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#17 0x00007f6d0bdc62e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#18 0x00007f6d0bfdffd5 in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#19 0x00005634255eeda8 in main ()
No symbol table info available.
#0 0x00007f6d0bdfb6e4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007f6d0bdfbb90 in g_utf8_normalize () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00005634255f81c7 in ?? ()
#3 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007f6d0bfb2b3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x00007f6d0c01885d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7 0x00007f6d0bfb2b3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8 0x00007f6d0c017e71 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9 0x00007f6d0c017fac in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00007f6d0bfb2b3d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x00007f6d0c00d31f in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#13 0x00007f6d0bfb1f49 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x00007f6d0bfb1f8d in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#15 0x00007f6d0bdc5e8e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f6d0bdc6240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f6d0bdc62e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f6d0bfdffd5 in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#19 0x00005634255eeda8 in main ()

File open/save dialogs look inconsistent and ugly

It's not a bug, however it's very annoying, the file dialogs look out of place and are very ugly, I think the problem is caused by the new GTK libraries.

Here are my screenshots for comparison.

screenshot at 2016-08-25 00-18-59

  1. The new one(used by xapps, Firefox and most others)

screenshot at 2016-08-25 00-25-57
2. The old one(still used by LibreOffice)

Both Mate and Cinnamon are affected (didn't tested XFCE and KDE ).

Xapp Status Icon Menu Items - very inconsistent paddings.

Cinnamon 4.6.6
xapp-common 1.8.8

Icons in use

Cjs-Message: 07:52:26.839: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: blueberry (org.x.StatusIcon.PID-2033-5)
Cjs-Message: 07:52:26.842: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: redshift-gtk (org.x.StatusIcon.PID-1766-5)
Cjs-Message: 07:52:26.844: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: keepassxc (org.x.StatusIcon.PID-3808-12)
Cjs-Message: 07:52:26.846: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: hp-systray (org.x.StatusIcon.PID-3808-13)
Cjs-Message: 07:52:26.847: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: flameshot (org.x.StatusIcon.PID-3808-14)
Cjs-Message: 07:52:26.849: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: mintUpdate.py (org.x.StatusIcon.PID-2380-5)
Cjs-Message: 07:52:26.851: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: nm-applet (org.x.StatusIcon.PID-1794-5)
Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested) 
Cjs-Message: 07:52:26.884: JS LOG: [LookingGlass/info] Hiding XAppStatusIcon (we have an applet): nm-applet (org.x.StatusIcon.PID-1794-5)

Some of the menus displayed for these various icons have anomalous horizontal padding consistently across a variety of different GTK themes. Examining the menus with GTK inspector I think there's space being left for an absent checkbox. The only one that looks correct is redshift which has checkboxes. The mintupdate menu doesn't appear to have the absent checkbox issue.

E.g.

2020-07-20_08-08
2020-07-20_08-08_1
2020-07-20_08-09
2020-07-20_08-10
2020-07-20_08-10_1

Applet icons sometimes appearing in double

When booting, applet icons (mostly NetworkManager Applet) often appear in double. Logging out and in again solves the problem.

Release Linux Mint 20 Ulyana 64-bit
Kernel Linux 5.4.0-40-generic x86_64
MATE 1.24.0

Screenshot at 2020-07-19 22-44-57

Feature request: document proxy icon in title bar that exposes useful features

I have an idea that will add an incredible feature to XApps that will meaningfully differentiate them from other competing offerings and attract people and their software to the XApp project.

On macOS, any document-based program using the NSDocument framework (basically all of them) gets a little proxy icon in its title bar. This icon is interactive! You can drag it as if it were the actual file itself. You can click on it to rename it. You can right-click on it to expose the path it lives at and open its containing folder. Some more examples:

http://osxdaily.com/2014/08/20/open-files-new-app-proxy-icon-mac-os-x/
http://osxdaily.com/2012/08/01/rename-file-mac-os-x-easy-way-title-bar/
http://osxdaily.com/2014/03/17/move-file-mac-window-titlebar/

These features add a mind-blowing level of productivity for advanced users. Apple had the ability to add these features because they control the whole ecosystem and pretty much all native programs uses the NSDocument framework that includes them by default. No such thing exists in the Linux world... until now, with XApps! XApp shared resources are early in life. If ever there was a perfect chance to add the above features, now would be it. These features would act as a magnet, drawing developers to the XApp ecosystem, not to mention enable some serious power user features for XApps.

pygobject/XApp.py fails with new pygobject.

After upgrading to Gnome 3.30 libs (most likely because of update to pygobject-3.30 ) pygobject/XApp.py fails to load with following backtrace

$ python3
Python 3.6.5 (default, Jun  8 2018, 06:42:37) 
[GCC 7.3.1 20180303 (ALT 7.3.1-alt4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import XApp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/usr/lib64/python3/site-packages/gi/importer.py", line 146, in load_module
    dynamic_module = load_overrides(introspection_module)
  File "/usr/lib64/python3/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib64/python3/site-packages/gi/overrides/XApp.py", line 21, in <module>
    class GtkWindow(XApp.GtkWindow):
  File "/usr/lib64/python3/site-packages/gi/module.py", line 215, in __getattr__
    wrapper = metaclass(name, bases, dict_)
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

And because of this fail cinnamon-settings also crashes.

File open dialog: address bar settings does not get obeyed

Tested with xed and xreader in LM 18 Cinnamon 64 bit

Click to open a file, the dialog shows the address bar as breadcrumb.
Now press ctrl-L to switch the address bar into edit mode.

Close the dialog and reopen it: It does again show in breadcrumb mode.

If you look in dconf at org.gtk.Settings.FileChooser you can see, that the value for location-mode gets changed according to the result of pressing ctrl-L. But although the value is set to filename-entry the dialog gets opened with the breadcrumb.

Bug or intended? I consider it as bug, as the current setting should get obeyed (just as e.g. Nemo does).

Cinnamon DE takes a long time to load, .xsession-errors identifies `xapp-sn-watcher` as the culprit

* Cinnamon version (cinnamon --version): 4.6.7 
* Nemo version (nemo --version): 4.6.5
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...): Manjaro Cinnamon 5.9.8-1
 * Graphics hardware *and* driver used:
Graphics:  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:1916 
           Display: x11 server: X.Org 1.20.9 compositor: muffin driver: intel 
           unloaded: modesetting alternate: fbdev,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 157 size: 310x170mm (12.2x6.7") 
           diag: 354mm (13.9") 
           OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 20.2.2 
           direct render: Yes 

 * 32 or 64 bit: 64-bit

Hi! Just wanted to start by saying thank you all for making the best and most solid desktop environment and libraries I have used. This is the first major issue I have come across in over a year of using Cinnamon and Xapp, and while it's not urgent, I would love to find out what's going on and how to fix it.

As of a week ago, after logging in, the Cinnamon panel will load, along with the Calendar applet, a Bash Sensors applet, nm-applet and blueman. Then there is a pause of around 30-40 seconds, during which nothing visibly happens on screen. After the pause,

  1. The desktop background loads
  2. The 'system tray' panel applet loads
  3. The xdg-autostart / "Startup Applications" apps and daemons all start at once

Before this last week, this entire "logging-in and starting Cinnamon and autostart applications" process would take ~8 seconds, as opposed to ~45 seconds currently.

My .xsession-errors log has this message

LOG: [LookingGlass/info] Cinnamon took 630 ms
cinnamon-session[1043]: WARNING: t+32.78984s: Application 'xapp-sn-watcher.desktop' failed to register before timeout
Flag 0x0001, status 0, EXIT 1 STAT 0

It looks like there is some issue with xapp-sn-watcher that causes the 30-40 second delay. This has been happening to me for around 7-10 days, but I can't see any package upgrades related to cinnamon or Xapps during that period of time. However, I have upgraded, installed and removed multiple 'icon theme' packages in pacman over that period, while testing out new themes and icon styles. I have Googled the symptoms but have had no luck finding anyone else experiencing this same issue.

I created a new user account and tried logging in with it, and the same issue occurred, with the same error message (including 30+ second delay) in that user's .xsession-errors, so I don't think it's related to my .config folder.

I have a feeling this might not be reproducible for others, so is there any way I can run xapp-sn-watcher in 'verbose' mode or otherwise create a log of any errors it is experiencing? I am very curious about what might be causing this, although I don't have any C experience I have just finished uni for the year so happy to help debug in any way I can, I have lots of time! Thanks again.

/usr/local/bin/pastebin lmde2

[edit2:
pastebin "not working/broken" on lmde(2)
I found the real problem: pastebin on lmde(2) was originally located in
/usr/local/bin/pastebin
Due to updates/cleanups it's now located in:
/usr/bin/pastebin
As - in my lmde(2) environment at least - /usr/local/bin is searched prior to /usr/bin; thus the old outdated/broken version in /usr/local/bin is found first and used.
Renaming/removing the outdated version at /usr/local/bin solves the problems - as the current version in /usr/bin works as expected.
Thus I've to correct my statement: the update-process should enshure that older versions (of every software) originally located in /usr/local/bin get removed in case the newer version moves to /usr/bin.
Which should by made a general rule - I guess,

thx - orcus

leaving the original - now completly irrelevant - post as history]

It looks like lmde(2) : /usr/local/bin/pastebin was (re)moved from mintsystem to xapps (where it does not seem to have been "arrived") + there is a problem with the installed version (which does not get updated due ?? to that (re)move-al )

I've made a local fix regarding the call + url - the original call is left as a comment above.

The problem hit's every lmde2 user comming to #linuxmint-help channel @spotchat as /usr/local/bin/pastebin is heavily used to pipe inxi -output to pastebin/gist-paste ...
fix see - below..

[edit: for some reason the formatting of the code is lost after pasting it here - which wil break the python code structure - which will in turn make the snippet not runable :-( - if somebody tries to fix his local lmde(2) pastebin DO NOT COPY THE WHOLE SCRIPT just copy the relevant line below the comment and watch your indents at your local copy... ]

`
#!/usr/bin/python2

import sys, os, stat, subprocess

content = ""

mode = os.fstat(0).st_mode
if stat.S_ISFIFO(mode):
content = sys.stdin.read()
elif stat.S_ISREG(mode):
content = sys.stdin.read()
else:
args = sys.argv[1:]
if len(args) == 1 and os.path.exists(args[0]):
with open(args[0], 'r') as infile:
content = infile.read()
else:
str_args = ' '.join(args)
content = str_args

if content != "":
#p = subprocess.Popen(["/bin/nc", "paste.linuxmint.com", "9999"], stdin = subprocess.PIPE)
p = subprocess.Popen(["/usr/bin/gist-paste"], stdin=subprocess.PIPE)
p.communicate(content)
`

can't compile the library

When trying to compile the library, I face this error:

Now type `make' to compile xapp
KDB@KDB-laptop ~/Sandbox/xapps $ make
make all-recursive
make[1]: Entering directory '/home/KDB/Sandbox/xapps'
Making all in libxapp
make[2]: Entering directory '/home/KDB/Sandbox/xapps/libxapp'
CC xapp-display.lo
xapp-display.c: In function 'create_blanking_window':
xapp-display.c:86:5: warning: 'gtk_widget_modify_bg' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:753): Use 'gtk_widget_override_background_color' instead [-Wdeprecated-declarations]
gtk_widget_modify_bg(window, GTK_STATE_NORMAL, &color);
^
xapp-display.c: In function 'xapp_display_blank_other_monitors':
xapp-display.c:104:86: warning: passing argument 1 of 'gtk_widget_get_window' from incompatible pointer type
active_monitor = gdk_screen_get_monitor_at_window (screen, gtk_widget_get_window(window));
^
In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0,
from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-3.0/gtk/gtkdialog.h:33,
from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:31,
from xapp-display.c:9:
/usr/include/gtk-3.0/gtk/gtkwidget.h:927:23: note: expected 'struct GtkWidget ' but argument is of type 'struct GtkWindow *'
GdkWindow * gtk_widget_get_window (GtkWidget *widget);
^
xapp-display.c:108:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < self->priv->num_outputs; i++)
^
xapp-display.c:108:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
xapp-display.c: In function 'xapp_display_unblank_monitors':
xapp-display.c:132:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < self->priv->num_outputs; i++)
^
Makefile:549: recipe for target 'xapp-display.lo' failed
make[2]: *
* [xapp-display.lo] Error 1
make[2]: Leaving directory '/home/KDB/Sandbox/xapps/libxapp'
Makefile:464: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/KDB/Sandbox/xapps'
Makefile:395: recipe for target 'all' failed
make: *** [all] Error 2

Copyright issues

Hey there,

I'm looking into uploading this to Debian and I found a bunch of copyright issues.

First and foremost, the only licensing for the project is the COPYING file, that is a GPL-2 file, but the debian/copyright says LGPL. So, which one is it?

Additionally, the AUTHORS file is empty, and there's no Copyright claims anywhere, so it's hard to justify the "Linux Mint" copyright in the debian/copyright file.

On top of this, the xfce4 wallpaper script says "GPL-3", but there's no GPL3 license included in the package. The terms of the GPL state that you need to ship the actual license with the source.

LMDE 4 - redshift icon not visible in taskbar

Hello everyone, :)

since 14.08.2020 there is an issue with the icon for redshift. It is not visible anymore. There es a free space in the taskbar. Doing a right click on it, the redshift menu is opening.
So the program itself is working but the icon is missing. This error only occured when using the Mint-Y theme.

Maybe the problem is located in the xapps - the error occured after the following updates on 14.08.2020:

xapps-common
libxapp1
gir1.2-xapp-1.0

redshift-icon-missing

Include a README file

It will be great to include a README file to explain what is the objectives of this library

Window controls of Disks is misplaced when they are at left

OS: Linux Mint 20, Cinnamon Edition

The window controls of Disks is too much shifted towards left. This happens only when the window controls are placed at left. This also happens in when the window is maximized.

Screenshot from 2020-11-02 12-35-17

I am not very sure whether this issue should be reported here. If not, where should I report it?

Build fails: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL

Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability
autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
configure.ac:24: installing './compile'
configure.ac:24: installing './config.guess'
configure.ac:24: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
libxapp/Makefile.am:46: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
libxapp/Makefile.am: installing './depcomp'
autoreconf: automake failed with exit status: 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build xapps-git.

[openSUSE] Fail to build sn-item.c:297:1: error: control reaches end of non-void function

I failed to build xapp 2.0.0 in openSUSE Tumbleweed with error control reaches end of non-void function.

[    5s] FAILED: xapp-sn-watcher/xapp-sn-watcher.p/sn-item.c.o 
[    5s] cc -Ixapp-sn-watcher/xapp-sn-watcher.p -Ixapp-sn-watcher -I../xapp-sn-watcher -I. -I.. -Ilibxapp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/wayland -I/usr/include/libxkbcommon -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libxml2 -I/usr/include/libdbusmenu-gtk3-0.4 -I/usr/include/libdbusmenu-glib-0.4 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wunused -Wimplicit-function-declaration -Wno-deprecated-declarations -Wno-deprecated -Wno-declaration-after-statement -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -pthread -MD -MQ xapp-sn-watcher/xapp-sn-watcher.p/sn-item.c.o -MF xapp-sn-watcher/xapp-sn-watcher.p/sn-item.c.o.d -o xapp-sn-watcher/xapp-sn-watcher.p/sn-item.c.o -c ../xapp-sn-watcher/sn-item.c
[    5s] ../xapp-sn-watcher/sn-item.c: In function ‘get_icon_surface’:
[    5s] ../xapp-sn-watcher/sn-item.c:326:19: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
[    5s]   326 |         if (width > 0 & height > 0 && byte_array_var != NULL &&
[    5s]       |             ~~~~~~^~~
[    5s] ../xapp-sn-watcher/sn-item.c: In function ‘surface_from_pixmap_data’:
[    5s] ../xapp-sn-watcher/sn-item.c:297:1: error: control reaches end of non-void function [-Werror=return-type]
[    5s]   297 | }
[    5s]       | ^
[    5s] cc1: some warnings being treated as errors

Failed to load module “xapp-gtk3-module”

Hello,

I try to start my JavaFX Application in InteliJDEA and it was always this message: "Gtk- Message: time: Failed to load module “xapp-gtk3-module”. I have Linux Mint 20.1 Cinnamon and System: Kernel: 5.8.0-48-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 4.8.6

Can you say please what should I do?

Than you very much!

Distributing flatpaks

Hey there. I remember being tentatively interested in Xapps, but I prefer to have most of my non-DE applications installed as Flatpaks, which means in many cases, I have been forced to use GNOME versions of applications that don't have better alternatives. Would you be interested in distributing Flatpak versions of the apps, be they in Flathub or your own repo?

list index out of range

Tested with inxi 2.3.8 and xapps 1.0.3 on top of Slackware Linux (current)

inxi
CPU~Dual core Pentium E5300 (-MCP-) speed/max~1203/2603 MHz Kernel~4.4.38-smp i686 Up~8 days Mem~2410.2/3778.6MB HDD~2320.5GB(28.8% used) Procs~259 Client~Shell inxi~2.3.8
upload-system-info 
An error occurred while uploading the system information:
list index out of range
Please make sure you're connected to the Internet.

License question

Can I assume than all Xapp is LGPL and take some code to my LGPL projects?

xapp_kbd_layout_controller_get_current_group assertion fails

Hi there,

at a seemingly random point during the Cinnamon session the keyboard layout applet disappears and cannot be loaded anymore. The keyboard shortcut to switch between layouts stops working too.
I think this is due to something going wrong in xapp-kbd-layout-controller.
Here's some suspicious error log in .xsession-error:

Cjs-Message: 19:13:16.380: JS LOG: Unknown network device type, is 14
Cjs-Message: 19:13:16.392: JS LOG: Unknown network device type, is 13
Cjs-Message: 19:13:16.392: JS LOG: Unknown network device type, is 13
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed

(cinnamon:1043): Cjs-WARNING **: 19:13:45.953: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/[email protected]/applet.js:265:9

Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed

(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/[email protected]/applet.js:265:9

Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed

(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/[email protected]/applet.js:265:9

Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed

(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/[email protected]/applet.js:269:9

Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed

(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/[email protected]/applet.js:269:9


(cinnamon:1043): Cjs-CRITICAL **: 19:13:47.841: JS ERROR: SyntaxError: unterminated character class @ /usr/share/cinnamon/js/misc/fileUtils.js line 210 > Function:3251

The main culprit being xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed. Why did that assertion fail? What can be done about it?

My configuration:

  • Linux 4.18.7-zen1-1-zen
  • Arch Linux (current, except kernel and graphic card drivers)
  • Cinnamon 4.0.8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.