[PR #758] [MERGED] Option to fix .desktop files for firecfg #3745

Closed
opened 2026-05-05 10:07:07 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/758
Author: @manevich
Created: 9/2/2016
Status: Merged
Merged: 9/3/2016
Merged by: @netblue30

Base: masterHead: firecfg


📝 Commits (3)

📊 Changes

2 files changed (+183 additions, -0 deletions)

View changed files

📝 src/firecfg/main.c (+171 -0)
📝 src/man/firecfg.txt (+12 -0)

📄 Description

Some .desktop files use full path to executable. As result, just running firecfg is not enough to run those apps in firejail using menu or file manager.
With --fix option firecfg will check .desktop files in /usr/share/applications/, replace full path by name if it is in PATH, and write result to $HOME/.local/share/applications/.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/758 **Author:** [@manevich](https://github.com/manevich) **Created:** 9/2/2016 **Status:** ✅ Merged **Merged:** 9/3/2016 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `firecfg` --- ### 📝 Commits (3) - [`c08a57c`](https://github.com/netblue30/firejail/commit/c08a57c8811cbb2868ab448de5b7e7a68e6b0bb4) firecfg: option to fix .desktop files - [`631353b`](https://github.com/netblue30/firejail/commit/631353bcdbf3819517e909ec12e1161ea6c27923) firecfg: update man - [`5bfd5dc`](https://github.com/netblue30/firejail/commit/5bfd5dc5d1dc4e36a70dec33bf97a380367ace26) firecfg: small fixes ### 📊 Changes **2 files changed** (+183 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/firecfg/main.c` (+171 -0) 📝 `src/man/firecfg.txt` (+12 -0) </details> ### 📄 Description Some `.desktop` files use full path to executable. As result, just running `firecfg` is not enough to run those apps in firejail using menu or file manager. With `--fix` option firecfg will check `.desktop` files in `/usr/share/applications/`, replace full path by name if it is in PATH, and write result to `$HOME/.local/share/applications/`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:07:07 -06:00
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#3745
No description provided.