It is currently March 29th, 2024, 12:36 pm

Rainmeter not keeping layout when docking / undocking laptops

Get help with creating, editing & fixing problems with skins
Baldeep_Gill24
Posts: 2
Joined: May 9th, 2018, 11:25 am

Rainmeter not keeping layout when docking / undocking laptops

Post by Baldeep_Gill24 »

Hi,

The application displays fine until we undock or dock the laptops which then it doesnt save the layout to say in the top right hand corner of the screen. when undocking it cuts the screen off ie the skin is too far right.

When docking the skin moves more central to the screen.

But if we right click and refresh the skin then it slots back into place.

I have tried following the fix on this thread but it didnt work - https://forum.rainmeter.net/viewtopic.php?t=22272

Anyone have any ideas how i can fix this issue?

Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Rainmeter not keeping layout when docking / undocking laptops

Post by eclectic-tech »

You can force the skin to be positioned at a fixed screen location by setting the WindowX and WindowY in Rainmeter.ini settings skin. For the upper right corner, set WindowX equal to the skin width with a trailing R and WindowY equal to zero.

Click 'Edit settings' button in the Manage dialog to open the file.
Then edit the WindowX and WindowY for your skin. Save and 'Refresh All'.

Code: Select all

[Rainmeter]
SkinPath=C:\Users\John\Rainmeter\Skins\
ConfigEditor=C:\Program Files\Notepad++\notepad++.exe
Logging=0
Language=1033
DisableVersionCheck=1

[MyUpperRightCornerMeter]
Active=1
WindowX=350R
WindowY=0
ClickThrough=0
Draggable=0
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
The skin will be positioned in the upper right corner now no matter what resolution your screen settings have.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Rainmeter not keeping layout when docking / undocking laptops

Post by balala »

Baldeep_Gill24 wrote:The application displays fine until we undock or dock the laptops which then it doesnt save the layout to say in the top right hand corner of the screen. when undocking it cuts the screen off ie the skin is too far right.

When docking the skin moves more central to the screen.
I'm not sure, but I think I'd try the RainRez app.
Baldeep_Gill24
Posts: 2
Joined: May 9th, 2018, 11:25 am

Re: Rainmeter not keeping layout when docking / undocking laptops

Post by Baldeep_Gill24 »

I have now managed to resolve the issue.

With the below coding:

DesktopWorkArea@1=1920,1080
DesktopWorkArea@2=1680,1050
DesktopWorkArea@3=1680,1050
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Rainmeter not keeping layout when docking / undocking laptops

Post by eclectic-tech »

Baldeep_Gill24 wrote:I have now managed to resolve the issue.

With the below coding:

DesktopWorkArea@1=1920,1080
DesktopWorkArea@2=1680,1050
DesktopWorkArea@3=1680,1050
It may have helped to know you have multiple monitors... glad you figured it out. 8-)

@balala I agree that RainRez is the best answer for multiple skins layouts, but for positioning 1 skin it was not my first choice. :great:
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Rainmeter not keeping layout when docking / undocking laptops

Post by balala »

eclectic-tech wrote:@balala I agree that RainRez is the best answer for multiple skins layouts, but for positioning 1 skin it was not my first choice. :great:
For this probably is a better choice. I have one single monitor, so practically I can't say too much about this...