diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2019-04-02 09:41:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-02 09:41:17 +0000 |
commit | bd976150825d98f2cd1f2a96cd0f6677cac4b671 (patch) | |
tree | c4038cb2e46555d5efc247d5725a30792f8ac7a5 /src | |
parent | Fixup #2631 (diff) | |
download | firejail-bd976150825d98f2cd1f2a96cd0f6677cac4b671.tar.gz firejail-bd976150825d98f2cd1f2a96cd0f6677cac4b671.tar.zst firejail-bd976150825d98f2cd1f2a96cd0f6677cac4b671.zip |
Temp fix firecfg (#2634)
* Temp fixes for firecfg.config
* Create Builder.profile
* Create clocks.profile
* Create Logs.profile
* Create Maps.profile
* Add TODO to firecfg.config
Diffstat (limited to 'src')
-rw-r--r-- | src/firecfg/desktop_files.c | 4 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/firecfg/desktop_files.c b/src/firecfg/desktop_files.c index a40b5a824..c8f684abc 100644 --- a/src/firecfg/desktop_files.c +++ b/src/firecfg/desktop_files.c | |||
@@ -56,8 +56,10 @@ static int have_profile(const char *filename, const char *homedir) { | |||
56 | if (arg_debug) | 56 | if (arg_debug) |
57 | printf("checking profile for %s\n", filename); | 57 | printf("checking profile for %s\n", filename); |
58 | 58 | ||
59 | // we get strange names here, such as .org.gnom.gedit.desktop, com.uploadedlobster.peek.desktop, | 59 | // we get strange names here, such as .org.gnome.gedit.desktop, com.uploadedlobster.peek.desktop, |
60 | // or io.github.Pithos.desktop; extract the word before .desktop | 60 | // or io.github.Pithos.desktop; extract the word before .desktop |
61 | // TODO: implement proper fix for #2624 (names like org.gnome.Logs.desktop fall thru | ||
62 | // the 'last word' logic and don't get installed to ~/.local/share/applications | ||
61 | 63 | ||
62 | char *tmpfname = strdup(filename); | 64 | char *tmpfname = strdup(filename); |
63 | if (!tmpfname) | 65 | if (!tmpfname) |
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index d5c502a67..84f496d8c 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -4,6 +4,7 @@ | |||
4 | #qemu-system-x86_64 | 4 | #qemu-system-x86_64 |
5 | 0ad | 5 | 0ad |
6 | 2048-qt | 6 | 2048-qt |
7 | Builder | ||
7 | Cryptocat | 8 | Cryptocat |
8 | Cyberfox | 9 | Cyberfox |
9 | Discord | 10 | Discord |
@@ -12,7 +13,9 @@ FossaMail | |||
12 | Fritzing | 13 | Fritzing |
13 | Gitter | 14 | Gitter |
14 | JDownloader | 15 | JDownloader |
16 | Logs | ||
15 | Maelstrom | 17 | Maelstrom |
18 | Maps | ||
16 | Mathematica | 19 | Mathematica |
17 | Natron | 20 | Natron |
18 | QMediathekView | 21 | QMediathekView |
@@ -100,6 +103,7 @@ clementine | |||
100 | clion | 103 | clion |
101 | clipit | 104 | clipit |
102 | cliqz | 105 | cliqz |
106 | clocks | ||
103 | cmus | 107 | cmus |
104 | code | 108 | code |
105 | code-oss | 109 | code-oss |