You are not logged in.

#1 2013-08-03 03:37:38

jv2112
Member
Registered: 2011-07-23
Posts: 160

I3 Window Manager Applications Wont go to the assigned desktop[solved]

I have played with this configuration for a while now and I can't figure out why some applications go where I tell them to and some don't.

These are my current programs that wont go to the directed desktop either through hot keys or if I try to launch at boot.
nmcpp -- Tried using urxvt but then I thought that might be confussing the issue so I changed to lxterminal and same issue.

Thunar -- is an issue as well . I was using dolphin and that obeyed the syntax but I prefer Thunar.


i3 - config file -->
http://pastebin.com/u/jv2112

Any ideas ?

Thanks in advance for your response. smile

Last edited by jv2112 (2013-08-10 02:33:47)


Life is pleasant. Death is peaceful. It's the transition that's troublesome. Isaac Asimov - / -

Offline

#2 2013-08-03 03:39:51

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: I3 Window Manager Applications Wont go to the assigned desktop[solved]

You should use class=Thunar instead of title I think.

for ncmpcpp, maybe try urxvt and don't forget the -title option in the commandline.

Last edited by progandy (2013-08-03 03:42:47)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2013-08-03 04:02:44

jv2112
Member
Registered: 2011-07-23
Posts: 160

Re: I3 Window Manager Applications Wont go to the assigned desktop[solved]

Changing Thunar designation to class did the trick.  -- > Thank You !!! progandy.

Still working on ncmpcpp.  No dice with this change ...

bindsym  XF86_Tools exec --no-startup-id urxvt -title urxvt -e ncmpcpp 
assign [class="urxvt"] "3 : Tunes"

Life is pleasant. Death is peaceful. It's the transition that's troublesome. Isaac Asimov - / -

Offline

#4 2013-08-03 04:29:01

Ledti
Member
Registered: 2010-07-31
Posts: 122
Website

Re: I3 Window Manager Applications Wont go to the assigned desktop[solved]

jv2112 wrote:

Changing Thunar designation to class did the trick.  -- > Thank You !!! progandy.

Still working on ncmpcpp.  No dice with this change ...

bindsym  XF86_Tools exec --no-startup-id urxvt -title urxvt -e ncmpcpp 
assign [class="urxvt"] "3 : Tunes"

See: http://i3wm.org/docs/userguide.html#command_criteria

For your case, I believe you'd want to use -name for urxvt.

bindsym XF86_Tools exec urxvt -name ncmpcpp -e ncmpcpp
assign [instance="ncmpcpp"] "3 : Tunes"

Edit: Also, you might find this script useful. It requires libnotify and a notification daemon. I have it bound like this:

bindsym --release $mod+F1 exec --no-startup-id xprop_notify

I just press Mod4 + F1 then click on a window and it reports the instance, class, and role of the window via dunst.

The command criteria are case-sensitive, so the reason why assign [class="urxvt"] ... wasn't working for you is because by default the class for urxvt is URxvt. And urxvt -title doesn't change the class, it just changes the title of the window.

Last edited by Ledti (2013-08-03 04:48:23)

Offline

#5 2013-08-10 02:32:50

jv2112
Member
Registered: 2011-07-23
Posts: 160

Re: I3 Window Manager Applications Wont go to the assigned desktop[solved]

PERFECT !!!

Thank You Ledti. Worked perfect.


Life is pleasant. Death is peaceful. It's the transition that's troublesome. Isaac Asimov - / -

Offline

Board footer

Powered by FluxBB