You are not logged in.

#1 2014-03-11 07:08:01

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,932
Website

Spectrwm can only open terminal on workspace one

Using default config and only changing the term to lxterminal I can only open terminals on workspace one. Not sure if this a feature or a bug. Not been using Spectrwm very long so am reading and setting up wm at the moment.

Can you run terminals on other workspaces or do you just shift them to one?


Mr Green

Offline

#2 2014-03-11 10:52:19

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Spectrwm can only open terminal on workspace one

Maybe there's a rule in the default config that gives this behaviour? You should definitely take a look at the config.

Offline

#3 2014-03-12 12:24:26

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,932
Website

Re: Spectrwm can only open terminal on workspace one

Have loaded Spectrwm on my laptop and have same problem, with default config. Was going to ask on Spectrwm forums but they are not taking any more registrations at the moment.

Running

spectrwm 2.5.0-1

config as follows (still messing with it!)

# PLEASE READ THE MAN PAGE BEFORE EDITING THIS FILE!
# http://opensource.conformal.com/cgi-bin/man-cgi?spectrwm
# NOTE: all rgb color values in this file are in hex! see XQueryColor for examples

# workspace_limit	= 22
# focus_mode		= default
# focus_close		= previous
# focus_close_wrap	= 1
# focus_default		= last
# spawn_position		= next

# Window Decoration
# border_width		= 1
  color_focus		= slateblue
  color_focus_maximized	= yellow
# color_unfocus		= rgb:88/88/88
# color_unfocus_maximized	= rgb:88/88/00
# region_padding	= 0
# tile_gap		= 0

# Region containment
# Distance window must be dragged/resized beyond the region edge before it is
# allowed outside the region.
# boundary_width 		= 50

# Remove window border when bar is disabled and there is only one window in workspace
# disable_border		= 1

# Bar Settings
bar_enabled		= 1
# bar_border_width	= 1
# bar_border[1]		= rgb:00/80/80
# bar_border_unfocus[1]	= rgb:00/40/40
# bar_color[1]		= black
# bar_font_color[1]	= rgb:a0/a0/a0
bar_font		= -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
# bar_action		= baraction.sh
# bar_justify		= left
# bar_format		= +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+A+4<+V
bar_at_bottom		= 1
# stack_enabled		= 1
clock_enabled		= 1
# clock_format		= %a %b %d %R %Z %Y
# iconic_enabled	= 0
# window_class_enabled	= 0
# window_instance_enabled	= 0
# window_name_enabled	= 0
# verbose_layout		= 1
# urgent_enabled		= 1

# Dialog box size ratio when using TRANSSZ quirk; 0.3 < dialog_ratio <= 1.0
# dialog_ratio		= 0.6

# Split a non-RandR dual head setup into one region per monitor
# (non-standard driver-based multihead is not seen by spectrwm)
# region		= screen[1]:1280x1024+0+0
# region		= screen[1]:1280x1024+1280+0

# Launch applications in a workspace of choice
autorun		= ws[1]:lxterminal
# autorun		= ws[2]:xombrero http://www.openbsd.org

# Customize workspace layout at start
# layout		= ws[1]:4:0:0:0:vertical
# layout		= ws[2]:0:0:0:0:horizontal
# layout		= ws[3]:0:0:0:0:fullscreen
# layout		= ws[4]:4:0:0:0:vertical_flip
# layout		= ws[5]:0:0:0:0:horizontal_flip

# Set workspace name at start
name			= ws[1]:Term
# name			= ws[2]:Email
# name			= ws[3]:Browse
# name			= ws[10]:Music

# Mod key, (Windows key is Mod4) (Apple key on OSX is Mod2)
modkey = Mod4

# This allows you to include pre-defined key bindings for your keyboard layout.
# keyboard_mapping = ~/.spectrwm_us.conf

# PROGRAMS

# Validated default programs:
# program[lock]		= xlock
program[term]		= lxterminal
program[menu]		= dmenu_run $dmenu_bottom -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_border -sf $bar_color

# To disable validation of the above, free the respective binding(s):
# bind[]		= MOD+Shift+Delete	# disable lock
# bind[]		= MOD+Shift+Enter	# disable term
# bind[]		= MOD+p			# disable menu

# Optional default programs that will only be validated if you override:
# program[screenshot_all]	= screenshot.sh full	# optional
# program[screenshot_wind]	= screenshot.sh window	# optional
# program[initscr]	= initscreen.sh			# optional

# EXAMPLE: Define 'firefox' action and bind to key.
program[firefox]	= firefox http://spectrwm.org/
bind[firefox]		= MOD+Shift+b

# QUIRKS
# Default quirks, remove with: quirk[class:name] = NONE
quirk[Firefox-bin:firefox-bin]		= TRANSSZ
quirk[Firefox:Dialog]			= FLOAT
# quirk[Gimp:gimp]			= FLOAT + ANYWHERE
# quirk[XTerm:xterm]			= XTERM_FONTADJ

