New project, a .desktop launcher editor
Posted: Sunday 18th July 2021 7:44pm
This is the latest thing i've been playing with.
It has potential i think
No docs yet but if you understand how .desktop files work this will be straight forward enough.
it's a launcher editor but unlike the rest you can also edit the alternative Actions
for those who do not know "Actions" are other ways to run the program you can set and can be selected by right clicking the launcher when it is in certain places (like a panel)
Like for example how you can right click the Gambas3 launcher icon in a panel and run it with gtk3 or qt
Here's a couple of screenshots of how the gambas launcher icon looks in this application...
The main page..
The Actions page...
As you can see i also have my gambas set so from the panel icon i can also copy the System Information (needed on the bugtracker) and run it as root.
this app works but has the following issues...
launchers (in panels and other areas do not update till next boot)
there may be a way to make the launchers update right away but i do not know how.
I have the launchers on my desktop and i edit those files. when changed i then remover the panel launcher and drag the desktop one over again to make anew.
It's gtk only as you can drag launchers onto the app to load them but with qt the drop data does not include the paths on some files.
i will further develop this a bit and add more features/handling.
Maybe others will find it useful as an app to use or a starting base for their own version?
i've had to import and monkey about with the DesktopFile.class to get the Actions able to save.
Seems to work okay now (except the icons not instantly updating)
Enjoy
It has potential i think
No docs yet but if you understand how .desktop files work this will be straight forward enough.
it's a launcher editor but unlike the rest you can also edit the alternative Actions
for those who do not know "Actions" are other ways to run the program you can set and can be selected by right clicking the launcher when it is in certain places (like a panel)
Like for example how you can right click the Gambas3 launcher icon in a panel and run it with gtk3 or qt
Here's a couple of screenshots of how the gambas launcher icon looks in this application...
The main page..
The Actions page...
As you can see i also have my gambas set so from the panel icon i can also copy the System Information (needed on the bugtracker) and run it as root.
this app works but has the following issues...
launchers (in panels and other areas do not update till next boot)
there may be a way to make the launchers update right away but i do not know how.
I have the launchers on my desktop and i edit those files. when changed i then remover the panel launcher and drag the desktop one over again to make anew.
It's gtk only as you can drag launchers onto the app to load them but with qt the drop data does not include the paths on some files.
i will further develop this a bit and add more features/handling.
Maybe others will find it useful as an app to use or a starting base for their own version?
i've had to import and monkey about with the DesktopFile.class to get the Actions able to save.
Seems to work okay now (except the icons not instantly updating)
Enjoy