Forum › Forums › antiX-development › Development › antiX-23-beta1-runit-full (64bit) for testing
- This topic has 318 replies, 28 voices, and was last updated May 7-5:09 pm by Brian Masinick.
-
AuthorPosts
-
April 19, 2023 at 1:41 pm #105008Member
Wallon
::Dear PPC,
It was nice of you to answer me.
I am wary of the main window being too small and blocking the sub-menu windows. As I pointed out to anticapitalista, for the program “command line control centre”, it does not work in French because the main window is too small. And yet, everything is displayed in the main window but the size is not suitable for the sub-windows.Besides, it is voluntary if I did not translate the on/off. In French, you could write « marche ou arrêt » in inverted commas. The French academy recommends never to use the slash, it must always be translated by one of the 2 following words; “And” “Or”. But I don’t have enough space on the line as the window is already much too small.
Kind regards,
Wallon- This reply was modified 3 weeks, 1 day ago by Wallon.
April 19, 2023 at 2:17 pm #105012MemberRobin
::Dear Wallon, dear PPC,
I do have the very same issue on a default desktop PC with your script @PPC, screen resolution 2560×1440 (TFT-Display) which is obviously not a low resolution at all. Same issue on 1440×900 (LCD-Display) and also on 1024×768 (true Tube monitor). You’d never guess there are hidden some buttons outside the visible field. I even didn’t notice them until reading Wallons posting here. The scrollbars are invisible, you have to guess they exist and try to click on them, before they become visible. And even then all buttons on either right side or left side are constantly cut of, while there would be plenty of space to display them on screen if only the yad window wouldn’t cut them off deliberately.We have had the very same issue one or two years ago already when rewriting unplugdrive. (Please see https://gitlab.com/antix-contribs/antix-goodies/-/commit/3ae073e49fafa4df274bf70a0da3747e6affa51f , search the page for the string „Yad main user dialog cuts off parts of the text in dialog box now”) @Xecure had set yad to display with scrollbars on his tiny handheld device, and here’s the result from this attempt on a default desktop pc:

Yad simply is not able to handle this properly for small netbook screens and for default resolution PCs with the very same settings. The really small screens need the special –scroll setting of yad, if they happen to have no precaution for providing scrollability on their own already, while this fails on all normally sized devices. Luckily the solution is pretty simple:
remove the --scroll option from the yad call remove the --width= --height= options from the yad call add the --fixed option to the yad callThen yad will properly display all buttons in all translations with their full text on a default PC monitor.
If you want to have it working for the extra sized really small screens then again with the extra scrollbars, just copy and apply the method we have used in unplugdrive.sh already. Check its code added for the -s –scrollbars command line switch (lines 81, 111 and 439 in ver. 0.93b) . It simply swaps the beforementioned settings of yad when it is called with this switch, so it works by default on default sized screens, and with the -s switch for small screen devices.
Unfortunately I can’t please everyone, every time.
I think it is not an option to let people scroll around in cropped yad windows on default sized devices and then saying you can’t please everyone. The antiX tools need to run on default hardware, and you may add a command line switch for extra small sized devices like netbooks or handhelds.
Best regards
RobinWindows is like a submarine. Open a window and serious problems will start.
April 19, 2023 at 6:04 pm #105033Member
Wallon
::Dear PPC,
I use 24″ (1920×1080) or 15″ (1920×1080) screens.
Most people do not use a smartphone screen for antiX.
Too often I have to enlarge all antiX windows to full screen to work with it normally.
I use standard screens like most people on this forum.
Maybe that’s why I don’t like Roxterminal very much, it’s always on windows as small as a postage stamp.
A simple solution would be to open the window directly in full screen. I assume that this will fit on all screens.Kind regards,
Wallon- This reply was modified 3 weeks, 1 day ago by Wallon.
April 19, 2023 at 6:50 pm #105036Moderator
Brian Masinick
::Given “different behavior”, depending on the size of the monitor, are there any worthwhile attributes to note for various different sizes and resolutions?
If so, it may make sense (if there is a bash script involved:
Bash case Statement Syntax
The bash case statement takes the following syntax:
case $variable in
pattern-1)
commands;;
pattern-2)
commands;;
pattern-3)
commands;;
pattern-N)
commands;;
*)
commands;;
esacWhat could be put in each of the “cases” is a particular monitor resolution, and in the matching command an appropriate command or expression that will help make the process display, commands, and options more useful for that specific monitor resolution.
Is that a reasonable thing to consider, or won’t it make any difference? If it would improve usability, it may be worth examining and testing.
What do you think? Is this worth considering and is it worth the effort; will it even make a difference?
--
Brian MasinickApril 20, 2023 at 11:29 am #105065MemberXunzi_23
::antiX 23 Beta1 Fully updated Fresh install,
no menu shown.Refresh menu not working
sudo desktop-menu –write-out-global Fixed issue.
Beginning to think antiX 23 will run on a smart toaster.
Device compatibility is amazing. Present live master has
installed on devices from Core2 Duo EEPC to AMD Ryzen
monster without any insurmountable problems.April 20, 2023 at 11:45 am #105068MemberRobin
::sudo desktop-menu –write-out-global Fixed issue.
Please see and try the solution from this posting:
https://www.antixforum.com/forums/topic/no-menu-application-after-update/#post-105066Windows is like a submarine. Open a window and serious problems will start.
April 20, 2023 at 12:04 pm #105071MemberXunzi_23
April 20, 2023 at 12:04 pm #105072Forum Admin
anticapitalista
::sudo desktop-menu –write-out-global Fixed issue.
Please see and try the solution from this posting:
https://www.antixforum.com/forums/topic/no-menu-application-after-update/#post-105066This bug is a mystery.
I have *never* had to use sudo in order for Refresh to work.
If I use sudo, then I always have to use sudo until I make the change linked to by Robin.
But, to repeat, I have *never* had to use sudo in order for Refresh to work.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 20, 2023 at 12:19 pm #105074MemberRobin
::This bug is a mystery.
No not a mystery. I’s because of desktop-menu is run by root, and hence it changes the permissions when rewriting the files so default user can’t access them anymore. The fix was simply to add a line to the script, making sure to restore the proper permissions always to the files when writing them. I’d suggest to backport the respective lines from the latest version @Dave is working on to a hotfix version for the older antiX versions, until the new version is ready for being used in antiX, this would fix this common issue many people have encountered.
Windows is like a submarine. Open a window and serious problems will start.
April 20, 2023 at 12:22 pm #105075Forum Admin
anticapitalista
::So how come I have never had this happen to me? The mystery is that it doesn’t affect everybody.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 20, 2023 at 12:23 pm #105076Member
marcelocripe
::I have *never* had to use sudo in order for Refresh to work.
I *always* needed to apply the $ sudo desktop-menu –write-out-global command, otherwise the “Refresh” menu never worked to display new .desktop files.
– – – – –
I have *never* had to use sudo in order for Refresh to work.
Eu *sempre* precisei aplicar o comando $ sudo desktop-menu –write-out-global, caso contrário o menu “Refresh” nunca funcionou para exibir novos arquivos .desktop.
April 20, 2023 at 12:25 pm #105077Member
marcelocripe
::So how come I have never had this happen to me? The mystery is that it doesn’t affect everybody.
Is it because you use antiX in English language?
– – – – –
So how come I have never had this happen to me? The mystery is that it doesn’t affect everybody.
Será que é porque você utiliza o antiX em idioma Inglês?
April 20, 2023 at 12:41 pm #105078Forum Admin
anticapitalista
::Mostly @marcelocripe but I have just been playing with antiX-23 in Virtualbox (live) in pt_BR.
I have installed apps via apt (xfe), package installer (filezilla) and synaptic (frozen-bubble) and all automatically showed up in the menu without having to click on Refresh.All menu-applications files for IceWM, fluxbox, jwm are still owned by user (demo in this case).
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 20, 2023 at 12:50 pm #105080MemberRobin
::So how come I have never had this happen to me?
This actually is a mystery.
antiX 23 Beta1 Fully updated Fresh install,
…
Refresh menu not workingJust as Marcelo, Xunzi_23 and others I’ve seen this very issue regularly on fresh antiX installs already, the refresh menu button not working.
The script throws an error on console, and this is what I’d call a bug. The script simply needs to restore the permissions instead of throwing this error. This is what I suggested when speaking of the hotfix above. (And it is already included in the most recent version to come Dave is still working on, so the lines can be backported simply)
$ desktop-menu --write-out-global Writing Menu: fluxbox Traceback (most recent call last): File "/usr/local/bin/desktop-menu", line 313, in <module> build_menu() File "/usr/local/bin/desktop-menu", line 277, in build_menu text = file((USER_HOME+"/"+Var.Conf_Dir+"/"+Var.App_File), "w") IOError: [Errno 13] Keine Berechtigung: '/usr/share/desktop-menu//.fluxbox/menu-applications'Windows is like a submarine. Open a window and serious problems will start.
April 20, 2023 at 1:22 pm #105084Member
Wallon
::I also confirm that “Refresh Menu” does not always work. I have this problem on antiX 22 with the modified antiX-cli-cc.desktop.
-
AuthorPosts
- You must be logged in to reply to this topic.