Desktop icon actions editor/translator (WIP)
Posted: Sunday 23rd January 2022 3:06pm
Here i have a desktop actions editor with language support and translator (translate-shell)
It uses it's own copy of trans so no need to install it
NOTE: translator functions work okay till you get rate limited (you get about 100 translations per hour apparently then you get nothing for a while)
This was made to test 2 new classes i've made and submitted for merge into gambas.
It adds to DesktopFile.class a DesktopFile.DesktopActions property that is a complete manager for desktop actions with language support too.
The application contains a copy of gb.desktop with the added _DesktopFile_Actions.class and DesktopAction.class
The new classes have built in wiki help so it's easy to get to know what everything does.
DesktopActions addition is pretty fully featured, Actions can be accessed by their key name with
DesktopFile.DesktopActions[sKeyName]
or their index with
DesktopFile.DesktopActions.Actions[iIndex]
Each action has functions to get/set default or locale specific texts.
Check out the application code to see usage.
But aside from the cool new classes to manage the actions you may just like an application that can translate your icons into your own language.
.desktop files are not just n your desktop, your whole menu system is made of .desktop files in /usr/share/applications and $HOME/.local.share/applications this application can edit all of these files, (will need root access to edit /usr/share/applications though)
It's kinda WIP,
like i say it's been made as a tester for the DesktopActions.class so unlike most icon editors it starts on the action editing page, the main icon entry editing is an added bonus, but has enough functionality to be useful to people i think so here you are
It uses it's own copy of trans so no need to install it
NOTE: translator functions work okay till you get rate limited (you get about 100 translations per hour apparently then you get nothing for a while)
This was made to test 2 new classes i've made and submitted for merge into gambas.
It adds to DesktopFile.class a DesktopFile.DesktopActions property that is a complete manager for desktop actions with language support too.
The application contains a copy of gb.desktop with the added _DesktopFile_Actions.class and DesktopAction.class
The new classes have built in wiki help so it's easy to get to know what everything does.
DesktopActions addition is pretty fully featured, Actions can be accessed by their key name with
DesktopFile.DesktopActions[sKeyName]
or their index with
DesktopFile.DesktopActions.Actions[iIndex]
Each action has functions to get/set default or locale specific texts.
Check out the application code to see usage.
But aside from the cool new classes to manage the actions you may just like an application that can translate your icons into your own language.
.desktop files are not just n your desktop, your whole menu system is made of .desktop files in /usr/share/applications and $HOME/.local.share/applications this application can edit all of these files, (will need root access to edit /usr/share/applications though)
It's kinda WIP,
like i say it's been made as a tester for the DesktopActions.class so unlike most icon editors it starts on the action editing page, the main icon entry editing is an added bonus, but has enough functionality to be useful to people i think so here you are