Closed GoogleCodeExporter closed 8 years ago
This is an excellent addition..
After the patch, just edit the file to point to where all your .desktop files
are at..
I keep mine in /home/myusername/bin so mine reads
launcher_apps_dir = /home/myusername/bin/
This patch then locates any already created .desktop file and uses it perfectly
Nice Addition!
Original comment by vast...@gmail.com
on 28 Dec 2011 at 6:29
I can see why this makes things easy if you already have the desktop files
stored in some folder. However, I would not merge this into trunk, because
there is no way to configure the order of the items.
But it is also very easy to put the entries in the config file by copy-paste,
there is no need to add them one by one. For me (using nautilus as file manager
and gedit as text editor), I just select the .desktop files in the file
manager, copy, go to the config file open in the text editor, paste => I obtain
the file names, each one on a line. Then all I need to do is prepend
'launcher_item_app = ' to all, which can be done easily by selecting the text
and replacing some prefix, e.g. '/usr' with 'launcher_item_app = /usr'. Problem
solved.
Anyways, very soon I will (finally) update the configuration wizard to use the
launcher too.
Original comment by mrovi%in...@gtempaccount.com
on 28 Dec 2011 at 6:53
You can easily configure order by naming .desktop files like 01-app.desktop,
10-app.desktop and etc. Also this can be done through wizard and that would be
nice.
Original comment by mishael....@gmail.com
on 28 Dec 2011 at 8:16
renaming like 01-app.desktop, 10-app.desktop is a good idea, but it does not
seem to work as you would expect. There seems to be another filtering process
in determining the order
I am working on what that may be
Original comment by vast...@gmail.com
on 28 Dec 2011 at 9:21
I have tried every naming convention you can think of and edited even the
.desktop files ... I have also added each .desktop to the folder one at a time,
but I cannot figure out why I can not get the order I want ... there must be
something else affecting the order of the .desktop files but after working on
it for the last 3 hours I am no closer to the source
Original comment by vast...@gmail.com
on 29 Dec 2011 at 1:01
The ultimate solution for launchers would be if they were able to have the same
task settings of toggle/iconify
Never have been able to sort correctly
Original comment by vast...@gmail.com
on 29 Dec 2011 at 8:50
Another possible way to handle this problem:
https://code.google.com/p/tint2/issues/detail?id=376
Original comment by nodiscc
on 30 Dec 2011 at 7:09
Hi.
New version in attach. Now it sort files alphabetically, also directory
scanning function moved to utils/common.c (maybe for future usage or so). This
patch is incompatible with previous so you must get clean sources before apply
them. Now you can name files with numbers, letters or anything you want. It
will sort them alphabetically and add to the launcher in correct alphabetical
order.
Happy NY to all.
PS: I use this naming convention and really happy for now:
10-evolution.desktop
20-gedit.desktop
30-gcalc.desktop
...
PPS: I think this is really nice if software can give you choice, how you will
configure it.
Original comment by mishael....@gmail.com
on 1 Jan 2012 at 12:54
Attachments:
Confirmed. Used the new patch and sort happens as it should from the
naming/number conventions
Nice job!
Original comment by vast...@gmail.com
on 1 Jan 2012 at 7:11
Good to hear, thank for the testing.
Original comment by mishael....@gmail.com
on 1 Jan 2012 at 7:29
I put together a How To on the #! forums showing how to use the Launchers and
Freespace patches
http://crunchbanglinux.org/forums/post/176490/#p176490
Original comment by vast...@gmail.com
on 5 Jan 2012 at 8:22
With launcher support in tint2conf, this request becomes obsolete.
Original comment by mrovi9...@gmail.com
on 1 Feb 2015 at 11:18
Original comment by mrovi9...@gmail.com
on 27 Feb 2015 at 8:35
Original issue reported on code.google.com by
mishael....@gmail.com
on 27 Dec 2011 at 8:11Attachments: