Switcher doesn't switch
savchenko opened this issue · comments
In continuation of #2,
ps ax | grep 'swayfloatingswitcher'
569641 pts/0 Sl+ 0:00 ./swayfloatingswitcher
In Sway config:
bindsym Alt+Tab exec swayfloatingswitcher-client --next
bindsym Alt+Shift+Tab exec swayfloatingswitcher-client --previous
Also:
run --next
Starting program: /home/user/code/SwayFloatingSwitcher/build/src/swayfloatingswitcher --next
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff56c7700 (LWP 571887)]
[New Thread 0x7ffff4ec6700 (LWP 571888)]
[New Thread 0x7fffeffff700 (LWP 571889)]
[New Thread 0x7fffef7fe700 (LWP 571890)]
Could not aquire "org.erikreider.swayfloatingswitcher" name
[Thread 0x7ffff4ec6700 (LWP 571888) exited]
^C
Thread 1 "swayfloatingswi" received signal SIGINT, Interrupt.
0x00007ffff71853ff in __GI___poll (fds=0x5555555e63a0, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
Only one instance of swayfloatingswitcher can be running at a time (per user).
I'm not sure if the GitHub app is cutting some of the post off or not so I'll check again tomorrow
Only one instance of swayfloatingswitcher can be running at a time (per user).
I have only one instance running as can be seen from the first snippet.
I'm not sure if the GitHub app is cutting some of the post off or not so I'll check again tomorrow
Quite likely :) Enjoy the rest!
Hmmm... What session dbus services are running? You can use Gnomes DFeet or Qts QDBusViewer :)
$ sudo ps ax | grep dbus # unrelated stuff is manually trimmed
804 ? Ss 0:08 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
1491 ? Ss 0:01 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
So then the application should be up and running in the background
So then the application should be up and running in the background
It does. Added screenshot from the d-feet
above. Anything else you might find helpful?
Everything looks good. Try running killall swayfloatingswitcher; swayfloatingswitcher
As expected, swayfloatingswitcher: no process found
. Meaning I don't have one lingering on the background. I have also checked if it is affected by ~/.config/gtk-3.0/gtk.css
- not the case.
Can you post a screenshot how working swayfloatingswitcher
looks like?
Good point of reference. Created a couple of floating windows of foot
, re-launched server and executed client manually:
./swayfloatingswitcher --next
Could not aquire "org.erikreider.swayfloatingswitcher" name
:-/
Try running swayfloatingswitcher-client --next
instead
Great! That happens to me all the time 😅