[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - Put window on the middle of the screen

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Put window on the middle of the screen

Problems, bugs, suggestions... anything related to SMPlayer.

Put window on the middle of the screen

Postby khotiburrahman » Sat Sep 05, 2015 9:12 pm

khotiburrahman
 
Posts: 27
Joined: Tue Jun 09, 2015 10:58 am

Re: Put window on the middle of the screen

Postby rvm » Sat Sep 05, 2015 9:53 pm

You can specify the initial position of the smplayer window using the -pos option.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Put window on the middle of the screen

Postby khotiburrahman » Sat Sep 05, 2015 11:49 pm

-pos command only handles command for everytime Smplayer starts, not everytime when file is opened. mpv has a default command to handle window positioning. Why don't you make a similiar command to make this possible?
khotiburrahman
 
Posts: 27
Joined: Tue Jun 09, 2015 10:58 am

Re: Put window on the middle of the screen

Postby rvm » Sun Sep 06, 2015 8:54 pm

Yes, I think I can add an option to center the window.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Put window on the middle of the screen

Postby khotiburrahman » Mon Sep 07, 2015 6:28 pm

Thankyou. I'll wait for next release to see new update for this
khotiburrahman
 
Posts: 27
Joined: Tue Jun 09, 2015 10:58 am

Re: Put window on the middle of the screen

Postby rvm » Fri Oct 02, 2015 11:20 pm

I've just added (r7157) an option to center the window in the desktop (preferences -> interface).
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España


Return to General

Who is online

Users browsing this forum: Bing [Bot] and 58 guests