bug: 354533 title: Can't remove/hide Favourites included in ubuntu-netbook-remix-default-settings date-reported: Fri, 03 Apr 2009 14:43:08 -0000 date-updated: Fri, 14 Aug 2009 16:29:46 -0000 reporter: Nafallo Bjälevik (nafallo) duplicate-of: duplicates: attachments: patches: tags: subscribers: Nafallo Bjälevik (nafallo) Jorge Suárez de Lis (ys) task: netbook-remix-launcher status: Fix Released date-created: Fri, 03 Apr 2009 14:43:08 -0000 date-left-new: Fri, 03 Apr 2009 14:43:27 -0000 date-confirmed: Sat, 11 Apr 2009 02:06:14 -0000 date-triaged: Fri, 14 Aug 2009 16:29:45 -0000 date-assigned: Fri, 14 Aug 2009 16:29:45 -0000 date-inprogress: Fri, 14 Aug 2009 16:29:45 -0000 date-closed: Fri, 14 Aug 2009 16:29:45 -0000 date-fix-committed: Fri, 14 Aug 2009 16:29:45 -0000 date-fix-released: Fri, 14 Aug 2009 16:29:45 -0000 reporter: Nafallo Bjälevik (nafallo) importance: High assignee: Neil J. Patel (njpatel) milestone: Content-Type: multipart/mixed; boundary="===============0526323158758215151==" MIME-Version: 1.0 --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable It appears we can't remove the default Favourite icons (Cheese, Evolution, Firefox, Pidgin and Yelp). I would propose creating local homedir .desktop files with the Hidden option set if the user removes those. A bit of special case for them, but I think it would be the most clean way to solve this nuisance. --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Neil J. Patel (njpatel) Date: Tue, 07 Apr 2009 09:09:40 -0000 Message-Id: <20090407090941.6460.33477.malone@potassium.ubuntu.com> I'm unable to reproduce this on a fresh install of todays daily-image. I was able to right-click->remove-favourite on all of the default favourites, and they all disappeared. They were correctly moved to the ~/.local/share/applications directory and have the NoDisplay=3Dtrue flag set. Could you try running `netbook-launcher` from the terminal and see if it prints out any error messages when you try and remove a favourite? --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?q?Nafallo_Bj=C3=A4levik_=28nafallo=29?= Date: Thu, 09 Apr 2009 19:09:21 -0000 Message-Id: <20090409190922.17655.51728.malone@gangotri.canonical.com> Made sure to make my EeePC up-to-date jaunty and reboot. Still can't remove the Favourites. Version: 1.6.20-0ubuntu1 --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?q?Jorge_Su=C3=A1rez_de_Lis_=28ys=29?= Date: Sat, 11 Apr 2009 00:51:20 -0000 Message-Id: <20090411005120.774.90911.malone@palladium.canonical.com> Same here. I can't remove Evolution. Also, even if I uninstall evolution, the icon stays there. That's weird. --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Neil J. Patel (njpatel) Date: Tue, 14 Apr 2009 16:24:06 -0000 Message-Id: <20090414162407.22241.49794.malone@palladium.canonical.com> Can you run the `netbook-launcher` program in a terminal and try to remove the favourite. There should be some error text in the terminal, please paste it here. --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?q?Nafallo_Bj=C3=A4levik_=28nafallo=29?= Date: Sun, 19 Apr 2009 11:53:09 -0000 Message-Id: <20090419115309.13893.9334.malone@potassium.ubuntu.com> ** (netbook-launcher:3625): DEBUG: Unable to remove : /usr/share/applicatio= ns/pidgin-fav.desktop, cannot open desktop file ** (netbook-launcher:3625): DEBUG: Unable to remove : /usr/share/applicatio= ns/evolution-fav.desktop, cannot open desktop file --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Steve Kowalik (stevenk) Date: Sun, 19 Apr 2009 13:16:55 -0000 Message-Id: <20090419131655.11249.35138.malone@palladium.canonical.com> But if they get moved to ~/.local/share/applications, they will get re- added as soon as a new version of ubuntu-netbook-remix-default-settings gets installed. And then you have two -- does the launcher know that it still shouldn't display them in that case? --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?q?Nafallo_Bj=C3=A4levik_=28nafallo=29?= Date: Mon, 20 Apr 2009 15:45:15 -0000 Message-Id: <20090420154515.13893.78856.malone@potassium.ubuntu.com> @Steve: please look at how those things work normally. I.e. install evolution and then use alacarte or something to hide it :-) I think what will happen is the version in the home folder, with the option to hide the .desktop, will win. --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Neil J. Patel (njpatel) Date: Tue, 21 Apr 2009 09:21:57 -0000 Message-Id: <20090421092157.12603.42010.malone@gangotri.canonical.com> @Steve, they get _copied_ to ~/.local/share/applications, with the same filename but with the "NoDisplay=3Dtrue" flag set, which means that they basically over-ride the system-wide desktop file, and hide it. @Nafallo: Does /usr/share/applications/pidgin-fav.desktop actually exist on your system? It seems like libgnome-desktop is unable to open the file :-/ --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?q?Nafallo_Bj=C3=A4levik_=28nafallo=29?= Date: Sun, 26 Apr 2009 00:42:46 -0000 Message-Id: <20090426004247.19643.39105.malone@potassium.ubuntu.com> -rw-r--r-- 1 root root 306 2009-04-12 14:29 /usr/share/applications/pidgin-fav.desktop It does indeed. --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?q?Nafallo_Bj=C3=A4levik_=28nafallo=29?= Date: Sun, 26 Apr 2009 01:27:12 -0000 Message-Id: <20090426012712.12824.60733.malone@palladium.canonical.com> Manually copying the files and add NoDisplay=3Dtrue works. Also I removed .local/applications/yelp-fav.desktop and removed it from the netbook- launcher without problems. I suspect this can have to do with evolution and pidgin not being installed? --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Neil J. Patel (njpatel) Date: Mon, 27 Apr 2009 11:57:25 -0000 Message-Id: <20090427115725.26361.45871.malone@palladium.canonical.com> I don't think that not having Evolution installed would effect the ability to copy the -fav.desktop file (as they are provided by different packages). Just in case, could you please install Evolution/Pidgin and check? (Sorry for the bother, but just need to make sure I'm not missing something here :). --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?q?Nafallo_Bj=C3=A4levik_=28nafallo=29?= Date: Sat, 09 May 2009 22:53:16 -0000 Message-Id: <20090509225317.1209.67722.malone@gangotri.canonical.com> I installed pidgin instead (less dependencies) and I could successfully remove it from the favourites. --===============0526323158758215151== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Neil J. Patel (njpatel) Date: Fri, 14 Aug 2009 16:29:44 -0000 Message-Id: <20090814162944.23032.41474.malone@gandwana.canonical.com> This works fine in the latest launcher (with the new method of handling favorites). --===============0526323158758215151==--