LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-07-2022, 02:59 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,689
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
how to reset window size


i was running the pavucontrol app a tried it in full screen by clicking the center decorator tab in the upper right. that was not useful so i decided to go back but i clicked the close window tab by accident. i started pavucontrol back up and it went to full size. this time i clicked the correct tab button to change size but it did not change. i closed it and restarted it, again. i want to get it back to the exact original size, again. it must be storing the size somewhere but i cannot find that. does anyone know where it stores the window size or how to reset it back to the original?
 
Old 07-07-2022, 03:52 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,243

Rep: Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861
AFAIK, there are two ways to re-size a windowed application.

1. Right click on the top bar, not on one of the buttons, you should get a menu, there is an option to resize. On KDE, move the mouse pointer around, the size will change.

2. Put your mouse pointer on either edge, top or bottom, click and hold, and drag. If you use a corner, you can change two dimensions at once.

If that doesn't work, tell us more. What desktop, what distro and release etc.
 
1 members found this post helpful.
Old 07-09-2022, 01:47 PM   #3
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,689

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
the problem is the i don't yet know what the original size was. i want to undo the jump to full screen size to get back to the exact original size. normally, clicking the center button, again, undoes the full screen size and goes back to the original. now, it seems to be stuck at full screen size. how can i get back to the original size and be exact?
 
Old 07-09-2022, 01:56 PM   #4
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,004

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Edit ~/.config/pavucontrol.ini
Ed
 
Old 07-09-2022, 02:58 PM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
What toolkit is that?
https://github.com/pulseaudio/pavuco...screenshot.png

Looks like there are different versions.
https://github.com/pulseaudio/pavuco...ree/master/src

https://github.com/lxqt/pavucontrol-qt
https://github.com/lxqt/pavucontrol-.../mainwindow.cc

If it is qt, I've had that happen to Qt5Ct and sqlitebrowser recently. The window size in the config looks like

~/.config/sqlitebrowser/sqlitebrowser.conf
Code:
[MainWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0+\0\......)
I had to delete that line for it to quit opening in full screen. Some kind of bug. Been that way for a while now. I don't close it in full screen.
 
Old 07-10-2022, 06:01 PM   #6
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,689

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by EdGr View Post
Edit ~/.config/pavucontrol.ini
Ed
it has the full screen size. what numbers do i put in to get the original size which was positioned in the center of the display?

Code:
lt1a/forums/1 /home/forums 5> cat /home/forums/.config/pavucontrol.ini
[window]
width=1920
height=1038
sinkInputType=1
sourceOutputType=2
sinkType=0
sourceType=1
showVolumeMeters=1
lt1a/forums/1 /home/forums 6>
 
Old 07-10-2022, 06:06 PM   #7
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,689

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
i tried removing the file and running pavucontrol, again. no change. it's still full screen. but this time the file does not come back.

Last edited by Skaperen; 07-10-2022 at 06:17 PM.
 
Old 07-10-2022, 06:15 PM   #8
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,689

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
i switched to a user that has never run pavucontrol, before. i started it up and it was at the small size i wanted, so i exited it. but it did not save ~/.config/pavucontrol.ini. starting pavucontrol, again in each user gets the window size that user last had. but the ~/.config/pavucontrol.ini file is not there for both. how can it remember the size for that user when it does not save the file?
 
Old 07-10-2022, 06:54 PM   #9
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,689

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by teckk View Post
I had to delete that line for it to quit opening in full screen. Some kind of bug. Been that way for a while now. I don't close it in full screen.
so, maybe i am running into this problem. i do seem to have a case using three users where it seems to be saving the size (not sure about position) without file "~/.config/pavucontrol" existing. so it must be making the size decision based on something else such as what the sha256 checksum of the username modulo 16777216 is (just making up something weird).
 
Old 07-10-2022, 07:24 PM   #10
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,004

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Quote:
Originally Posted by Skaperen View Post
i switched to a user that has never run pavucontrol, before. i started it up and it was at the small size i wanted, so i exited it. but it did not save ~/.config/pavucontrol.ini. starting pavucontrol, again in each user gets the window size that user last had. but the ~/.config/pavucontrol.ini file is not there for both. how can it remember the size for that user when it does not save the file?
Did you look for the file that teckk suggested?

Another possibility is that pavucontrol is using dconf. Run dconf-editor to check. The actual settings are stored in ~/.config/dconf/user. This is a nasty binary file for all programs that use dconf.
Ed
 
Old 07-13-2022, 06:45 PM   #11
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,689

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
i hate those nasty binary files for configuration purpose (i like to edit them with a text editor or automate stuff with scripts) or even for transient state values (i like to tweak those, too, or at least share them between the many usernames i use).

i managed to get the original size values by creating a fresh new user and starting up pavucontrol for the very first time in it. that suggests that removing ~/.config/sqlitebrowser/sqlitebrowser.conf could reset pavucontrol while also losing many other settings.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
graphical App to reset Windows Password Reset cyrixjames69 Linux - Newbie 7 09-11-2020 01:52 AM
Linux Virtual Memory size; Page size; Resident Data Size; DB2Database; Explanation ANanalanalyzer Linux - Newbie 1 09-28-2018 04:50 PM
Prevent reset of network settings reset after cable unplug Mega-X Linux - Networking 5 01-02-2013 04:58 PM
Install ruby gems - connection reset, connection reset..... deco81 Linux - Software 1 06-16-2010 04:47 PM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration