Manjaro Linux Forum

Support for Community Editions => Others => Fluxbox => Topic started by: redart on 26. October 2015, 16:32:26

Title: Terminal misbehavin
Post by: redart on 26. October 2015, 16:32:26
Hi All,
Been playing around with Fluxbox from live USB stick for a while and today decided to change out XFCE4 and give Fluxbox a full blown try. Initially everything was good, although I did notice the background image didn't load a couple of times.  Anyway, after letting the new updates do their thing the terminal window will now not move - not a bit.  It will only open in the top left corner and then wont move, and has also lost it's borders.  can't drag or resize. Did the main update after installing and it was fine. Then I got another update message with 3 (I think) files to update. After this the terminal window has gone bad.  So, question 1 - can I "undo" the last updates and if so how?, 2 - anyone else seeing this? Bug?.  Thanks.  p.s. Kernel: 4.1.11-1-MANJARO x86_64 (64 bit)  Desktop: Fluxbox 1.3.7 Distro: ManjaroLinux 15.09 Bellatrix
Title: Re: Terminal misbehavin
Post by: tanaymkis on 26. October 2015, 17:05:50
Not much I can think of,but any way here is my go at it.
Using pamac(in fluxbox menu go to Tools->System->Add/Remove Software) install another teminal
I recommend Urxvt or Xterm.
Then from the new terminal run the following command
Code: [Select]
downgrade lxterminal
Then downgrade to a lower version.

PS - Sorry for bad English
Title: Re: Terminal misbehavin
Post by: redart on 26. October 2015, 17:27:02
thanks for the suggestion.  Installed Xterm and downgraded Lxterminal but same thing.  Then removed lxterminal completely and re-installed - same again.  Guess I'll just use Xterm for the time being !
Title: Re: Terminal misbehavin
Post by: oberon on 26. October 2015, 18:59:34
This strange bug has been reported before. A few people experience this behavior with several terminal programs - some only in connection with video recording apps running at the same time. So far I don't have a real answer, but you could try using gnome-terminal instead of lxterminal. Would that work for you?
Title: Re: Terminal misbehavin
Post by: oberon on 26. October 2015, 19:14:16
Would you maybe have a choice of different video drivers? That would be interesting. My guess is that this is related to certain GPUs - because, as I said, the strange thing is that only some people get this problem...
Title: Re: Terminal misbehavin
Post by: redart on 26. October 2015, 19:30:21
thanks for the replies oberon.  I thought I'd solved the problem by downloading the latest 15.10 version of fluxbox from sourceforge. Initially evrything was great - LXTerminal working as intended, however after an hours use it's just now gone the same way  :(   Also, the dock is behaving strangely as well - think it could be related.....with position set to bottom is goes near the top of the screen but the text stays at the bottom; when set to top it's at the top; when set to right it goes near the left side but  text is on the right side; and when set to left it's all left.
Title: Re: Terminal misbehavin
Post by: redart on 26. October 2015, 19:51:25
Not sure if this is related but could be useful - just installed a Conky (Gotham) - if i set the transparency to either "Transparent" or "Semi-Transparent" then it ignores the position setting and sits top left like the LXTerminal window.  If I set the transparency to "Psuedo-Transparent" or "Opaque" then it takes whatever position I set it to. Weird.
Title: Re: Terminal misbehavin
Post by: oberon on 26. October 2015, 20:00:54
hmmm, interesting, indeed!! ???
something to do with the built in fluxbox pseudo transparency maybe??
Title: Re: Terminal misbehavin
Post by: redart on 26. October 2015, 21:07:46
Possibly.  Tried forcing pseudo-transparency option and playing around with the various alpha settings but no diff.  I'm afraid i'm too much of a noob to be of much help  :-[
Title: Re: Terminal misbehavin
Post by: oberon on 27. October 2015, 00:11:42
My problem is that I don't have that issue to try and fix it ;) ;D
Title: Re: Terminal misbehavin
Post by: redart on 27. October 2015, 12:12:37
I envy you your problems !  ;)   OK, well I don't know if this will help but a few other observations:-  1. Tried a different laptop (although same manufacturer - Lenovo), Thinkpad T500 and T400s both display the same behaviour. 2. Tried a different video driver - the hardware detection tool in Manjaro Setting Manager lists video-intel (default) and video-vesa - video-vesa just gave a blank screen on reboot  :(.  3. the issue also happens when running Live environment from a USB  stick, and,  4.  it only happens AFTER either logging out and back in, or switching users !!.  Most peculiar.   ***** CORRECTION - only happens if I use the Switch option in Oblogout.  Logging out doesn't do it, but after using Switch, loggin out and back in fixes the problem.  Also, choosing Restart from the Fluxbox settings menu gets it back to normal too  :)

