Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-01-18 23:26:47

-iak-
Member
Registered: 2017-10-30
Posts: 99

Can't change icon to a .desktop file

Hello, I just created a .desktop file, it only contains the string «Exec="thunar"». When I try to change the icon, I got this error:

J7xahWd.png

which more or less means "keys file does not begin with a group"

How can I solve?

Last edited by -iak- (2022-01-18 23:31:04)

Offline

#2 2022-01-18 23:32:09

-iak-
Member
Registered: 2017-10-30
Posts: 99

Re: Can't change icon to a .desktop file

EDIT: I had troubles with the BBCode, now it works

Offline

#3 2022-01-18 23:39:53

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Can't change icon to a .desktop file

-iak- wrote:

Hello, I just created a .desktop file

How? Did you create it manually?

, it only contains the string «Exec="thunar"».

So the only content in this file is this string? The desktop spec calls for a specific file format.

Probably best to use "exo-desktop-item-edit" to create the desktop file - it will create the proper format.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2022-01-20 00:17:09

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: Can't change icon to a .desktop file

how did you try to change the icon?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 524.15 KiB (Peak: 531.77 KiB) ]