ftrx · 2022-02-02 10:08
Glad to discover that posframe now works with EXWM :D
Anyway, very good video showcase and explanation! Personally I've failed to use FF this ways, I tend to switch tabs too much so I'm using instead Tab Center Reborn [1] and while the overall usage is still not ideal seems to work enough, you push me to re-try though!
[1] successor of Tab Center Redux, i.e. Fiferox vertically stacked tabs, the idea is simple: horizontal tabs can't scale, their titles eat horizontal space and also they waste vertical space witch on 16:9 and alike is always too little. Vertical tabs ensure much more number of tabs with good enough title visibility and do not waste precious vertical space in large monitors.
franburstall · 2022-02-02 13:58
Yeah, the key takeaway for me was that posframe works for exwm now (I wonder what had changed?).
Does anyone know how to get a visible border around the posframe? This works fine if I run emacs as an X-app in a buffer but not with the emacs running exwm.
ieure · 2022-02-02 16:20
I use the same approach, and it works very well.
My [exwm-firefox](https://github.com/ieure/exwm-firefox) package will give Firefox/Librewolf buffers sensible names, so you can switch to them. Plus a few other nice things, like C-c C-b to go backwards in history.
ftrx · 2022-02-02 20:54
I suppose it's that https://github.com/ch11ng/exwm/issues/550#issuecomment-816361748 there are some other PR for borders but I've not digged that part so far :-)
Least_Isopod_4061 · 2022-02-03 09:22
How did you configure buffer browsing to work with librewolf? I've tried to set this up a few times and could never get it working.
Also I tried to use your package with
(use-package exwm-firefox
:after exwm
:straight (:host github :repo "ieure/exwm-firefox"))
(exwm-firefox-mode)
but that threw an error:
error in process filter: exwm-firefox--title->buffer-name: Invalid function: (page-title (match-string 1 title))
error in process filter: Invalid function: (page-title (match-string 1 title))
pimiddy · 2022-02-03 14:22
I'm not sure if you answered this in the video, but how do you handle opening links? I mean, do you just take care of opening links in new windows instead of tabs, for example? Or can you force Firefox to have tabs disabled?
ieure · 2022-02-03 16:52
> How did you configure buffer browsing to work with librewolf?
I used the same user chrome as Firefox to hide the tab bar. exwm-firefox works with either Firefox or Librewolf with no additional configuration.
Could you make sure you're using commit `ac1298b`? `M-x straight-pull-package RET exwm-firefox RET` is probably the easiest way to do that. If you're still having trouble, please open an issue on the GH repo and I'll help troubleshoot.
I'm not sure why that error would be happening, the code is inside an `if-let`, but it seems like the binding form is getting evaluated as a function form. Which is completely wack. Are you on an old Emacs version? `if-let` was added in 25.1, if you're on 24.x or older, stuff definitely won't work right.
This is my configuration, I use it daily:
(use-package exwm-firefox
:demand t
:straight (exwm-firefox
:host github
:repo "ieure/exwm-firefox")
:config (exwm-firefox-mode)
:bind (("C-c C-n" . exwm-firefox-core-window-new)
("C-x 4 C-n" . exwm-firefox-split-window)))
Least_Isopod_4061 · 2022-02-04 05:51
`ac1298b` on emacs 27.2, I can't understand it either.
ieure · 2022-02-04 18:26
Okay, please open an issue and I'll see if I can figure out what's going wrong.
[deleted] · 2022-02-05 13:20
[removed]
rk45 · 2022-02-06 08:47
Hi!
Firefox settings, disable `Open links in tabs instead of new windows`. If you edit `user.js` directly, the setting is:
```
user_pref("browser.link.open_newwindow", 2);
```