Forum › Forums › General › Other Distros › My menu with yellow comments
- This topic has 11 replies, 6 voices, and was last updated Apr 27-6:21 pm by marcelocripe.
-
AuthorPosts
-
April 27, 2023 at 7:25 am #105503Member
Wallon
Dear All,
I have managed to make a comment appear in yellow when I move the mouse over a menu entry.
Kind regards,
WallonAttachments:
April 27, 2023 at 8:02 am #105507MemberRobin
::Whaoo. Great. And how did you do this? We are longing for long time to achieve precisely this… with no success. What exactly did you to make it work, and does it work in IceWM? Please, don’t let us pass in ignorance.
Windows is like a submarine. Open a window and serious problems will start.
April 27, 2023 at 9:00 am #105517MemberPPC
::Dear Wallon:
In the spirit of sharing that makes antiX available to us all, it’s always nice, when someone finds anything, creates a script or a new configuration, to share not only that is was done, but also “how it was done”, so the Dev Team can incorporate that feature, if they want to.
I assume you are using JWM… It would be great to have tooltips in IceWM!
P.
April 27, 2023 at 11:08 am #105523Member
marcelocripe
::Dear Wallon.
Do you want to leave everyone here distressed without us knowing how you made the comment appear in the JWM window manager menus?
This solution you presented in the image is a fantastic evolution to what Xecure brought us in this topic Suggestions to make antiX Linux more educational of the 27th of October 2020 (this information is one of those kept in my long “.txt” text file)
– – – – –
Caro Wallon.
Por acaso você que deixar todos aqui agustiados sem sabermos como você fez o comentário ser exibido nos menus do gerenciador de janelas JWM?
Esta solução que você apresentou na imagem é uma evolução fantástica ao que o Xecure nos trouxe neste tópico Suggestions to make antiX Linux more educational do dia 27 de outubro de 2020 (esta informação é mais uma daquelas guardadas no meu longo arquivo de texto “.txt”)
- This reply was modified 1 week, 4 days ago by caprea. Reason: removed typo that made the first link invalid
April 27, 2023 at 12:18 pm #105528Member
Wallon
::Every time I bring something to antiX, it’s not interesting.
Highlighting the mouse by pressing the Ctrl key, not interesting.
Putting shortcuts to work with several screens, not interesting.
Using Chrony, not interesting.
Saying that antixscreenshot2 doesn’t work, it’s not interesting, I installed the program wrong…
Adapting the themes of JWM to the new programming code, not interesting because I didn’t use the right font.
Say I have a bug for a program, the others can’t reproduce the bug… and then others have the same problem.
Saying that a Yad window does not fit a program, not interesting.
To say that a terminal window does not fit a program, not interesting.
Saying that I would like to use a font that shows nice typographic apostrophes in French so that I can control my translations or updates, not interesting.
I have a very long list of things that are not interesting…Well, today is my birthday.
Our PPC expert guessed right that it was the JWM window manager.
It’s easy, you have to open the file /home/user/.jwm/menu-applications and add to each program the code tooltip=”Comment found in the *.desktop file”.Here is an example in French (sorry).
<Menu label="Préférences" icon="/usr/share/icons/papirus-antix/48x48/categories/preferences-desktop.png" > <Program label= ... ... ... <Program label="Menu Ajout d’une entrée" tooltip="Ajoute une entrée au menu" icon="/usr/share/icons/papirus-antix/48x48/categories/add-menu-item.png">add-desktop</Program> <Program label="Menu Supprimer une entrée" tooltip="Supprime une entrée au menu" icon="/usr/share/icons/papirus-antix/48x48/categories/remove-menu-item.png">remove-desktop</Program> <Program label= ... ... ... </Menu>Just make 2 files “menu-applications”. One with the “tooltip” code and the other without the “tooltip” code. This way, the user can choose if he wants comments in his menu or not.
Have fun.
April 27, 2023 at 12:41 pm #105530Member
Wallon
::I forgot to say that in order to have the comment in yellow with your favourite font in italic and with a different size than the menu font, you have to modify the PopupStyle as follows;
<PopupStyle enabled="true"> <Font>put your favourite font-14:style=Regular:slant=italic:antialias=true</Font> <Outline>black</Outline> <Foreground>black</Foreground> <!-- Background color #F4F068 = yellow --> <Background>#F4F068</Background> </PopupStyle>For the slant variable, it depends on the font. It can be “italic” or “oblique”.
- This reply was modified 1 week, 4 days ago by Wallon.
April 27, 2023 at 1:47 pm #105536MemberPPC
::Dear Wallon
Thanks for sharing your configuration!
Don’t be sad for several of your ideas not being used by the Dev team (either antiX or it’s apps):
Many of my ideas where refused, some of them were implemented after years!The fact that you complained about antiX-updater not working in French did lead me finding out what the problem was (and it was not exactly what I initially thought), and also, probably also, your localizations will make sure that some scripts localized in French will work correctly.
Some of your ideas were greatly appreciated- like the way to highlight the mouse pointer, etc. The fact that an idea is not made part of antiX does not mean it’s not good – many of my scripts were not included in antiX.
The fact that you are not a programmer (I’m not also a “programmer”, I’m an amateur scripter) sometimes stops you from realizing why some times your suggestions are not implemented. From what I recall reading, your suggestion about a font was refused by anticapitalista because it’s not currently open source – it makes sense that antiX shies away from using anything that is not open source- we simply can’t afford being sued by the person/company that is the owned of that particular resource.Also- on reporting problems, bugs – I’ve been reporting for years that I had to use sudo to refresh the menu. Nothing was ever done about it because the dev team could not reproduce the problem… Now that bug is apparently solved… Programmers can only solve a problem if they can reproduce it. That happens to me a lot (either from the end user vew point or as “programmer”). If enough people report a bug for enough times, odds are that someone will find out what’s wrong and solve the problem.
P.
April 27, 2023 at 1:57 pm #105538Member
marcelocripe
::Thank you Wallon.
Now, we’ll have to wait whether or not there is anti-capitalist interest, whether developers/programmers will want to implement this important solution in antiX that you managed to get working.
As for your long list, well… I’ve been through something similar, I’ve already brought here several problems that I encountered and that nobody gave a damn. Another Brazilian brought up another problem that continues to exist, just because the translation of the word “Desktop” in Portuguese has three words “Área de Trabalho” (in pt_BR) or “Ambiente de Trabalho” (in pt). There are several threads on the forum where there are no answers. And even so, we keep fighting for an antiX every day more translated and every day better for all people.
– – – – –
Muito obrigado Wallon.
Agora, nós teremos que esperar se há o interesse ou não do anticapitalista, se os desenvolvedores/programadores irão querer implementar esta importante solução no antiX que você conseguiu fazer funcionar.
Quanto a sua longa lista, bom… Eu já passei por algo semelhante, eu já trouxe aqui vários problemas que eu encontrei e que ninguém deu a mínima. Um outro brasileiro trouxe outro problema que continua existindo, apenas porque a tradução da palavra “Desktop” em Português possui três palavras “Área de Trabalho” (em pt_BR) ou “Ambiente de Trabalho” (em pt). Existem vários tópicos pelo fórum onde não tem respostas. E mesmo assim, nós continuamos lutando por um antiX cada dia mais traduzido e cada dia melhor para todas as pessoas.
April 27, 2023 at 4:06 pm #105541Forum Admin
anticapitalista
::If anyone wants to make changes to the default set of jwm themes, send a merge request here:
https://gitlab.com/antiX-Linux/desktop-defaults-jwm
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 27, 2023 at 4:40 pm #105542MemberRobin
::Dear Wallon,
Many thanks for providing the details.
it was the JWM window manager.
So at least for this window manager there is a solution now to have tooltips working in menus the way comments should be presented. I had spent many hours already to provide a workaround for the very issue (in desktop-menu script more than a year ago) for all antiX Window managers, together with Marcelo, and it is still not in antiX. But I don’t complain, since do I know very well how hard and time consuming it is for the devs to check out such things until they are ready for integration in an OS meant to run perfectly stable on all kind of hardware.
I’m not sure about what precisely causes you to think your contributions were not interesting.
– « Putting shortcuts to work with several screens, not interesting. » On the contrary. This is highly interesting. Obviously I must have missed the postings where you have discussed it.
– Chrony is highly interesting, me was only objecting that your perception in the thread « Why are we still using NTP which is deprecated? » was wrong: NTP isn’t deprecated at all. But this doesn’t mean knowing about chrony or even replacing NTP in antiX by chrony isn’t interesting. Your information about chrony was highly appreciated, at least for me.
– « Saying that a Yad window does not fit a program, not interesting. ». Well, this is an issue at least me ( but I’m pretty sure many others as well ) knows already for a long time, but since it is an issue to be fixed in the program code of yad and gtkdialog there isn’t much we can do to help it. Your complaints about antixscreenshot2 help window layout broken when system font is changed ( an issue I basically knew already ) caused me rethinking it, trying anew to find a workaround. This time with success (I do hope at least). I provided a tiny helper tool so possibly other scripts besides antiXscreenshot2 can also integrate it. Hence you can say: This was a direct result from your bringing forth the old yad issue again. And this was the single reason for releasing version 1.08f. But I still don’t have any response from you whether this fix in antiXscreenshot2 actually works for you also.
– « Saying that antixscreenshot2 doesn’t work, it’s not interesting » This is simply not true:
@Wallon : Please recheck on a virgin antiX 23 Live USB without any personal modifications of the system, and let me know whether the issue of not having png file type available then still shows up.
I’m still waiting for your detailed report, to get an idea what might cause this on your PC. We need to work together in a process of elimination to get a result what needs to be fixed. And as you can learn from Verdys report, there are means to provide the significant pieces of information so an issue can actually be spotted. « I installed the program wrong… » Don’t care for my vague speculations about the possible reasons. Before the process of elimination wasn’t absolved, these are nothing but hints where possibly to turn attention towards. But I can’t do anything without your precious input and without you answering what I’m asking you to do (and post the results) in order to encircle the core of the « png not available » issue.
I have a very long list of things that are not interesting…
We all could write long lists like that… That’s just normal. I’m pretty sure the devs have read it anyway, and picked up from all the ideas what they felt fitting into antiX, considering their time for working on it is also limited, so they have to priorise what will be integrated first and what has to wait until they have some spare time for realising it.
Hope this helps to see things not that sad as you do. Be assured: Your contributions count.
Yours
Robin.Windows is like a submarine. Open a window and serious problems will start.
April 27, 2023 at 5:18 pm #105546MemberLead Farmer
::Every time I bring something to antiX, it’s not interesting.
Highlighting the mouse by pressing the Ctrl key, not interesting.
Putting shortcuts to work with several screens, not interesting.
Using Chrony, not interesting.
Saying that antixscreenshot2 doesn’t work, it’s not interesting, I installed the program wrong…
Adapting the themes of JWM to the new programming code, not interesting because I didn’t use the right font.
Say I have a bug for a program, the others can’t reproduce the bug… and then others have the same problem.
Saying that a Yad window does not fit a program, not interesting.
To say that a terminal window does not fit a program, not interesting.
Saying that I would like to use a font that shows nice typographic apostrophes in French so that I can control my translations or updates, not interesting.
I have a very long list of things that are not interesting…Sometimes I also have frustrations with things that don’t works how I like in Antix, the number searches I did “how to” a bout linux in 6 mounts, is more then I did about Windows all my life.
But I do like to add tools to make Antix better to use, for example antixscreenshot (I didn’t try antixscreenshot2) I don’t really like it, so I made scripts to take screenshot auto save their names as date+time, and show a massage at the end if I like to view or edit them, same about volumeicon app that I didn’t like so I made a volume indicator of my own that works better for me for example.Over all I really like Antix, but it support by a small community and not by giant corporation like Windows, so I set my expedition accordingly.
Nice hack showing the status in the menu.
- This reply was modified 1 week, 4 days ago by Lead Farmer.
- This reply was modified 1 week, 4 days ago by Lead Farmer.
- This reply was modified 1 week, 4 days ago by Lead Farmer.
April 27, 2023 at 6:21 pm #105553Member
marcelocripe
::If anyone want to make changes to the default set of jwm themes, send a merge request here:
Robin, given the positive response from the anticapitalist, I wonder if it will be possible to implement this functionality without losing the translations in the menus.
– – – – –
If anyone want to make changes to the default set of jwm themes, send a merge request here:
Robin, diante da resposta positiva do anticapitalista, eu fico imaginando se será possível a implementação desta funcionalidade sem perder as traduções nos menus.
-
AuthorPosts
- You must be logged in to reply to this topic.