Mr Green

Offline

#4 2014-03-12 13:39:44

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Spectrwm can only open terminal on workspace one

I don't have this issue, I'm able to run a terminal on any ws.

I've not used the default config for some time, nor ever used autorun, but a quick look at the config above I wonder if the autorun setting is causing it?
According to the manual, it shouldn't (or at least, my interpretation of it), but it's worth a try. If it doesn't work I'll do a compare with mine and see what else is different.

Incidentally, conformal have, as far as I can see, moved to a mailing list set-up now. There is a spectrwm mailing list - though it doesn't get much traffic, I think.

https://github.com/conformal/spectrwm/w … _resources


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#5 2014-03-12 14:17:11

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,932
Website

Re: Spectrwm can only open terminal on workspace one

Thanks I will give it a go, was a little disappointed as I really liked the lightness and speed... Ideal for my ageing laptop

Last edited by Mr Green (2014-03-12 14:18:09)


Mr Green

Offline

#6 2014-03-13 23:20:40

sm4tik
Member
Registered: 2006-11-05
Posts: 248

Re: Spectrwm can only open terminal on workspace one

While setting up my old nettop I've been playing around with spectrwm for a couple of days and out of interest I installed lxterminal and can confirm that after installing it, I wasn't able to run it on other ws's than 1. Hower after I toggled it into floating (MOD+t) and put it back into tile, it's now opening on every ws like it should. I'm not sure what to blame, but it's working now? So try toggling float mode with lxterminal and see what happens.

Offline

#7 2014-03-14 07:03:37

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,932
Website

Re: Spectrwm can only open terminal on workspace one

Will check it out, assuming xterm works fine. Could be that I just need to switch to a different terminal.

Thanks


Mr Green

Offline

#8 2014-03-14 10:17:06

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Spectrwm can only open terminal on workspace one

Did removing the autorun entry not work, then?


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#9 2014-03-14 11:03:45

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,932
Website

Re: Spectrwm can only open terminal on workspace one

Have gone back to a default set up (stock config from /etc/spectrwm.conf) and can confirm that opening lxterminal only works on one workspace. Using xterm opens, tiles, just works on all workspaces.

Not sure you could call it a bug, possibly just need to run a better terminal rxvt maybe.

Thanks for your help


Mr Green

Offline

#10 2014-03-14 22:16:53

sm4tik
Member
Registered: 2006-11-05
Posts: 248

Re: Spectrwm can only open terminal on workspace one

Did you try floating [MOD+t] (and resizing [MOD+Mouse3 and drag] ) lxterminal? Since I did that, I've not been able to reproduce the behavior. Anyway, other terms seem to be working without quirks.

edit: Almost forgot. If you're using dmenu, using

-fn $bar_font

will set the font, but causes some additional padding on the top of dmenu for some reason. Defining font "literally", as in

-*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*

won't have the padding effect.

Last edited by sm4tik (2014-03-14 23:12:49)

Offline

#11 2014-04-28 20:15:17

PieterGen
Member
From: Groningen, NL, EU
Registered: 2012-01-18
Posts: 59

Re: Spectrwm can only open terminal on workspace one

I have a similar problem. It seems that some applications (lxterminal, firefox, chromium) want to open only new windows on desktops where there are other open instances of that application. So, open firefox in desktop 3, and all your firefox windows will only open in 3.

???

Only xterm and dmenu seem to be 'free'  ??

MUST be something in the default configs.... but what ?

Offline

#12 2014-04-28 20:26:56

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Spectrwm can only open terminal on workspace one

This is a known issue with spectrwm. It's not a config problem.

https://github.com/conformal/spectrwm/issues/11

https://opensource.conformal.com/fluxbb … c.php?id=6
https://opensource.conformal.com/fluxbb … hp?id=1019
https://opensource.conformal.com/fluxbb … php?id=911

FWIW, sscrotwm (a scrotwm/spectrwm fork) does not appear to have this problem -- you might consider trying that wm. But check the README first to make sure you can be happy with what's different from spectrwm: https://github.com/sporkexec/sscrotwm/b … /README.md

Last edited by 2ManyDogs (2014-04-28 20:58:54)

Offline

#13 2014-04-28 21:51:29

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Spectrwm can only open terminal on workspace one

