linuxmint / linuxmint/cinnamon

Main menu ignores firejail

Open
#12,325 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Mint 22

Package version

6.2.7+wilma

Graphics hardware in use

No response

Frequency

Always

Bug description

I try to make Telegram launches inside firejail. But Cinnamon ignores any changes inside a Telegram.desktop or with the menu editor. It always launches itself.

Steps to reproduce
  1. Open main menu editor
  2. Select Telegram item
  3. Click on a "Properties" button.
  4. Prepend 'firejail' into command text field
  5. Launch Telegram

OR

  1. Open main menu editor
  2. Select Telegram item
  3. Click on a "Edit desktop file" button.
  4. Prepend 'firejail' to a 'Exec' property to make like this 'Exec=firejail /opt/Telegram/Telegram -- %u'
  5. Launch Telegram
Expected behavior

Telegram launches inside firejail. Command ps -ax contains 'firejail /opt/Telegram/Telegram' or firejail --list output is not empty.

Additional information

I have no idea how can it be. I tried to use update-desktop-database, edited .desktop without menu editor - directly in ./.local/share/applications, wrote full path to firejail - nothing helped. I'm not sure is this Cinnamon issue but I don't know how to investigate this trouble more.

Thank you.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the launch from the Cinnamon main menu editor using the Telegram.desktop entries described in the report. Compare the edited Exec value with the file under .local/share/applications and check update-desktop-database behavior, then verify the result with ps -ax or firejail --list. Done means Telegram launched from the menu shows firejail in the process evidence.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, linux
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.