Allow MXPI to remember window size and location
-
- Posts: 340
- Joined: Tue Feb 21, 2023 3:50 pm
Allow MXPI to remember window size and location
MX 23.4 XFCE
Suggesting that maybe can add a setting for MXPI to be able to remember its window size and maybe location on screen based on size/location when MXPI is closed.
For example if user decides to maximize MXPI, then the next time they open up MXPI the window is maximized.
I apologize if this already exists.
Little confused, I have tried this on a couple of systems and one MXPI opens automatically snapped to left side of screen and other machines MXPI loads up in center as a floating window a little closer to the top of screen, so not sure.
Thank You
Suggesting that maybe can add a setting for MXPI to be able to remember its window size and maybe location on screen based on size/location when MXPI is closed.
For example if user decides to maximize MXPI, then the next time they open up MXPI the window is maximized.
I apologize if this already exists.
Little confused, I have tried this on a couple of systems and one MXPI opens automatically snapped to left side of screen and other machines MXPI loads up in center as a floating window a little closer to the top of screen, so not sure.
Thank You
Re: Allow MXPI to remember window size and location
@advice1010 wrote:
On my HP 15 and 17, it does remember the size / location if MXPI is closed and then reopened within the same session. But in a shutdown / restart it does not.Suggesting that maybe can add a setting for MXPI to be able to remember its window size and maybe location on screen based on size/location when MXPI is closed.
For example if user decides to maximize MXPI, then the next time they open up MXPI the window is maximized.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;
In Linux, newer isn't always better. The best solution is the one that works.
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;
In Linux, newer isn't always better. The best solution is the one that works.
Re: Allow MXPI to remember window size and location
I know this isn't exactly what your seeking, but I constantly use "Alt+X" for Maximize window which is found in Window Manager -> Keyboard in XFCE MX-21.3.
It toggles.
I think Devilpie(2) might do what your seeking, maybe????? xdev, but I don't think it's intended for this. I have about zero knowledge of the apps, just slight recall from the forum.
Edit: regarding the suggestion, it may be tied to the desktop environment - maybe.
Good Luck!
It toggles.
I think Devilpie(2) might do what your seeking, maybe????? xdev, but I don't think it's intended for this. I have about zero knowledge of the apps, just slight recall from the forum.
Edit: regarding the suggestion, it may be tied to the desktop environment - maybe.
Good Luck!
Re: Allow MXPI to remember window size and location
" Outside the square , inside the cube "
-
- Posts: 340
- Joined: Tue Feb 21, 2023 3:50 pm
Re: Allow MXPI to remember window size and location
Thank you guys for the responses.
That is strange so there are users who also experience the windows size/location being remembered.
That is actually the behavior I thought I remembered experiencing in the past as well, which is one of the reasons I questions this.
So now have seen/heard of
-Left side of screen snapped, not maximized, just about 2/3 of screen
-Window loads in center as floating window
-Window remembers size/location per session
I use that hotkey as well to maximize, but that is not what I am looking for, that was just an example for it to remember that previous window state used.
No I do not have anything similar to this
"Configure Special Apps Settings"
I assume this is some kind of addon/application.
I do not think I have any 3rd party applications like this installed, just whatever comes with XFCE.
If anyone else has any other information please let me know.
Even just confirming which one of the three (that I mentioned above) you experience, or if you have a fourth experience not mentioned :)
Thank again for the responses
That is strange so there are users who also experience the windows size/location being remembered.
That is actually the behavior I thought I remembered experiencing in the past as well, which is one of the reasons I questions this.
So now have seen/heard of
-Left side of screen snapped, not maximized, just about 2/3 of screen
-Window loads in center as floating window
-Window remembers size/location per session
I use that hotkey as well to maximize, but that is not what I am looking for, that was just an example for it to remember that previous window state used.
No I do not have anything similar to this
"Configure Special Apps Settings"
I assume this is some kind of addon/application.
I do not think I have any 3rd party applications like this installed, just whatever comes with XFCE.
If anyone else has any other information please let me know.
Even just confirming which one of the three (that I mentioned above) you experience, or if you have a fourth experience not mentioned :)
Thank again for the responses
Re: Allow MXPI to remember window size and location
Check something for me, do you have a ~/.config/MX-Linux/mxpi-launcher.conf or perhaps a ~/.config/MX-Linux/mx-packageinstaller.conf ? Can you check if they are user writable?
Also if you have /root/.config/MX-Linux/mx-packageinstaller.conf please delete it.
All of these can happen if you launch the MXPI as root or might have survived from times when we used to launch MX apps as root, by now I moved all the apps to launch as normal user and elevate when needed, but if you have settings written as root it won't be able to overwrite them.
Also if you have /root/.config/MX-Linux/mx-packageinstaller.conf please delete it.
All of these can happen if you launch the MXPI as root or might have survived from times when we used to launch MX apps as root, by now I moved all the apps to launch as normal user and elevate when needed, but if you have settings written as root it won't be able to overwrite them.
Re: Allow MXPI to remember window size and location
My regular desktop XFCE allows me to 'Save Session' when I logout, as far as I know it is a part of XFCE itself.
(FOSS, Linux, & BSD since 1999)
- Kermit the Frog
- Posts: 626
- Joined: Mon Jul 08, 2024 8:52 am
Re: Allow MXPI to remember window size and location
Errr @Adrian just btw:
A general question: Should we (all users) remove some / all of these?
Code: Select all
$ sudo ls -l /root/.config/MX-Linux/
total 28
-rw-r--r-- 1 root root 2098 Aug 1 2023 apt-notifier.conf
-rw-r--r-- 1 root root 236 Feb 18 2024 job-scheduler.conf
-rw-r--r-- 1 root root 208 Nov 8 2023 mx-cleanup.conf
-rw-r--r-- 1 root root 207 Nov 9 2023 mx-packageinstaller.conf
-rw-r--r-- 1 root root 200 Nov 17 2023 mx-repo-manager.conf
-rw-r--r-- 1 root root 186 Nov 8 2023 mx-service-manager.conf
-rw-r--r-- 1 root root 202 Jan 26 2024 mx-user.conf
-rw-r--r-- 1 root root 0 Aug 1 2023 xdg_check
Re: Allow MXPI to remember window size and location
You can remove all that start with "mx" also job-scheduler too.
- Kermit the Frog
- Posts: 626
- Joined: Mon Jul 08, 2024 8:52 am
Re: Allow MXPI to remember window size and location
Thank you :)