[GH-ISSUE #3179] firecfg and .desktop, the third. #1991

Closed
opened 2026-05-05 08:39:21 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @rusty-snake on GitHub (Jan 23, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3179

After #2624 and #3101, now the next firecfg .desktop bug. I'm currently working on profiles for WPS (see #1139), I detected that firecfg doesn't fix the .desktop files for wps-office although it creates symlinks.

$ cat /usr/share/applications/wps-office-wps.desktop 
[Desktop Entry]
Comment=Use WPS Writer to edit articles and reports.
Comment[zh_CN]=使用 WPS 文字编写报告,排版文章
Exec=/usr/bin/wps %U
GenericName=WPS Writer
GenericName[zh_CN]=WPS 文字
MimeType=application/wps-office.wps;application/wps-office.wpt;application/wps-office.wpso;application/wps-office.wpss;application/wps-office.doc;application/wps-office.dot;application/vnd.ms-word;application/msword;application/x-msword;application/msword-template;application/wps-office.docx;application/wps-office.dotx;application/rtf;application/vnd.ms-word.document.macroEnabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.document;x-scheme-handler/ksoqing;x-scheme-handler/ksowps;x-scheme-handler/ksowpp;x-scheme-handler/ksoet;x-scheme-handler/ksowpscloudsvr;x-scheme-handler/ksowebstartupwps;x-scheme-handler/ksowebstartupet;x-scheme-handler/ksowebstartupwpp;
Name=WPS Writer
Name[zh_CN]=WPS 文字
StartupNotify=false
Terminal=false
Type=Application
Categories=Office;WordProcessor;Qt;
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Icon=wps-office2019-wpsmain
InitialPreference=3
StartupWMClass=wps
Originally created by @rusty-snake on GitHub (Jan 23, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3179 After #2624 and #3101, now the next firecfg .desktop bug. I'm currently working on profiles for WPS (see #1139), I detected that firecfg doesn't fix the .desktop files for wps-office although it creates symlinks. ``` $ cat /usr/share/applications/wps-office-wps.desktop [Desktop Entry] Comment=Use WPS Writer to edit articles and reports. Comment[zh_CN]=使用 WPS 文字编写报告,排版文章 Exec=/usr/bin/wps %U GenericName=WPS Writer GenericName[zh_CN]=WPS 文字 MimeType=application/wps-office.wps;application/wps-office.wpt;application/wps-office.wpso;application/wps-office.wpss;application/wps-office.doc;application/wps-office.dot;application/vnd.ms-word;application/msword;application/x-msword;application/msword-template;application/wps-office.docx;application/wps-office.dotx;application/rtf;application/vnd.ms-word.document.macroEnabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.document;x-scheme-handler/ksoqing;x-scheme-handler/ksowps;x-scheme-handler/ksowpp;x-scheme-handler/ksoet;x-scheme-handler/ksowpscloudsvr;x-scheme-handler/ksowebstartupwps;x-scheme-handler/ksowebstartupet;x-scheme-handler/ksowebstartupwpp; Name=WPS Writer Name[zh_CN]=WPS 文字 StartupNotify=false Terminal=false Type=Application Categories=Office;WordProcessor;Qt; X-DBUS-ServiceName= X-DBUS-StartupType= X-KDE-SubstituteUID=false X-KDE-Username= Icon=wps-office2019-wpsmain InitialPreference=3 StartupWMClass=wps ```
gitea-mirror 2026-05-05 08:39:21 -06:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@rusty-snake commented on GitHub (Jan 24, 2020):

Duplicate of #2624

<!-- gh-comment-id:578308107 --> @rusty-snake commented on GitHub (Jan 24, 2020): Duplicate of #2624
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1991
No description provided.