thunar | Mirror repository , PRs are not watched , please use Xfce

 by   xfce-mirror C Version: thunar-4.18.6 License: GPL-2.0

kandi X-RAY | thunar Summary

kandi X-RAY | thunar Summary

thunar is a C library. thunar has no bugs, it has a Strong Copyleft License and it has low support. However thunar has 3 vulnerabilities. You can download it from GitHub.

Thunar is a modern file manager for the Xfce Desktop Environment. Thunar has been designed from the ground up to be fast and easy to use. Its user interface is clean and intuitive and does not include any confusing or useless options by default. Thunar starts up quickly and navigating through files and folders is fast and responsive.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              thunar has a low active ecosystem.
              It has 165 star(s) with 57 fork(s). There are 11 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              thunar has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of thunar is thunar-4.18.6

            kandi-Quality Quality

              thunar has 0 bugs and 0 code smells.

            kandi-Security Security

              OutlinedDot
              thunar has 3 vulnerability issues reported (1 critical, 1 high, 1 medium, 0 low).
              thunar code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              thunar is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              thunar releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              It has 1055 lines of code, 3 functions and 13 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of thunar
            Get all kandi verified functions for this library.

            thunar Key Features

            No Key Features are available at this moment for thunar.

            thunar Examples and Code Snippets

            No Code Snippets are available at this moment for thunar.

            Community Discussions

            QUESTION

            Escaping characters in bash
            Asked 2022-Mar-30 at 22:03
            • I use thunar as a file manager
            • I want to use "custom actions" on certain files (Thunar --> Edit --> Configure Custom Actions...)
            • the command I use is: xfce4-terminal -e "md5sum '%F'" --hold

            This works fine, except when the file path or file name contains a space. It just won't work as intended because the file can then not be found.

            I think this is because the spaces in the file path are not automatically escaped

            How do I solve this problem? Thank you in advance

            ...

            ANSWER

            Answered 2022-Mar-29 at 21:31

            You can easily escape a character with by placing a \ in front of it.

            Source https://stackoverflow.com/questions/71668977

            QUESTION

            Xdnd drop support faulty implementation
            Asked 2021-Jun-09 at 05:47

            I have implemented a Xdnd drop support implementation in VTK some time ago. It was working great except with Thunar file manager. All other file managers were working fine at the time. We dismissed this limitation a Thunar bug at the time.

            The feature I implemented was very simple:

            • Set the window of the application to be XdndAware
            • Receive the position message and respond that we are ready to receive
            • Receive the drop mesage and request a selection
            • Receive the selection notify and recover the URI
            • Convert the URI into something we can work with

            Nothing fancy, I did not even touch the list type.

            Fast forward a few years and now dolphin users cannot drop files correctly into our application. The URI is always the first file dropped since dolphin was started. Restarting our application has no effect. No bug at all with pcmanfm.

            This is not a dolphin bug and files can be dropped on blender or firefox from dolphin without issues.

            So there must be a bug in our implementation, but I've been staring at the code for some time and everything I tried had no effect, except for breaking Xdnd support completely.

            Here are the interesting part of the implementation:

            ...

            ANSWER

            Answered 2021-Jun-09 at 05:47
            Current Dolphin issue

            From some testing, the issue is with the preparation and sending of the XdndFinished ClientMessage back to the drag and drop source when handling the SelectionNotify event.

            Instead of:

            Source https://stackoverflow.com/questions/67750236

            QUESTION

            Sort workspaces numerically
            Asked 2020-Dec-09 at 22:45

            I'm using XMonad in combination with xmobar, and I'm having an issue with workspaces displayed on xmobar not being sorted numerically. Because workspace ID's are ultimately strings, they get sorted lexicographically. So, provided that I have 12 workspaces, they are sorted as 1 10 11 12 3 4 5 6 7 8 9, instead of 1 2 3 4 5 6 7 8 9 10 11 12. I think marshallPP is the culprit because prior to introducing independent screens, the workspaces were displayed correctly without ppSort. I know there is mkWsSort that creates a sorting function from a comparison function, however, I'm not sure how would I write the comparison function. This is my config:

            ...

            ANSWER

            Answered 2020-Dec-09 at 22:45

            You can see that the type signature of mkWsSort is X WorkspaceCompare -> X WorkspaceSort. ppSort needs a X WorkspaceSort, so you just need to provide a X WorkspaceCompare. WorkspaceCompare is an alias for WorkspaceId -> WorkspaceId -> Ordering, and WorkspaceId is an alias for String. So basically, this is just a long-winded path to say you need a string comparison function. You can make one that compares strings by trying to read them into Ints first, then comparing the two:

            Source https://stackoverflow.com/questions/65225820

            QUESTION

            D-Bus returns UnkownMethod - saying No such interface on object at path
            Asked 2020-Dec-06 at 16:05

            I want to write a short program, which triggers the Thumbnail creation for all pictures on my network share recursively (e.g. over night) - so that when I access a folder in Thunar, the thumbs are displayed immediately.

            I would say, that when I can access the API via gdbus call, then the system is setup correctly:

            ...

            ANSWER

            Answered 2020-Dec-06 at 16:05

            Have you checked what is happening with dbus-monitor? I'm not familiar with how gdbus works, but it looks like you're trying to call yourself:

            Source https://stackoverflow.com/questions/65168132

            QUESTION

            Testing for GVfs metadata support in C
            Asked 2020-Jul-15 at 10:23

            I am trying to add support for per-directory viewing settings to the Thunar file browser of the Xfce desktop. So for example if a user chooses to view the contents of a directory as a list rather than as a grid of icons, this setting is remembered for that directory and will be used whenever that directory is viewed.

            Now Thunar is built on GLib, and the mechanism we have chosen to use to implement this is to store metadata using GFile attributes, using methods like g_file_set_attributes_async to store keys with names such as "metadata::thunar-view-type". The per-directory feature can be turned on or off by the user via a checkbox in a preferences dialog. My knowledge of GIO and GLib is pretty limited, but I have now managed to get this all working as desired (you can see my merge request here if you are interested).

            Now as I understand it, the functionality that I am using here relies on something called "GVfs metadata", and as I understand it this might not be available on all systems. On systems where GVfs metadata is not available, I want to turn this functionality off and in particular make the checkbox in the preferences dialog insensitive (i.e. greyed out). Thus I need to write a function to detect if gvfs metadata support is available, by which I mean whether I can use functions like g_file_set_attributes_async to successfully save metadata so that it will be available in future.

            Thunar is written in C, so this function needs to be written in C using the C API for GLib, GIO, etc. The function I have come up with (from much reading of API documentation, modifying code scraps I have found, and experimentation) is as follows.

            ...

            ANSWER

            Answered 2020-Jul-15 at 10:23

            Call g_file_query_settable_attributes() and g_file_query_writable_namespaces() on the GFile, as described in the GFileInfo documentation:

            However, not all attributes can be changed in the file. For instance, the actual size of a file cannot be changed via g_file_info_set_size(). You may call g_file_query_settable_attributes() and g_file_query_writable_namespaces() to discover the settable attributes of a particular file at runtime.

            Source https://stackoverflow.com/questions/62715510

            QUESTION

            How to merge duplicate entries that produced by for loop
            Asked 2020-Jan-11 at 13:34

            Following my previous question which got closed— basically I have a script that check availability of packages on target server, the target server and the packages have been stored to an array.

            ...

            ANSWER

            Answered 2020-Jan-10 at 15:07

            Instead of making several ssh connections in nested loops consider this change

            Source https://stackoverflow.com/questions/59683823

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install thunar

            Thunar archive or Thunar tags.
            Both autogen.sh and configure will list missing dependencies. If your distribution provides development versions of the related packages, install them. Otherwise you will need to build and install the missing dependencies from source. For some additional build & debug hints, as well check the Thunar Wiki pages.

            Support

            Visit the reporting bugs page to view currently open bug reports and instructions on reporting new bugs or submitting bugfixes.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/xfce-mirror/thunar.git

          • CLI

            gh repo clone xfce-mirror/thunar

          • sshUrl

            git@github.com:xfce-mirror/thunar.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link