Skip to content

Commit

Permalink
Update readme with instructions for xfce terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
SeerLite committed Aug 1, 2020
1 parent 1a9ea60 commit 63460ab
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ They are evaluated through shell (sub shell), so most expressions should work. T
* gnome
* openbox
* plasma
* Xfce
* herbstluftwm (by [cbf305](https://github.com/cbf305))
## Blacklisting
Expand All @@ -89,6 +90,7 @@ To the `blacklist` variable [space separated].
## Knows Issues
* `sxiv` doesn't support this (as of now). https://github.com/muennich/sxiv/issues/398
- Solution: https://github.com/elkowar/sxiv/tree/set_net_wm_pid (use this).
* Wrong terminal is swallowed in Xfce: See [#WM specific recommendations/Xfce](#xfce)

## Tricks
### Manual swallow (toggle)
Expand Down Expand Up @@ -129,3 +131,12 @@ export PIDSWALLOW_PREGLUE_HOOK='bspc query -N -n {%pwid}.floating >/dev/null &&
Check if parent window state is `floating` and apply the same to the child if that's the case.
This example should work in most cases, but feel free to add more complex hooks to your setup. (e.g. to mimic more properties of the parent).

### Xfce
By default, every Xfce Terminal is connected to the same D-Bus daemon. This makes it hard for pidswallow to see which terminal should be swallowed, since they all share the same PID.
As a workaround, you can edit the Xfce Terminal launcher to use the `--disable-server` flag:
1. Open Application Finder
2. Search for "Xfce Terminal"
3. Right click the result that has "Terminal Emulator" as its description and click Edit
4. Change the "Command" field to `xfce4-terminal --disable-server`
5. Save

0 comments on commit 63460ab

Please sign in to comment.