Subject: bug#51058: xdg-open wrong path in qt based applications (links wont be open)

From: "Hamzeh Nasajpour" <[email-masked]>
Date: Tue, 19 Oct 2021 12:27:42 +0330

You can replicate the issue with this minimal operating system configuration:

```
(use-modules  (gnu) 
              (gnu system nss) 
              (gnu packages kde-plasma))

(use-service-modules desktop networking ssh sddm dbus)

(use-package-modules ssh certs tls lxqt xorg)

(operating-system  
  (host-name "panther")  
  (timezone "Asia/Tehran")  
  (locale "en_US.utf8")
  ;; Boot in "legacy" BIOS mode  
  (bootloader 
    (bootloader-configuration                
    (bootloader grub-bootloader)                
    (target "/dev/sda"))) 

(file-systems 
  (cons 
    (file-system                        
      (device (file-system-label "my-root"))
    (mount-point "/")
    (type "ext4"))
    %base-file-systems))

(users 
  (cons 
    (user-account                
    (name "user")                
    (password "1234")                
    (group "users")                
    (supplementary-groups '("wheel" "audio" "video"))                
    (home-directory "/home/user"))            
  %base-user-accounts))
  
(packages 
  (cons* 
    openssh 
    nss-certs 
    gnutls                    
    lxqt 
    lxqt-globalkeys                                      
  %base-packages))  
  
(services 
  (cons*	      
    (sddm-service		    
      (sddm-configuration		      
        (minimum-uid 1000)		      
        (theme "elarun")))      
    (elogind-service)  
    (udisks-service)	      
    (dbus-service)	      
 
    (service polkit-service-type)	      
    (service upower-service-type)	      
    (service dhcp-client-service-type)	      
    ;; network configuration	      
    (service openssh-service-type		       
      (openssh-configuration			 
        (port-number 22)			 
        (permit-root-login #t)			 
        (authorized-keys 
        `(("user" ,(local-file "/etc/vagrant.pub"))     
          ("root" ,(local-file "/etc/vagrant.pub"))))))
    (service wpa-supplicant-service-type)	     
    %base-services)) 

;; Allow resolution of '.local' host names with mDNS.  
(name-service-switch %mdns-host-lookup-nss))
```

1. Now, please login and add `Directory Menu` widget to `lxqt-panel`. 
2. Click on `Directory Menu`, click on somewhere to open a folder.
3. You can't open none of them via `Directory Menu`.

Any idea?

--

Hamzeh Nasajpour
PantherX Team