Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Whatever i do, i have to do it remotely through ssh. So if there is a way to maximize the window, it will have to ne done using a command. Not a mouse or keyboard.
Where YOUR_PID is the PID of the window you want to maximum. There is a possible caveat though, this will maximize all windows in a certain process. For example if had 3 windows of nautilus, they would all maximize.
Source: http://askubuntu.com/questions/38498...n-pid-from-cli
EDIT 1: I just realized, from the post I linked to, that this requires xwit, but don't be alarmed if you can't find a package with xwit because it still works without it, atleast for me.
Were you getting errors that said xwit wasn't a found command?
EDIT 1: Also, this probably shouldn't be a problem, probably, but are you on Windows sshing to a raspberry pi through cygwin or are you on Linux? There may be a communication problem between the Windows version of X Server.
I want you try to uninstall xwit, if it's viable, and try the command again. It sound stupid even to me, but I feel like that this has a good chance of working.
root@ClientX:~# apt-get remove xwit
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'xwit' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
That's weird. What happens if you run xwit? If it can't find the command, then there's something going wrong before it even gets to that part of the command. If bash can find the command, then you need to do apt-get update then apt-cache search xwit to find the real name for the package to unintall. If apt-cache search can't find the package and bash can't find the command, then, I need you to refer to the edit I did on a previous post which I will quote here:
Also, this probably shouldn't be a problem, probably, but are you on Windows sshing to a raspberry pi through cygwin or are you on Linux? There may be a communication problem between the Windows version of X Server.
This problem is becoming ticky dicky and it's becoming far more complicated than I would like it.
That's weird. What happens if you run xwit? If it can't find the command, then there's something going wrong before it even gets to that part of the command. If bash can find the command, then you need to do apt-get update then apt-cache search xwit to find the real name for the package to unintall. If apt-cache search can't find the package and bash can't find the command, then, I need you to refer to the edit I did on a previous post which I will quote here:
Also, this probably shouldn't be a problem, probably, but are you on Windows sshing to a raspberry pi through cygwin or are you on Linux? There may be a communication problem between the Windows version of X Server.
This problem is becoming ticky dicky and it's becoming far more complicated than I would like it.
Code:
root@ClientX:~# xwit
-bash: xwit: command not found
So there's probably something wrong with the command before it gets to the xwit part.
wmctrl should be able to full screen it. Midori has " -e Fullscreen " according to the xfce faq. Probably case sensitive. I tend to avoid using that one due to zeitgeist. Plus it was never that stable to begin with. Lots of other webkit browsers out there. Midori is probably the only one that looks and behaves like a traditional browser. Although uzbl, dwb, and others are probably more performant IMO.
$ wmctrl -lpG
$ wmctrl -r :SELECT: -b toggle,fullscreen
The -r :SELECT: basically does it to what you click next. I tend to be too lazy to figure out window IDs and names are fidgety if you have multiple things with the same title.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.