{"action":"opened","issue":{"url":"https://api.github.com/repos/DaveDavenport/rofi/issues/331","labels_url":"https://api.github.com/repos/DaveDavenport/rofi/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/DaveDavenport/rofi/issues/331/comments","events_url":"https://api.github.com/repos/DaveDavenport/rofi/issues/331/events","html_url":"https://github.com/DaveDavenport/rofi/issues/331","id":130619999,"number":331,"title":"Strange case of not seeing list of entries when combined with `j4-dmenu-desktop`","user":{"login":"roomcays","id":826010,"avatar_url":"https://avatars.githubusercontent.com/u/826010?v=3","gravatar_id":"","url":"https://api.github.com/users/roomcays","html_url":"https://github.com/roomcays","followers_url":"https://api.github.com/users/roomcays/followers","following_url":"https://api.github.com/users/roomcays/following{/other_user}","gists_url":"https://api.github.com/users/roomcays/gists{/gist_id}","starred_url":"https://api.github.com/users/roomcays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roomcays/subscriptions","organizations_url":"https://api.github.com/users/roomcays/orgs","repos_url":"https://api.github.com/users/roomcays/repos","events_url":"https://api.github.com/users/roomcays/events{/privacy}","received_events_url":"https://api.github.com/users/roomcays/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-02T09:08:33Z","updated_at":"2016-02-02T09:08:33Z","closed_at":null,"body":"So this *issue* involves [j4-dmenu-desktop](https://github.com/enkore/j4-dmenu-desktop), very fast .desktop files finder written in C++.\r\n\r\nSome background store first.\r\nI used to use it in combination with **rofi**'s **dmenu mode** instead of simply using `rofi -show drun`, because I have used **j4-dmenu-desktop** before with original [dmenu](http://tools.suckless.org/dmenu/).\r\nThen I wanted to have **j4-dmenu-desktop** appear as a custom **modi** in **rofi**, i.e. not standalone *dmenu mode*, eventually combining it with other modis in *combi-mode*.\r\n\r\nBut **j4-dmenu-desktop** was unable to produce list of entries to `STDOUT`, so I have created an [issue in it's github's bug tracker](https://github.com/enkore/j4-dmenu-desktop/issues/39). It's author, [enkore](https://github.com/enkore) kindly provided me a solution how to make `j4-dmenu-desktop` print results to `STDOUT` using some (magical) shell extensions involving `readlink` and output/input redirection, as you can see in [this comment](https://github.com/enkore/j4-dmenu-desktop/issues/39#issuecomment-177164865).\r\n\r\nNow the issue I'm reporting might, but might not, be related with `rofi`. Solution [enkore](https://github.com/enkore) provided works fine when using it in in terminal/console, i.e. it prints what is expected to `STDOUT`, nicely one entry per line. But **rofi does not see this** as a proper input for **modi**...\r\n\r\nI thought it might be interesting. I am ready to provide any more details if required. I love both programs, use them daily and appreciate solid work of their authors."}}