MX-23_fluxbox_alpha2_x64 released for testing

Message
Author
User avatar
Jerry3904
Administrator
Posts: 23508
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23_fluxbox_alpha2_x64 released for testing

#151 Post by Jerry3904 »

dolphin_oracle wrote: Wed May 10, 2023 11:21 am no I mean the localized menu files that localize-menu-mx brings in should point to localized submenus. right now they don't.
Feeling dense: modify the localize-menu-mx script like this (to begin with)?

Code: Select all

# fluxbox init file
INIT="$HOME/.fluxbox/init"
# default menu for all none-translated locale
DFLT="$HOME/.fluxbox/menu-mx"
# default menu for all none-translated locale
DFLT_APP="$HOME/.fluxbox/submenu/appearances"
# default menu for all none-translated locale
DFLT_OUT_OF_SIGHT="$HOME/.fluxbox/submenu/out_of_sight"
# directory of localized menus 
DFLT_SETTINGS="$HOME/.fluxbox/submenu/appearances"
# default menu for all none-translated locale
L10N="/usr/share/mxflux/menu-translations"
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 22717
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#152 Post by dolphin_oracle »

no.

let's take spanish (es) as an example


in the menu-mx_es file, instead of pointing the submenus to ~/.fluxbox/submenus/appearances point to /usr/share/mxflux/menu/menu-translations/appearances_es or wherever the actual localized submenus happen to be.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
siamhie
Global Moderator
Posts: 3777
Joined: Fri Aug 20, 2021 5:45 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#153 Post by siamhie »

Jerry3904 wrote: Wed May 10, 2023 11:18 am Thanks to both; we're aware of the problem. It's unclear why it suddenly started not working, since the code works in a terminal. I suspect that the syntax may now be faulty for some reason...

@Jerry3904 When I run the command in a terminal I got an error that the run mode wasn't enabled. I added it to the rasi file but it still doesn't make sense why it won't launch from the root menu.


Image
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
siamhie
Global Moderator
Posts: 3777
Joined: Fri Aug 20, 2021 5:45 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#154 Post by siamhie »

@Jerry3904 I got the Run entry in the root menu to work.

Change this

Code: Select all

[exec] (Run) {rofi -show run -theme ~/.config/rofi/themes/MX-run.rasi -run-shell-command 'rofi-sensible-terminal -e bash -c "{cmd} && read"'}
to this

Code: Select all

[exec] (Run) {rofi -show run -theme ~/.config/rofi/themes/MX-run.rasi}

Make sure to edit the config.rasi file to include the run mode.

Code: Select all

configuration {
	
modi: "run,drun,filebrowser,window,help:/usr/share/rofi/rofi-help";
	show-icons: true;
	icon-theme: "papirus";
	//fake-transparency: true; << rofi 1.7 may require a compositor
	//sidebar-mode: true;
}

@import "/mxrm-settings/display0.rasi"

@theme "MX-comfort.rasi"

//@import "/mxrm-settings/mxrm-settings.rasi"
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
ceeslans
Posts: 862
Joined: Sun Apr 14, 2019 3:48 am

Re: MX-23_fluxbox_alpha2_x64 released for testing

#155 Post by ceeslans »

@Jerry3904 @Melber What is the function of the 2nd part of the command, ie -run-shell-command 'rofi-sensible-terminal -e bash -c "{cmd} && read"'
Is this essential for specific command execution?
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+

User avatar
Jerry3904
Administrator
Posts: 23508
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23_fluxbox_alpha2_x64 released for testing

#156 Post by Jerry3904 »

That's what gives us the option of opening in a terminal, so I could launch any app that needed sudo for instance. Was working fine.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
ceeslans
Posts: 862
Joined: Sun Apr 14, 2019 3:48 am

Re: MX-23_fluxbox_alpha2_x64 released for testing

#157 Post by ceeslans »

I wrapped the original command in a small script that can be called from the rootMenu to start the run-box:

~/bin/rofi-mxrun

Code: Select all

#!/bin/bash

##start the standalone mx-run box
rofi -show run -theme ~/.config/rofi/themes/MX-run.rasi -run-shell-command 'rofi-sensible-terminal -e bash -c "{cmd} && read"' 
in menu-mx:

Code: Select all

[exec] (Run) {~/bin/rofi-mxrun}
... just until some one comes up with the ultimate exec command ...
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+

User avatar
Jerry3904
Administrator
Posts: 23508
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23_fluxbox_alpha2_x64 released for testing

#158 Post by Jerry3904 »

Thanks, I was thinking of going that route.

EDIT: tested it, worked fine (just like it always has in the terminal). Named it "mxfb-rofirun" and just used that name in Startup: Ctrl F2 entry. Located it in mxfb-accessories, uploaded to MX repo.

Also updated the menu-mx in mx-fluxbox and uploaded.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Melber
Developer
Posts: 1439
Joined: Tue Mar 23, 2021 4:19 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#159 Post by Melber »

Yep, I was testing too.
Works fine, thanks ceeslans.

User avatar
Melber
Developer
Posts: 1439
Joined: Tue Mar 23, 2021 4:19 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#160 Post by Melber »

kobaian wrote: Wed May 10, 2023 12:19 am 6. The help icon in the dock does nothing after clicking it.
@kobaian
I presume you are using PL as system language. I had the same issue in German.
The file it's looking for doesn't exist (yet).
Rename /usr/share/mxflux/help/mxfl-docs_EN.pdf to /usr/share/mxflux/help/mxfl-docs_PL.pdf and the dock button should open it.

Post Reply

Return to “General”