frozdy
Member
Posts: 39
Likes: 18
|
Post by frozdy on Jan 29, 2022 7:42:39 GMT
So here's the issue, whenever I now open the terminal and then swap to another window, I can click around fine, but ALL text I type appears in he terminal or whatever launched in terminal, forcing me to not only shut down whatever it launched, no no, I have to close terminal window too, how do I fix that MAJOR annoyance? please, I'm driven insane by this.
Thanks to it focusing on leafpad when I was about to copy over my aliases in bashrc over to a google doc, so I could have it be accessible forever and anywhere, since I highlighted the whole thing AND I added a new alias, I erased ALL my aliases I added, because of negligence and not thinking straight when frustrated, I saved the file with removed aliases.
so you COULD claim user error, BUT, if it did NOT KEEP focus in the FIRST PLACE, it would've NEVER happened... but what's done is done and now I want THAT GONE.
|
|
|
Post by thewaiter on Jan 29, 2022 10:15:54 GMT
Hi About your focus annoyance. You apparently played with some of Moksha settings. It is not easy to track down which ones. Anyway, I would recommmend you to reset the Moksha profile. Under Menu->Settings->Settings panel->Settings->Profiles press Scratch button. It will reset Moksha to default settings values. Be aware your all desktop setting will be gone so you need to set it again. Not a big deal though. i.imgur.com/lbGIfqT.jpgStefan
|
|
frozdy
Member
Posts: 39
Likes: 18
|
Post by frozdy on Jan 29, 2022 10:34:37 GMT
All I did that could've possibly borked it was to run "sudo apt update && sudo apt upgrade -y" and then when it was done I did "sudo reboot" it happened after the reboot, but reseting the the profile fixed it, now to go back and reapply all the the theme settings I did before...
|
|
|
Post by thewaiter on Jan 29, 2022 11:08:29 GMT
OK, I am glad you have it sorted out. I made many and many Moksha changes since the BL 6 release. Although I did not change anything related to the window focus, there could be a little chance we have a small glitch in the code. BUT if so, more users would complain about it. So, hard to tell off hand what was wrong in your case. Anyway, it is gone now thus enjoy Bodhi Stefan
|
|
enigma9o7
Crew Member
Posts: 1,442
Likes: 1,339
|
Post by enigma9o7 on Jan 29, 2022 16:06:28 GMT
I have experienced focus weirdness occasionally, but not often enough to know how to repeat it.... mouse will work in an app, but if i type, the text comes out in something else (often discord). The way I get keyboard focus back where I want it when this occurs is by alt-tab to the app (instead of clicking on window or dock with mouse).
|
|
|
Post by shedyed on Jan 30, 2022 20:44:50 GMT
When you launch from terminal, make sure the command ends with '&' You did a combo but the second part did not have '&'. So job control still lay with the terminal it was launched from. In case you forgot to add it, Press Control-Z to suspend the job, then type 'bg' without the quotes. The suspended job will go to batch and free up the terminal so you can do other things. Like Control-c to cancel.
So it didn't really 'steal' focus when it was there from the very start.
PS - bg means you want to send this to the background; let me proceed with other tasks on this terminal.
|
|
enigma9o7
Crew Member
Posts: 1,442
Likes: 1,339
|
Post by enigma9o7 on Jan 31, 2022 5:28:43 GMT
Thanks for the ideas shedyed, but I think perhaps you misunderstand (or I do). The OP mentioned he updated with terminal commands, then rebooted, then later noticed focus issue.
If we run something in a terminal and it hasn't finished (and without &), it should not keep focus when you click on another window. Sure, & is great to get the prompt back when something wants to keep running, but I don't think that's what the OP is writing about.
Frozdy, feel free to elaborate and clarify, and if you know how to make this reoccur every time, that would be great. And also if you got stuck again since, if alt-tab could get you out (like it does for me when this happens).
|
|
frozdy
Member
Posts: 39
Likes: 18
|
Post by frozdy on Feb 4, 2022 7:12:05 GMT
Thanks for the ideas shedyed, but I think perhaps you misunderstand (or I do). The OP mentioned he updated with terminal commands, then rebooted, then later noticed focus issue. If we run something in a terminal and it hasn't finished (and without &), it should not keep focus when you click on another window. Sure, & is great to get the prompt back when something wants to keep running, but I don't think that's what the OP is writing about. Frozdy, feel free to elaborate and clarify, and if you know how to make this reoccur every time, that would be great. And also if you got stuck again since, if alt-tab could get you out (like it does for me when this happens). this is just a theory on what happened, MAYBE my phone app/linux server for my phone for controlling the PC borked, it does that sometimes, like ctrl, alt, shift, enter, navi buttons, backspace and space gets stuck, so maybe if if 1 of those buttons are triggered while choosing other windows, it'll keep focus on the previous window or allow the terminal and its opened programs to keep focus? can't try it myself because I can only either have the keyboard or the mouse pad active at a time, not both a the sa me time.
|
|