Comments (6)
How do you invoke it exactly? By default the select app will be exec'd without creating a new process (the new process replaces the j4dd process).
from j4-dmenu-desktop.
I have this single line mentioning it in my i3 config:
# rg j4 ~/.config/i3/config
76:bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
I then press command+d
then type leafpad
and press Enter. Then press command+d
, type kate
and press Enter and so forth. This is what I get in htop:
from j4-dmenu-desktop.
Ah you see, that's not up to j4dd ;)
You're seeing the shell process started by i3, which in turn is ordered to start j4dd, which replaced itself properly with the command you selected.
You could use the daemon mode but there's really not that much point unless you're having a slowness issue due to e.g. spinning hard drive and little RAM.
from j4-dmenu-desktop.
Hmm I might want to try out the daemon mode then; it doesn't seem to be documented in its man page, this repo front page, nor the wiki or the issues. How do I enable and use it?
from j4-dmenu-desktop.
It's not a real daemon more like something waiting in the dark
--wait-on=<path>
Must point to a path where a file can be created.
In this mode no menu will be shown. Instead the program waits for <path>
to be written to (use echo > path). Every time this happens a menu will be shown.
Desktop files are parsed ahead of time.
Perfoming 'echo -n q > path' will exit the program.
from j4-dmenu-desktop.
Hmm, so for i3wm
, we can use the following config?
# bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
exec --no-startup-id j4-dmenu-desktop --wait-on=/var/$USER/j4dd.socket
bindsym $mod+d exec --no-startup-id echo > /var/$USER/j4dd.socket
--wait-on
doesn't seem to bne supported in 2.16-1+b1
. From git-blame it seems it was introduced 2 years ago; so sad newer versions never got packaged to Debian (testing).
from j4-dmenu-desktop.
Related Issues (20)
- j4-dmenu-desktop + dmenu works but does not show on screen HOT 4
- Options to configure font and colors HOT 3
- How can I show command names instead of desktop entry names? HOT 5
- J4dd leaves zombies behind when using --wait-on HOT 1
- Cannot compile j4-dmenu-desktop due to CMake Error HOT 2
- Add tag to application names to find them faster HOT 3
- Can you change the font size? HOT 4
- Cannot open display error HOT 4
- Shell processes left in the background HOT 2
- Sorting by display name case insensitively HOT 3
- Addtional .desktop file folders HOT 1
- Add .clang-format file
- Consider using a library for argument handling
- Upgrade Catch HOT 1
- Add i3 native support + deprecate --wrapper HOT 1
- Reimplement #137
- Add GitHub actions
- Signed releases HOT 10
- Add contributing help
- Consider switching to C++17 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from j4-dmenu-desktop.