! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
preferences don't recognize executable
Status:
RESOLVED: MOVED
Product:
Xfce4-settings
Component:
General

Comments

Description max_meer 2018-12-30 06:03:45 CET
I just installed notes - all works out fine. Then I wanted to set up a keyboard-shortcut, but this failed. I opened "General Keyboard Settings" switched to "Keyboard Shortcuts" clicked "Add" and wanted select the command. But I couldn't find it under executable despite it's there (in /usr/bin/ - one can see it under "All Files") AND there is no doubt, it is executable. Indeed if I click the panel icon I set up, it's worked perfect. But for unknown reasons it's impossible to create a shortcut.

I'm just started to learn Linux, so if you need more information let me which AND which way I can get they.

Thanks and greeting mm
Comment 1 Andre Miranda editbugs 2018-12-30 18:11:51 CET
Works for me, the executable name is xfce4-notes at /usr/bin, maybe it's a distro specific problem. Please, tell us which distribution you are using, what are the versions of gtk, xfce4-settings and xfce4-notes, and the output of "file /usr/bin/xfce4-notes".

That dialog is GtkFileChooserDialog called by xfce4-settings, therefore I'm moving this bug to the correct component.
Comment 2 max_meer 2018-12-30 22:08:01 CET
The executable works and in /usr/bin/, but the preferences-GUI provided to set up shortcuts, which offer the list of commands (/usr/bin) "refuse" to list "/usr/bin/xfce4-notes" as (an) executable (one can only select it from all files)

Distributor ID:	LinuxMint
Description:	Linux Mint 19 Tara
Release:	19
Codename:	tara
Linux version 4.15.0-42-generic (buildd@lcy01-amd64-017) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #45-Ubuntu SMP Thu Nov 15 19:32:10 UTC 2018

ii  libgtk-3-0:i386             3.22.30-1ubuntu1  i386         GTK+ graphical user interface library
ii  libgtk-3-bin                3.22.30-1ubuntu1  i386         programs for the GTK+ graphical user interface library
ii  libgtk-3-common             3.22.30-1ubuntu1  all          common files for the GTK+ graphical user interface library
ii  libgtk2-perl                2:1.24992-1build1 i386         Perl interface to the 2.x series of the Gimp Toolkit library
ii  libgtk2.0-0:i386            2.24.32-1ubuntu1  i386         GTK+ graphical user interface library
ii  libgtk2.0-bin               2.24.32-1ubuntu1  i386         programs for the GTK+ graphical user interface library
ii  libgtk2.0-cil               2.12.40-2         i386         CLI binding for the GTK+ toolkit 2.12
ii  libgtk2.0-common            2.24.32-1ubuntu1  all          common files for the GTK+ graphical user interface library
ii  libgtk3-perl                0.032-1           all          Perl bindings for the GTK+ graphical user interface library

xfce4-version 4.12

/usr/bin/xfce4-notes: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=078391f2c967ee87931269ed52c8ff446fcc42da, stripped

(is for sure not the best way provide the needed information, but I'm just a newbee)
Comment 3 max_meer 2018-12-30 22:11:49 CET
sorry I forget, the version of Notes is 1.8.1
Comment 4 Andre Miranda editbugs 2018-12-31 21:31:58 CET
"application/x-executable" is the only non-script mime filter defined by keyboard settings:
https://git.xfce.org/xfce/xfce4-settings/tree/dialogs/keyboard-settings/command-dialog.c#n268

Strangely it works for me, i.e. xfce4-notes appear in the file chooser dialog, even though the mime is different from the filtered ones.

$ file --mime-type /usr/bin/xfce4-notes
/usr/bin/xfce4-notes: application/x-pie-executable

$ xdg-mime query filetype /usr/bin/xfce4-notes
application/x-sharedlib

I don't know if I'm missing something or if we need to update that mime type filter.

Please let us know what "file --mime-type" and "xdg-mime" report to you and if "sudo update-mime-database /usr/share/mime" makes any difference.
Comment 5 Git Bot editbugs 2020-05-28 23:12:01 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/125.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14996

Reported by:
max_meer
Reported on: 2018-12-30
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
4 users

Version

Version:
unspecified

Attachments

Additional information