Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #270308

Re: Modifying Desktop Icons

From Pranjal Singh <pranjal.singh4370@gmail.com>
Newsgroups linux.debian.user
Subject Re: Modifying Desktop Icons
Date 2024-06-20 19:50 +0200
Message-ID <IRu53-4kd3-5@gated-at.bofh.it> (permalink)
References <IQqPT-3ED0-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Eben,

Sorry for the late reply.
I realise I could've added more details.

On 18/06/24 01:31, eben@gmx.us wrote:
> On 6/17/24 15:29, Pranjal Singh wrote:
>> Hi,
>>
>> I am trying to modify the Firefox desktop icon so that it opens
>> an incognito window by default.
>
> ...
>
>> What I've done is changing /usr/share/applications/firefox.desktop:
>>
>> - Exec=firefox %u
>> + Exec=firefox -private-window %u
>>
>> I also created a desktop file in ~/.local/share/applications, but
>> that too didn't work.
>
> How didn't it work?  Did it run regular Firefox, or not run at all?

It runs regular Firefox after adding the -private-window flag.

To get a MWE, I made these changes later:
- Exec=firefox -private-window %u
- StartupWMClass=firefox
+Exec=gnome-calculator

This too doesn't change anything.
Meanwhile, I also found some seemingly unhelpful documentation at
https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html 
(Exec key - says what I expected)
https://specifications.freedesktop.org/desktop-entry-spec/latest/index.html 
(The entire specification)

Any ideas, anyone?

Grateful,
Pranjal

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Modifying Desktop Icons Pranjal Singh <pranjal.singh4370@gmail.com> - 2024-06-17 21:50 +0200
  Re: Modifying Desktop Icons eben@gmx.us - 2024-06-17 22:10 +0200
    Re: Modifying Desktop Icons Pranjal Singh <pranjal.singh4370@gmail.com> - 2024-06-20 19:50 +0200
      Re: Modifying Desktop Icons Greg Wooledge <greg@wooledge.org> - 2024-06-20 20:00 +0200
        Re: Modifying Desktop Icons debian-user@howorth.org.uk - 2024-06-20 22:00 +0200
          Re: Modifying Desktop Icons "Gareth Evans" <donotspam@fastmail.fm> - 2024-06-22 12:20 +0200
            Re: Modifying Desktop Icons [Solved] Pranjal Singh <pranjal.singh4370@gmail.com> - 2024-06-22 22:20 +0200
              Re: Modifying Desktop Icons [Solved] Max Nikulin <manikulin@gmail.com> - 2024-06-23 04:20 +0200
      Re: Modifying Desktop Icons Max Nikulin <manikulin@gmail.com> - 2024-06-21 04:10 +0200
  Re: Modifying Desktop Icons Gareth Evans <donotspam@fastmail.fm> - 2024-06-18 02:50 +0200
    Re: Modifying Desktop Icons Jeffrey Walton <noloader@gmail.com> - 2024-06-20 20:20 +0200
      Re: Modifying Desktop Icons <tomas@tuxteam.de> - 2024-06-20 20:40 +0200
    Re: Modifying Desktop Icons <tomas@tuxteam.de> - 2024-06-20 20:30 +0200
      Re: Modifying Desktop Icons debian-user@howorth.org.uk - 2024-06-20 22:00 +0200
        Re: Modifying Desktop Icons Greg Wooledge <greg@wooledge.org> - 2024-06-20 23:20 +0200
        Re: Modifying Desktop Icons <tomas@tuxteam.de> - 2024-06-21 06:40 +0200

csiph-web