Public bug reported:

The icon path of ltris.desktop is wrong.
It points to `/usr/share/games/icons/ltris48.gif`, which does not exist.

```
antonialoy@LY910:~$ file /usr/share/games/icons/ltris48.gif
/usr/share/games/icons/ltris48.gif: cannot open 
`/usr/share/games/icons/ltris48.gif' (No such file or directory)
```

Distribution:

```
antonialoy@LY910:~$ lsb_release -a
Distributor ID: Linuxmint
Description:    Linux Mint 20.1
Release:        20.1
Codename:       ulyssa
```

Linux Mint Ulyssa is based on Ubuntu Focal and the package is from the
Ubuntu archive, so it should happen in Ubuntu too:

```
antonialoy@LY910:~$ apt-cache madison ltris
     ltris | 1.0.19-3build1 | http://archive.ubuntu.com/ubuntu focal/universe 
amd64 Packages
```

Then, if I list the contents of the package, there isn't any ltris48.gif
file, but there's a pixmap of the program available:

```
antonialoy@LY910:~$ sudo dpkg -L ltris
[...]
/usr/share/pixmaps/ltris.xpm
[...]
```

So, pointing the Icon path of the desktop file to
`/usr/share/pixmaps/ltris.xpm` instead of
`/usr/share/games/icons/ltris48.gif` solves this bug.

** Affects: ltris (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Proposed solution to this bug"
   
https://bugs.launchpad.net/bugs/1931470/+attachment/5503611/+files/01-fix-desktop-icon.patch

** Description changed:

  The icon path of ltris.desktop is wrong.
  It points to `/usr/share/games/icons/ltris48.gif`, which does not exist.
  
- ```
+ 
  antonialoy@LY910:~$ file /usr/share/games/icons/ltris48.gif
  /usr/share/games/icons/ltris48.gif: cannot open 
`/usr/share/games/icons/ltris48.gif' (No such file or directory)
- ```
+ 
  
  Distribution:
  
- ```
  antonialoy@LY910:~$ lsb_release -a
  Distributor ID:       Linuxmint
  Description:  Linux Mint 20.1
  Release:      20.1
  Codename:     ulyssa
- ```
- 
- Linux Mint Ulyssa is based on Ubuntu package and the package is from the
- Ubuntu archive, so it should happen in Ubuntu too:
- 
- ```
- antonialoy@LY910:~$ apt-cache madison ltris
-      ltris | 1.0.19-3build1 | http://archive.ubuntu.com/ubuntu focal/universe 
amd64 Packages
- ```
  
  
- Then, if I list the contents of the package, there isn't any ltris48.gif
- file, but there's a pixmap of the program available:
+ Linux Mint Ulyssa is based on Ubuntu package and the package is from the 
Ubuntu archive, so it should happen in Ubuntu too:
  
- ```
+ 
+ antonialoy@LY910:~$ apt-cache madison ltris
+      ltris | 1.0.19-3build1 | http://archive.ubuntu.com/ubuntu focal/universe 
amd64 Packages
+ 
+ 
+ Then, if I list the contents of the package, there isn't any ltris48.gif 
file, but there's a pixmap of the program available:
+ 
+ 
  antonialoy@LY910:~$ sudo dpkg -L ltris
  [...]
  /usr/share/pixmaps/ltris.xpm
  [...]
- ```
  
- So, pointing the Icon path of the desktop file to
- `/usr/share/pixmaps/ltris.xpm` instead of
- `/usr/share/games/icons/ltris48.gif` solves this bug.
+ 
+ So, pointing the Icon path of the desktop file to 
`/usr/share/pixmaps/ltris.xpm` instead of `/usr/share/games/icons/ltris48.gif` 
solves this bug.

** Description changed:

  The icon path of ltris.desktop is wrong.
  It points to `/usr/share/games/icons/ltris48.gif`, which does not exist.
  
- 
+ ```
  antonialoy@LY910:~$ file /usr/share/games/icons/ltris48.gif
  /usr/share/games/icons/ltris48.gif: cannot open 
`/usr/share/games/icons/ltris48.gif' (No such file or directory)
- 
+ ```
  
  Distribution:
  
+ ```
  antonialoy@LY910:~$ lsb_release -a
  Distributor ID:       Linuxmint
  Description:  Linux Mint 20.1
  Release:      20.1
  Codename:     ulyssa
+ ```
  
+ Linux Mint Ulyssa is based on Ubuntu Focal and the package is from the
+ Ubuntu archive, so it should happen in Ubuntu too:
  
- Linux Mint Ulyssa is based on Ubuntu package and the package is from the 
Ubuntu archive, so it should happen in Ubuntu too:
- 
- 
+ ```
  antonialoy@LY910:~$ apt-cache madison ltris
       ltris | 1.0.19-3build1 | http://archive.ubuntu.com/ubuntu focal/universe 
amd64 Packages
+ ```
  
+ Then, if I list the contents of the package, there isn't any ltris48.gif
+ file, but there's a pixmap of the program available:
  
- Then, if I list the contents of the package, there isn't any ltris48.gif 
file, but there's a pixmap of the program available:
- 
- 
+ ```
  antonialoy@LY910:~$ sudo dpkg -L ltris
  [...]
  /usr/share/pixmaps/ltris.xpm
  [...]
+ ```
  
- 
- So, pointing the Icon path of the desktop file to 
`/usr/share/pixmaps/ltris.xpm` instead of `/usr/share/games/icons/ltris48.gif` 
solves this bug.
+ So, pointing the Icon path of the desktop file to
+ `/usr/share/pixmaps/ltris.xpm` instead of
+ `/usr/share/games/icons/ltris48.gif` solves this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931470

Title:
  wrong icon path in desktop file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltris/+bug/1931470/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to