Title: Re: Terminal misbehavin
Post by: oberon on 27. October 2015, 14:48:13
OK, that is really interesting news. Thank you very much!
My guess is that this could be related to lightdm-gtk-greeter. Until recently I used to have the issue that switching user and back gave me a completely black screen...
But well, if that means that restarting fluxbox helps at least that sounds like something one can live with until the greeter bug is fixed.
I think this command should work to link to a keyboard-shortcut (not tested, yet)
Code: [Select]
fluxbox-remote restart
Or one could also think of using a different greeter... That would definitely be a way to prove if lightdm-gtk-greeter is the culprit  >:(
Title: Re: Terminal misbehavin
Post by: redart on 27. October 2015, 18:00:47
Tried lightdm-kde-greeter and same thing  :(    Fortunately I don't actually need to Switch accounts as it's just me, so I think I'll just avoid that icon  ;D   Thanks for all the help anyway  :)
Title: Re: Terminal misbehavin
Post by: oberon on 27. October 2015, 20:15:31
Maybe you could try something not lightdm ... like lxdm for example?
Title: Re: Terminal misbehavin
Post by: simgin on 28. October 2015, 03:00:34
^ Maybe good old startx ?  ::)
Title: Re: Terminal misbehavin
Post by: redart on 28. October 2015, 12:41:12
Tried mdm, lxdm, slim, startx,.......now got a new problem - Switch option doesn't work  :-[.  So I thought....."aahhhaa...there's no-one to switch to as I'm the only account!".  So added two new accounts.  Can log in and out of each, but the Switch option still wont work  >:(    What have I missed?
Title: Re: Terminal misbehavin
Post by: oberon on 28. October 2015, 12:58:21
Oh. well... ;) Oblogout-manjaro at the moment assumes that we use Lightdm ::)
The switch-user command is to be found in /etc/oblogout.conf
At the moment it says
Code: [Select]
switch = dm-tool switch-to-greeterWe'll need to change that to the respective command for a different dm/greeter. For lxdm that would be
Code: [Select]
switch = lxdm -c USER_SWITCH
Title: Re: Terminal misbehavin
Post by: redart on 28. October 2015, 14:25:47
Well the bad news is that the answer seems to be "sometimes".  Using lxdm I can switch back and forth and usually the terminal window will place fine, but occasionally it still gets stuck at top right. Seems kinda random too so no real insight into what's happening  :-[   Sorry.
Title: Re: Terminal misbehavin
Post by: oberon on 28. October 2015, 14:38:25
Ok. Thank you very much for your investigation! :)
Can you confirm though that restarting fluxbox with "fluxbox-remote restart" fixes it?
Title: Re: Terminal misbehavin
Post by: redart on 30. October 2015, 12:38:55
Sorry - more newbieisms - is "fluxbox-remote restart" a terminal command?  If so it didn't do anything. Using Restart from the Fluxbox Settings menu does the trick every time though.
Title: Re: Terminal misbehavin
Post by: oberon on 30. October 2015, 13:51:06
is "fluxbox-remote restart" a terminal command?
Hm. Yes that was supposed to be a command to do the same as 'restart fluxbox' from the menu - obviously... not 8) ::)
So looks like unfortunately I don't know a way, yet to get a keybinding for that but at least it's good to know that restarting works :)
Title: Re: Terminal misbehavin
Post by: gychang on 10. November 2015, 21:21:28
am having this problem on my X220 thinkpad, with latest 64bit fluxbox (15.12).  Terminal always stays on top, even with chromium just opened and it can not be moved.

tried reinstalling lxterminal, and guess there is no solution to this?
Title: Re: Terminal misbehavin
Post by: oberon on 11. November 2015, 06:12:48
gychang, does "restart fluxbox" not help?
Does this happen every time for you?
Title: Re: Terminal misbehavin
Post by: gychang on 11. November 2015, 15:21:49
gychang, does "restart fluxbox" not help?
Does this happen every time for you?

yes to both questions. 
Title: Re: Terminal misbehavin
Post by: oberon on 12. November 2015, 15:31:29
What about switching to another kernel? 4.1 maybe, or even newer?
Title: Re: Terminal misbehavin
Post by: gychang on 12. November 2015, 18:57:24
What about switching to another kernel? 4.1 maybe, or even newer?

tried 4.3.0.1 kernel, same problem remains.
Title: Re: Terminal misbehavin
Post by: oberon on 12. November 2015, 19:03:56
 :P
Thank you anyway, gychang!
Title: Re: Terminal misbehavin
Post by: gohlip on 12. November 2015, 19:22:14
gychang, can you try with another terminal?
BTW( by the way), what terminal are you using? ( I don't see a heading)

If there is a "layer..." tab for that therminal, set it to normal, not "top" or "above dock"

Title: Re: Terminal misbehavin
Post by: gychang on 13. November 2015, 00:18:19
gychang, can you try with another terminal?
BTW( by the way), what terminal are you using? ( I don't see a heading)

If there is a "layer..." tab for that therminal, set it to normal, not "top" or "above dock"

tried xfce4-terminal, exactly same problem, opens on left upper corner and unable to move and when I open another program the terminal app it stays on top.  Originally same problem on the default lxterminal, I checked the layer option and it is in "normal"...., minor irritant.
Title: Re: Terminal misbehavin
Post by: gohlip on 13. November 2015, 01:19:59
Okay. I don't know how else then. Sorry.
But good luck.
Title: Re: Terminal misbehavin
Post by: hammy_283 on 14. November 2015, 01:17:01
So, I also had the same problems with lxterminal and terminator would launch and mininize to a tiny box automatically. I then switched to qterminal and it seems to be working with no issues, so far.
Title: Re: Terminal misbehavin
Post by: gychang on 14. November 2015, 02:36:07
So, I also had the same problems with lxterminal and terminator would launch and mininize to a tiny box automatically. I then switched to qterminal and it seems to be working with no issues, so far.

may not be a same problem, but will try qterminal tomorrow....
Title: Re: Terminal misbehavin
Post by: gychang on 15. November 2015, 20:11:59
So, I also had the same problems with lxterminal and terminator would launch and mininize to a tiny box automatically. I then switched to qterminal and it seems to be working with no issues, so far.

qterminal can only be used in maximally enlarged window, I get no adjustable arrow that will make the app smaller.  will remove qterminal...