Comments (8)
@FallingSnow Do you have a solution for Fedora?
from dmenu.
dmenu reads all its stdin before displaying a window. This is how it works on X11 too. Please try
printf '%s\n' foo bar | dmenu
If that doesn't work, a log with WAYLAND_DEBUG=1
would be appreciated.
from dmenu.
I have the same problem as well. The output for printf '%s\n' foo bar | dmenu
is:
# find_driver: Trying DRM driver `intel'
# wld_font_open_name: Opening font with name: monospace:size=10
# wld_font_open_pattern: Loading font file: /usr/share/fonts/TTF/DejaVuSansMono.ttf
When running the command with WAYLAND_DEBUG=1
the output remains the same.
from dmenu.
WAYLAND_DEBUG=1
should definitely produce some extra output. Are you sure it is exported in your shell?
from dmenu.
Sorry, you are right my mistake. Here is the output with WAYLAND_DEBUG=1
[2692914.752] -> [email protected]_registry(new id wl_registry@2)
[2692914.780] -> [email protected](new id wl_callback@3)
[2692914.859] [email protected]_id(3)
[2692914.879] [email protected](1, "wl_shm", 1)
[2692914.892] [email protected](2, "zwp_linux_dmabuf_v1", 3)
[2692914.904] [email protected](3, "wl_drm", 2)
[2692914.920] [email protected](4, "wl_compositor", 4)
[2692914.940] -> [email protected](4, "wl_compositor", 1, new id [unknown]@4)
[2692914.960] [email protected](5, "wl_subcompositor", 1)
[2692914.973] [email protected](6, "wl_data_device_manager", 3)
[2692914.990] -> [email protected](6, "wl_data_device_manager", 1, new id [unknown]@5)
[2692915.008] [email protected](7, "gamma_control_manager", 1)
[2692915.024] [email protected](8, "zwlr_gamma_control_manager_v1", 1)
[2692915.039] [email protected](9, "gtk_primary_selection_device_manager", 1)
[2692915.053] [email protected](10, "zxdg_output_manager_v1", 2)
[2692915.066] [email protected](11, "org_kde_kwin_idle", 1)
[2692915.080] [email protected](12, "zwp_idle_inhibit_manager_v1", 1)
[2692915.093] [email protected](13, "zwlr_layer_shell_v1", 1)
[2692915.111] [email protected](14, "zxdg_shell_v6", 1)
[2692915.128] [email protected](15, "xdg_wm_base", 2)
[2692915.150] [email protected](16, "org_kde_kwin_server_decoration_manager", 1)
[2692915.169] [email protected](17, "zxdg_decoration_manager_v1", 1)
[2692915.188] [email protected](18, "zwlr_export_dmabuf_manager_v1", 1)
[2692915.205] [email protected](19, "zwlr_screencopy_manager_v1", 1)
[2692915.220] [email protected](20, "zwp_virtual_keyboard_manager_v1", 1)
[2692915.235] [email protected](21, "zwlr_input_inhibit_manager_v1", 1)
[2692915.248] [email protected](22, "wl_seat", 6)
[2692915.263] -> [email protected](22, "wl_seat", 1, new id [unknown]@6)
[2692915.284] [email protected](23, "wl_output", 3)
[2692915.298] [email protected](24, "wl_output", 3)
[2692915.310] [email protected](19137)
[2692915.324] -> [email protected]_registry(new id wl_registry@3)
[2692915.338] -> [email protected](new id wl_callback@7)
[2692915.389] [email protected]_id(7)
[2692915.400] [email protected](1, "wl_shm", 1)
[2692915.417] [email protected](2, "zwp_linux_dmabuf_v1", 3)
[2692915.431] [email protected](3, "wl_drm", 2)
[2692915.448] -> [email protected](3, "wl_drm", 2, new id [unknown]@8)
[2692915.475] [email protected](4, "wl_compositor", 4)
[2692915.494] [email protected](5, "wl_subcompositor", 1)
[2692915.513] [email protected](6, "wl_data_device_manager", 3)
[2692915.533] [email protected](7, "gamma_control_manager", 1)
[2692915.553] [email protected](8, "zwlr_gamma_control_manager_v1", 1)
[2692915.573] [email protected](9, "gtk_primary_selection_device_manager", 1)
[2692915.592] [email protected](10, "zxdg_output_manager_v1", 2)
[2692915.612] [email protected](11, "org_kde_kwin_idle", 1)
[2692915.631] [email protected](12, "zwp_idle_inhibit_manager_v1", 1)
[2692915.651] [email protected](13, "zwlr_layer_shell_v1", 1)
[2692915.672] [email protected](14, "zxdg_shell_v6", 1)
[2692915.693] [email protected](15, "xdg_wm_base", 2)
[2692915.712] [email protected](16, "org_kde_kwin_server_decoration_manager", 1)
[2692915.732] [email protected](17, "zxdg_decoration_manager_v1", 1)
[2692915.751] [email protected](18, "zwlr_export_dmabuf_manager_v1", 1)
[2692915.770] [email protected](19, "zwlr_screencopy_manager_v1", 1)
[2692915.790] [email protected](20, "zwp_virtual_keyboard_manager_v1", 1)
[2692915.811] [email protected](21, "zwlr_input_inhibit_manager_v1", 1)
[2692915.831] [email protected](22, "wl_seat", 6)
[2692915.853] [email protected](23, "wl_output", 3)
[2692915.873] [email protected](24, "wl_output", 3)
[2692915.892] [email protected](19137)
[2692915.903] -> [email protected](new id wl_callback@7)
[2692915.941] [email protected]_id(7)
[2692915.950] [email protected]("/dev/dri/card0")
[2692915.980] -> [email protected](4)
[2692915.990] [email protected](808669761)
[2692916.000] [email protected](808669784)
[2692916.010] [email protected](875713089)
[2692916.020] [email protected](875713112)
[2692916.029] [email protected](909199186)
[2692916.039] [email protected](961959257)
[2692916.049] [email protected](825316697)
[2692916.059] [email protected](842093913)
[2692916.068] [email protected](909202777)
[2692916.078] [email protected](875713881)
[2692916.088] [email protected](842094158)
[2692916.097] [email protected](909203022)
[2692916.106] [email protected](1448695129)
[2692916.116] [email protected](1)
[2692916.125] [email protected](19137)
[2692916.136] -> [email protected](new id wl_callback@7)
[2692916.168] [email protected]_id(7)
[2692916.177] [email protected]()
[2692916.184] [email protected](19137)
# find_driver: Trying DRM driver `intel'
# wld_font_open_name: Opening font with name: monospace:size=10
# wld_font_open_pattern: Loading font file: /usr/share/fonts/TTF/DejaVuSansMono.ttf
I am using sway as my wayland compositor if that helps.
from dmenu.
Oh, I see. As far as I know, there is no standard wayland protocol for displaying surfaces that need to be docked on the edge of the screen. This version of dmenu uses the swc_panel_manager protocol I wrote for swc (https://github.com/michaelforney/swc/blob/master/protocol/swc.xml). If the compositor doesn't support that protocol, it just exits with status 1 (it should probably print an error message though, to avoid confusion).
To make this work with sway/wlroots, you will need to change it to use the wlr_layer_shell protocol:
https://github.com/swaywm/wlroots/blob/master/protocol/wlr-layer-shell-unstable-v1.xml
from dmenu.
I assume that means I would have to modify the source of this project?
from dmenu.
Yes.
from dmenu.
Related Issues (4)
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 dmenu.