djpohly/dwl

Unable to run firefox flatpak

nful2 opened this issue · 4 comments

nful2 commented

dwl version: 0.4
wlroots version: 0.16.2-1
distro: arch linux

Running flatpak run org.mozilla.firefox doesn't output anything and doesn't start firefox.

I was having the same problem no matter how I installed firefox.
I was to fix it by changing the following area in config.def.h from firefox to something that I don't use like foot

dwl/config.def.h

Lines 13 to 19 in fbd84ac

static const Rule rules[] = {
/* app_id title tags mask isfloating monitor */
/* examples:
{ "Gimp", NULL, 0, 1, -1 },
*/
{ "firefox", NULL, 1 << 8, 0, -1 },
};

That section allows you to specify initial configuration for certain apps. Here it says to start Firefox with tag 8 instead of the current tagset.

If that's not what you want, then just remove that line from your config.h. config.def.h is a sample; config.h is meant to be read and edited.

I just tested the default rule after I got waybar working and firefox showed up on tag 9 instead of 8.

If you count them starting with 1, sure. 😉