The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Banshee Media Player

asked 2012-12-27 21:12:30 +0000

TheQueasle gravatar image

I can't seem to set the Banshee window to always appear on a set workspace.

From Config:

set $bansheeSpace 8: Music    
assign [class="^Banshee$"] $bansheeSpace

As far as I can tell, the class name is 'Banshee'

Output of xlsclients -l:

Window 0x2e00001:
  Machine:  blah.foo.bar
  Name:  Banshee
  Icon Name:  Banshee
  Command:  Banshee      
  Instance/Class:  Banshee/Banshee

But I can't seem to crack it. Is anyone else having a similar problem?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-01-02 18:57:02 +0000

Michael gravatar image

To quote the userguide:

To get the class and instance, you can use xprop. After clicking on the window, you will see the following output:

WM_CLASS(STRING) = "irssi", "URxvt"

The first part of the WM_CLASS is the instance ("irssi" in this example), the second part is the class ("URxvt" in this example).

When I run xprop on banshee, I get:

WM_CLASS(STRING) = "Banshee", "banshee"

And when I use the following in my config file, Banshee starts up on the workspace “8: Music“:

set $bansheeSpace 8: Music
assign [class="^banshee$"] $bansheeSpace

In case you run into a similar issue in the future, you can check i3’s log to figure it out, see http://i3wm.org/docs/debugging.html

edit flag offensive delete link more

Comments

Right...I appreciate the answer. I guess I should have been more verbose with the troubleshooting steps I took to get to this point...the FAQ is my last stop in troubleshooting. I'll try again with a fresh install after I upgrade to Fedora 18, and then move to the logs if that fails as well.

TheQueasle gravatar imageTheQueasle ( 2013-01-15 22:04:19 +0000 )edit

Question Tools

Stats

Asked: 2012-12-27 21:12:30 +0000

Seen: 548 times

Last updated: Jan 02 '13