Forum › Forums › antiX-development › Development › BETA: Personal Menu Editor (ultra fast, ultra modern edition)
- This topic has 11 replies, 5 voices, and was last updated Feb 26-11:30 pm by marcelocripe.
-
AuthorPosts
-
February 18, 2023 at 11:58 am #99940Member
PPC
Back when the dinosaurs roamed the Earth, I started creating a GUI way to manage toolbar icons on IceWM… Since the syntax of the toolbar config file is the same as the personal config file, a very early version of the Toolbar Icon Manager (TIM) script was adapted to be used as a fast Personal Menu Editor.- Yeah, not that many people notice that GUI exists.
Since I reworked T.I.M. to be much faster and ironed out some bug it had since it’s inception, I adapted the new TIM script to transform it in a more modern version of Personal Menu Editor. It still uses the localization file of TIM, so the new Window title won’t be localized (and the help file and so on still refere to toolbar icons, not Personal Menu etc).Known bug: if you move the icon below the last line (and probably above the last line, it disapears)…
Other than that, the script *should* work fine.
Please test and report back any problems (or just say if it works fine)!Edit: and yes, I do have a hidden agenda for updating this script- after about 2 years using only FT10 as antiX’s GUI, I’m testing the default IceMW toolbar, with a new Theme and a slightly costumized menu – On the top of it I have my app launcher entry ( app-select or a rofi configuration), and then an entry to the Personal menu Editor; the default quick launcher entries (Terminal, File Manager, Browser, Text Editor) and then, right on the first level of the menu, the contents of the Personal config file (i.e.- those apps are pinned to the menu, for quicker access, by mouse or keyboard).
To achieve this I placed, in the menu this line:
include personal
and commented out, with an # on the start of the line, the line referring to the personal menu.
I suggested, here in the forum, that there should be a GUI way for the user to select if the Personal entries should be shown in a submenu or on the first layer of the menu (I can add an option for that, on the script itself)
Note: when you add/remove/move a Personal entry (no matter if it’s a sub-menu or being displayed on the first level of the menu), IceWM instantly updates to show the change, no need for the script to restart it! Nice and fast!P.
- This topic was modified 2 months, 3 weeks ago by PPC.
Attachments:
February 18, 2023 at 3:01 pm #99958Moderator
Brian Masinick
::Nice, similar to the toolbar manager, this one adds entries into the Personal Menu.
I just added a few that I don’t want to have on my toolbar, but are better in the Personal Menu than navigating through the entire menu, so this is a useful tool.--
Brian MasinickFebruary 18, 2023 at 3:40 pm #99961MemberPPC
::Once, again, many thanks for testing, Mr Masinick!
I fixed the bug (carried over from TIM’s script) that resulted in an empty “personal” file, if users closed the “Delete icon” dialogue without selecting anything…
I also removed the “Move icon” part of the script (well, I disabled it, the code is still there)- because it was buggy and hard to use, since, unlike the taskbar, user’s can’t see where they are moving icons to… Perhaps that will get fixed in the future…I’m too tired from all this scripting, so I’m just making small adjustments… For now, unless there are some unforeseen bugs, the scripts is “perfect” and light years from of the previous version of the script, currently included in antiX
P.
- This reply was modified 2 months, 3 weeks ago by PPC.
Attachments:
February 18, 2023 at 8:58 pm #99996MemberPPC
::Small fix, to avoid a bug that did not allow some applications to be added to the file… (the same fix that was applied to the TIM beta)
P.
Attachments:
February 19, 2023 at 12:13 pm #100025MemberLead Farmer
February 19, 2023 at 12:40 pm #100028MemberPPC
::I what to try it how do I add it to Antix?
Strange question, considering you are creating bash scripts, but here it goes, for all you that don’t know how to try these scripts:
1- Download the .zip file you want.
2- using a file manager (I suggest zzzfm) navigate to the folder where you downloaded the .zip file to (usually “Downloads” in your user’s home folder).
3- right click the file > Open > Extract
4- a new subfolder with the same name as the zip file should have been created. Enter that folder
5- right click the script inside that folder > “Run”Edit: this process is just for running the script. “Adding” it to antiX, replacing the original Toolbar Icon Manager e a different procedure, that I will not get into here…
P.
- This reply was modified 2 months, 3 weeks ago by PPC.
February 19, 2023 at 1:23 pm #100031MemberLead Farmer
February 19, 2023 at 9:43 pm #100086Member
marcelocripe
::Hello PPC.
I was able to successfully test your newest program “icewm-quick-personal-menu-manager61.zip” version. This modified TIM for the personal menu was very fast and managed to display the texts in pt_BR in the program list. I was able to successfully add and remove the menus. If you make the .pot or .po file available, I can translate to pt_BR what remains to be translated, basically the “Help” button and the “Advanced” button.
As electricity has been missing very often, the tests ended up being done before the electricity ran out, but I couldn’t post here in this topic.
The pt_BR texts for the .desktop file are:
Name[pt_BR]=Gerenciador do Menu Pessoal
Comment[pt_BR]=Adicionar ou remover itens no menu pessoalThank you very much!
– – – – –
Olá PPC.
Eu consegui testar com sucesso o seu mais novo programa da versão “icewm-quick-personal-menu-manager61.zip”. Este TIM modificado para o menu pessoal ficou muito rápido e conseguiu exibir na lista de programa os textos em pt_BR. Eu consegui adicionar e remover os menus com sucesso. Se você disponibilizar o arquivo .pot ou .po eu posso traduzir para pt_BR o que falta ser traduzido, basicamente do botão de “Ajuda” e do botão “Avançado”.
Como vem faltando energia elétrica com muita frequência, os testes acabaram sendo feitos antes de acabar a energia elétrica, mas eu não consegui postar aqui neste tópico.
Os textos pt_BR para o arquivo .desktop são:
Name[pt_BR]=Gerenciador do Menu Pessoal
Comment[pt_BR]=Adicionar ou remover itens no menu pessoalMuito obrigado!
February 19, 2023 at 9:47 pm #100087MemberPPC
::@Marcelocripe – o texto de localização já está no Transifex- a tradução em pt já foi feita por mim… O novo atualizador do antiX também se encontra disponível para localização lá, também já feita em pt…
P.
February 25, 2023 at 2:31 pm #100632Member
marcelocripe
::Anticapitalista, if there’s still time for an improvement of the pt_BR text for the .desktop file. Please accept the new text.
Current:
Name[pt_BR]=Gerenciador do Menu Pessoal
Comment[pt_BR]=Adicionar ou remover itens no menu pessoalChange to:
Name[pt_BR]=Gerenciador do Menu Pessoal do IceWM
Comment[pt_BR]=Adicionar ou remover itens ou ícones de atalho dos programas aplicativos do menu pessoal na área de trabalho que tenha o IceWM como seu gerenciador de janelasThanks.
– – – – –
Anticapitalista, se ainda estiver em tempo para uma melhoria do texto pt_BR para o arquivo .desktop. Por favor, aceite o novo texto.
Atual:
Name[pt_BR]=Gerenciador do Menu Pessoal
Comment[pt_BR]=Adicionar ou remover itens no menu pessoalAlterar para:
Name[pt_BR]=Gerenciador do Menu Pessoal do IceWM
Comment[pt_BR]=Adicionar ou remover itens ou ícones de atalho dos programas aplicativos do menu pessoal na área de trabalho que tenha o IceWM como seu gerenciador de janelasObrigado.
February 25, 2023 at 4:07 pm #100633Forum Admin
anticapitalista
::@marcelocripe – ok, but are you sure you want such a long name and comment?
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 26, 2023 at 11:30 pm #100700Member
marcelocripe
::@marcelocripe – ok, but are you sure you want such a long name and comment?
Yes anticapitalista.
The name needs to be clear and specify that the personal menu manager is for IceWM, similar to “icewm-toolbar-icon-manager”, since this program is not capable of managing Fluxbox or JWM menus. If the program becomes able to manage the Fluxbox and JWM menus, then the name will no longer need “do IceWM”.
As for the comment, my expectation is that Brazilians will start to use “App Select” and/or “Rofi” more and more, and for these programs to be fully utilized, they depend on good detailed texts at the entry of the comment.
Thank you very much for using the text of 02/19/2023 in the .desktop file of the “antix-goodies” package.
– – – – –
@marcelocripe – ok, but are you sure you want such a long name and comment?
Sim anticapitalista.
O nome precisa ser claro e especificar que o gerenciador do menu pessoal é para o IceWM, semelhante ao “icewm-toolbar-icon-manager”, haja vista que este programa não é capaz de gerenciar os menus do Fluxbox ou do JWM. Caso o programa passe a ser capaz de gerenciar os menus do Fluxbox e do JWM, aí o nome não precisará mais “do IceWM”.
Quanto ao comentário, a minha expectativa é de que os Brasileiros passem a utilizar cada vez mais o “App Select” e /ou o “Rofi” e para estes programas terem a sua utilidade bem aproveitada, eles dependem de bons textos detalhados na entrada do comentário.
Muito obrigado por ter utilizado o texto do dia 19/02/2023 no arquivo .desktop do pacote “antix-goodies”.
-
AuthorPosts
- You must be logged in to reply to this topic.