KNOPPIX with LXDE won't open windows in center of screen after tweaks.
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
so where is it going, or is it not having any effect on it at all?
is it between these tags
Code:
<applications>
</applications>
Hi BW-userx.
It's having no effect at all. I have Debian LXDE 8 and Debian LXDE 9 on old laptops with the exact same setup and they open windows in the center of the screen without issue.
Here's how the last few lines of lxde-rc.xml looks for them:
Code:
...
# end of the example
-->
<application type="normal">
<position>
<x>center</x>
<y>center</y>
</position>
</application>
</applications>
</openbox_config>
Last edited by linustalman; 02-27-2018 at 02:06 PM.
It's having no effect at all. I have Debian LXDE 8 and Debian LXDE 9 on old laptops with the exact same setup and they open windows in the center of the screen without issue.
Here's how the last few lines of lxde-rc.xml looks for them:
Code:
...
# end of the example
-->
<application type="normal">
<position>
<x>center</x>
<y>center</y>
</position>
</application>
</applications>
</openbox_config>
try setting the positions x,y by pixels anything within your screen to see if it is actually even trying to manipulate any app you open.
the ability may have been removed, hindered by another process, or rewritten to use a different method of writing it in the interpretation. Like center is interpreted. In the background it has to be processed, get screen height and width preform the math on it to get center of screen then apply more math to it to position the window using its height width to ascertain the x y coords to place the window on the center of the screen which are all variables.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.