Page 1 of 1
How to open the / directory from a menu entry?
Posted: Sat Aug 10, 2024 4:00 pm
by Caramel
Trying to create a entry menu for the command "rox /home/vscode/vscode/AppRun" (related to viewtopic.php?p=128491#p128491), I realizes that i do not know how to create a menu entry with an argument.
For opening the / directory via a menu entry , I tried
and
in /usr/share/applications/ROX-Filer.desktop without success
(I used fixmenus, relaunch of JWM, relaunch of X and reboot)
EDIT :
Problem with Menumanager ( tab Menu in EasyJWM )
![capture11193.png](./download/file.php?id=25569&sid=002116f795a9063e64c49f0ba9c1ea4e)
- capture11193.png (64.56 KiB) Viewed 628 times
The "processing" (Traitement in French) never ends
Re: How to open the / directory from a menu entry?
Posted: Sat Aug 10, 2024 6:18 pm
by rockedge
@Caramel Try:
Code: Select all
/usr/local/apps/ROX-Filer/AppRun /
or use a start script:
Code: Select all
root@pedge210:~$ rox -h
Usage: ROX-Filer/AppRun [OPTION]... [FILE]...
Open each directory or file listed, or the current working
directory if no arguments are given.
-b, --border=PANEL open PANEL as a border panel
-B, --bottom=PANEL open PAN as a bottom-edge panel
-c, --client-id=ID used for session management
-d, --dir=DIR open DIR as directory (not application)
-D, --close=DIR close DIR and its subdirectories
-h, --help display this help and exit
-l, --left=PANEL open PAN as a left-edge panel
-m, --mime-type=FILE print MIME type of FILE and exit
-n, --new start new copy; for debugging the filer
-p, --pinboard=PIN use pinboard PIN as the pinboard
-r, --right=PANEL open PAN as a right-edge panel
-R, --RPC invoke method call read from stdin
-s, --show=FILE open a directory showing FILE
-S, --rox-session use default panel and pinboard options, and -n
-t, --top=PANEL open PANEL as a top-edge panel
-u, --user show user name in each window
-U, --url=URL open file or directory in URI form
-v, --version display the version information and exit
-x, --examine=FILE FILE has changed - re-examine it
Report bugs to <rox-devel@lists.sourceforge.net>.
Home page (including updated versions): http://rox.sourceforge.net/
Re: How to open the / directory from a menu entry?
Posted: Sat Aug 10, 2024 6:56 pm
by Caramel
rockedge wrote: Sat Aug 10, 2024 6:18 pm
@Caramel Try:
Code: Select all
/usr/local/apps/ROX-Filer/AppRun /
or use a start script:
Code: Select all
root@pedge210:~$ rox -h
Usage: ROX-Filer/AppRun [OPTION]... [FILE]...
Open each directory or file listed, or the current working
directory if no arguments are given.
-b, --border=PANEL open PANEL as a border panel
-B, --bottom=PANEL open PAN as a bottom-edge panel
-c, --client-id=ID used for session management
-d, --dir=DIR open DIR as directory (not application)
-D, --close=DIR close DIR and its subdirectories
-h, --help display this help and exit
-l, --left=PANEL open PAN as a left-edge panel
-m, --mime-type=FILE print MIME type of FILE and exit
-n, --new start new copy; for debugging the filer
-p, --pinboard=PIN use pinboard PIN as the pinboard
-r, --right=PANEL open PAN as a right-edge panel
-R, --RPC invoke method call read from stdin
-s, --show=FILE open a directory showing FILE
-S, --rox-session use default panel and pinboard options, and -n
-t, --top=PANEL open PANEL as a top-edge panel
-u, --user show user name in each window
-U, --url=URL open file or directory in URI form
-v, --version display the version information and exit
-x, --examine=FILE FILE has changed - re-examine it
Report bugs to <rox-devel@lists.sourceforge.net>.
Home page (including updated versions): http://rox.sourceforge.net/
Thanks.
I tested
and it works.