I can open Firefox on more than one workspace (just tried it, though I don't normally do it).
Also gnumeric, urxvt and termite can have multiple versions open on separate workspaces. I've not tried any other applications yet, but I've never noticed the issue with other applications.

I also find (pretty sure, but can't check at the moment) that if I open say FFx on WS 3 and move to WS 2, then FFx will open on WS 2. Testing with other applications they open on the original WS, but on start-up when FFx takes some time to open, it (and this certainly happened last time I tried it) follows the cursor/active WS.

Not sure if this is different behaviour to that described above, or I'm just misunderstanding it?


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#14 2014-04-28 22:12:23

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Spectrwm can only open terminal on workspace one

^What we're talking about (at least what I am talking about) is if FF is open on ws3, then I switch to ws2 and try to open another instance of firefox, I just get another FF window on ws3. It is possible to open FF on any workspace, but once open on any workspace new windows always open on that workspace.

This does not happen with all apps (not urxvt, and not gnumeric, for example) but does happen with firefox and lxterminal, at least for me. Open an lxterminal on ws3, switch to ws4 and try to open another lxterminal, I get a new window on ws3. This is not a problem for me because I don't use lxterminal and know what to expect with Firefox, but it annoys some people.

Last edited by 2ManyDogs (2014-04-28 22:17:33)

Offline

#15 2014-04-28 22:15:41

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Spectrwm can only open terminal on workspace one

2ManyDogs wrote:

^What we're talking about (at least what I am talking about) is if FF is open on ws3, then I switch to ws2 and try to open another instance of firefox, I just get another FF window on ws3). It is possible to open FF on any workspace, but once open on any workspace new windows always open on that workspace.

This does not happen with all apps (not urxvt, for example) but does happen with firefox and lxterminal, at least for me.

I have FF on WS3, switch to WS6, open FF again and it opens on WS6.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#16 2014-04-28 22:16:26

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Spectrwm can only open terminal on workspace one

skanky wrote:

I have FF on WS3, switch to WS6, open FF again and it opens on WS6.

With FF still open on ws3? I can't run FF on two workspaces at the same time. urxvt and gnumeric yes, lxterminal and firefox no.

Last edited by 2ManyDogs (2014-04-28 22:18:50)

Offline

#17 2014-04-28 22:18:31

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Spectrwm can only open terminal on workspace one

2ManyDogs wrote:
skanky wrote:

I have FF on WS3, switch to WS6, open FF again and it opens on WS6.

With FF still open on ws3?

Yep.

EDIT: I've no idea why, and am going off-line now, but can pick this up tomorrow if you're interested.

Last edited by skanky (2014-04-28 22:21:04)


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#18 2014-04-28 22:20:41

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Spectrwm can only open terminal on workspace one

OK weird. I give up. I can't do this, nor can any of the people who complained on the spectrwm forum. Good thing I don't use spectrwm. ;-)

Offline

#19 2014-04-28 22:21:49

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Spectrwm can only open terminal on workspace one

2ManyDogs wrote:

OK weird. I give up. I can't do this, nor can any of the people who complained on the spectrwm forum. Good thing I don't use spectrwm. ;-)

I do, I don't have any issues with it. wink


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#20 2014-04-28 22:23:02

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Spectrwm can only open terminal on workspace one

I don't either, as I said, this is not an issue for me. I just like many other window managers much more.

Last edited by 2ManyDogs (2014-04-28 22:23:50)

Offline

#21 2014-04-29 08:04:35

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Spectrwm can only open terminal on workspace one

2ManyDogs wrote:

I don't either, as I said, this is not an issue for me. I just like many other window managers much more.

It's quite probable that there's one or two out there that I would much prefer, but I tend to need a push, rather than a pull, to move. So, at the moment, inertia keeps me here.

Last edited by skanky (2014-04-29 08:05:17)


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#22 2014-04-29 09:57:30

PieterGen
Member
From: Groningen, NL, EU
Registered: 2012-01-18
Posts: 59

Re: Spectrwm can only open terminal on workspace one

I DO have said problem in Spectrwm, which is a shame because otherwise it's a nice wm. But nevermind, the last days I have played withstudied several wms: dwm, awesome, i3wm, herbstluftwm and goomwwm. I'll stick with herbstluftwm for now :-) 

(My favorite stacker is openbox, but goommw may replace it...I'll miss the obmenu, the famous right-click, so perhaps goowmmw + obmenu it is for a stacker? hmmmmm)

Hope spectrwm gets fixed though.

Offline

#23 2014-04-29 11:16:50

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,932
Website

Re: Spectrwm can only open terminal on workspace one

For now I will stick with i3, just about got it set up as I want.....


Mr Green

Offline

#24 2014-04-29 11:48:57

PieterGen
Member
From: Groningen, NL, EU
Registered: 2012-01-18
Posts: 59

Re: Spectrwm can only open terminal on workspace one

Yeah i3wm is nice. is a lot like herbst. What I like about spectrwm is the float/retile function (mod4 t)

But if I really need floating I can use openbox or goommwwm in another terminal

Offline

#25 2014-04-29 11:57:27

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,932
Website

Re: Spectrwm can only open terminal on workspace one

i3 allows you to float. Sometimes I just need to open a quick term (sandbox style) so just bind a floating term to a keybind. Tend to have firefox opened fullscreen on workspace 3. Just need to turn off this stupid laptop touchpad as it makes typing a real nightmare.....


Mr Green

Offline

Board footer

Powered by FluxBB