edgex004
Advanced Member
- Joined
- Jan 5, 2008
- Messages
- 1,222
Yeah I'd recommend focusing on j4-dmenu-desktop. From what I understand, i3-dmenu-desktop was a script, and j4-dmenu-desktop is a compiled binary, and it is a lot faster.
To compile, launch codeblocks CLI and attempt to follow the instructions from the site:
1. Clone the repo.
2. Build using:
3. Maybe see if you can test it out before installing.
As far as usage/testing goes, the github for j4-dmenu-desktop seems to have good instructions. Its looks like j4-dmenu-desktop replaces the dmenu_run script.
So, since you don't have the dmenu binary that you compiled installed system-wide yet, it seems you should be able to test combining the two without installing dmenu and without installing j4-dmenu-desktop by doing something along the following lines:
4. Add both dmenu and j4-dmenu-desktop binaries to your current PATH:
5. Now that it is on your PATH, you should be able to invoke j4-dmenu-desktop, which should itself invoke dmenu:
If the build seems to work, you can install to NAND:
Since you should usually avoid installing to your NAND, but instead should usually install into a specific directory (i.e.your PND directory you are putting together) then you should be able to modify the call to cmake (step 2) in order to specify a directory for the program to be installed to:
Then running "install" should install your binaries to the directory you specified.
To compile, launch codeblocks CLI and attempt to follow the instructions from the site:
1. Clone the repo.
2. Build using:
Code:
cmake .
make
As far as usage/testing goes, the github for j4-dmenu-desktop seems to have good instructions. Its looks like j4-dmenu-desktop replaces the dmenu_run script.
So, since you don't have the dmenu binary that you compiled installed system-wide yet, it seems you should be able to test combining the two without installing dmenu and without installing j4-dmenu-desktop by doing something along the following lines:
4. Add both dmenu and j4-dmenu-desktop binaries to your current PATH:
Code:
export PATH=/folder/containing/dmenu/binary/:/folder/containing/j4-dmenu-desktop/binary/:$PATH
5. Now that it is on your PATH, you should be able to invoke j4-dmenu-desktop, which should itself invoke dmenu:
Code:
j4-dmenu-desktop [--dmenu="dmenu -i"] [--term="terminal"]
If the build seems to work, you can install to NAND:
Code:
install
Since you should usually avoid installing to your NAND, but instead should usually install into a specific directory (i.e.your PND directory you are putting together) then you should be able to modify the call to cmake (step 2) in order to specify a directory for the program to be installed to:
Code:
cmake -DCMAKE_INSTALL_PREFIX=/specify/an/installation/location/here/ .
make
Then running "install" should install your binaries to the directory you specified.
Last edited: