linuxmint / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
2.52k stars 90 forks source link

Browse does not open Dolphin File Browser in KDE #338

Open Verizane opened 2 months ago

Verizane commented 2 months ago

Describe the bug timeshift has issues to open the target directory via "Browse" button, when the File Browser is Dolphin in KDE.

To Reproduce Steps to reproduce the behavior:

  1. Started timeshift-launcher from command line via
sudo /usr/bin/timeshift-launcher
  1. Created fresh snapshot
  2. Clicked on "Browse"
  3. The command line shows:
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    kf.service.services: KApplicationTrader: mimeType "x-scheme-handler/file" not found
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    /usr/bin/xdg-open: 491: test: Illegal number: 
    /usr/bin/xdg-open: 492: test: Illegal number: 
    /usr/bin/xdg-open: 493: test: Illegal number: 
    Running Dolphin with sudo can cause bugs and expose you to security vulnerabilities. Instead use Dolphin normally and you will be prompted for elevated privileges when performing file operations that require them.

Expected behavior Open Dolphin with the target directory of the snapshots

System: Debian 12 KDE Plasma 5.27.5 timeshift-version: 22.11.2

1Jack2 commented 4 days ago

Having the same issue with KDE/Wayland on Arch.

maybe you can try this https://github.com/linuxmint/timeshift/issues/147#issuecomment-1603674722

then refresh cache kbuildsycoca6 --noincremental