diff --git a/pcmanfm-qt-default-terminal.patch b/pcmanfm-qt-default-terminal.patch new file mode 100644 index 0000000..384105c --- /dev/null +++ b/pcmanfm-qt-default-terminal.patch @@ -0,0 +1,14 @@ +Index: config/pcmanfm-qt/lxqt/settings.conf.in +=================================================================== +--- config/pcmanfm-qt/lxqt/settings.conf.in.orig ++++ config/pcmanfm-qt/lxqt/settings.conf.in +@@ -5,8 +5,7 @@ SuCommand=lxsudo dbus-run-session -- %s + TerminalCommand= + Archiver=lxqt-archiver + SIUnit=false +-TerminalDirCommand=xterm +-TerminalExecCommand=xterm -e %s ++TerminalExecCommand=qterminal + + [Behavior] + BookmarkOpenMethod=0 diff --git a/pcmanfm-qt.changes b/pcmanfm-qt.changes index eb96825..9d86d82 100644 --- a/pcmanfm-qt.changes +++ b/pcmanfm-qt.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Sep 14 21:55:49 UTC 2022 - Shawn Dunn + +- fix default terminal, affects the right-click open terminal on desktop (gh#lxqt/pcmanfm-qt#1522) + * pcmanfm-qt-default-terminal.patch +- minor cleanup in %files to fix rpmlint errors + ------------------------------------------------------------------- Wed Apr 27 21:43:10 UTC 2022 - Michael Vetter diff --git a/pcmanfm-qt.spec b/pcmanfm-qt.spec index 27ce52c..d103db3 100644 --- a/pcmanfm-qt.spec +++ b/pcmanfm-qt.spec @@ -28,6 +28,8 @@ Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{n Source2: %{name}.keyring #bsc#1100208 - mvetter@suse.de - set default openSUSE wallpaper Patch0: pcmanfm-qt-default-wallpaper.patch +#gh#lxqt/pcmanfm-qt#1522 - sfalken@cloverleaf-linux.org - fix default terminal for lxqt desktop +Patch1: pcmanfm-qt-default-terminal.patch BuildRequires: cmake >= 3.1.0 BuildRequires: fdupes BuildRequires: gcc-c++ @@ -56,6 +58,7 @@ PCManFM-Qt is the Qt port of the LXDE file manager PCManFM %prep %setup -q %patch0 -p1 +%patch1 -p0 %build %cmake -DPULL_TRANSLATIONS=No @@ -74,8 +77,8 @@ make %{?_smp_mflags} %{_bindir}/%{name} %{_datadir}/applications/*.desktop %{_mandir}/man?/%{name}.?%{ext_man} -%{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop -%config %{_datadir}/pcmanfm-qt/lxqt/settings.conf +%config %{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop +%{_datadir}/pcmanfm-qt/lxqt/settings.conf %files lang -f %{name}.lang %dir %{_datadir}/pcmanfm-qt