[SOLVED] Windows wont expand full size

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
33windowlicker
Level 1
Level 1
Posts: 39
Joined: Mon Sep 26, 2016 2:53 pm

[SOLVED] Windows wont expand full size

Post by 33windowlicker »

Hello everyone,

until recently my windows have stopped expanding full size. To be precise, when trying to go full screen, there is always some empty space at the bottom of the screen, as such:
empty-space.png
I have not touched my xorg.conf file (at least not knowingly), and i cant find it on my system.

The relevant information:

Code: Select all

System:    Host: AFXMint18 Kernel: 4.4.0-31-generic x86_64 (64 bit gcc: 5.3.1)
           Desktop: Cinnamon 3.0.7 (Gtk 3.18.9-1ubuntu3.1) Distro: Linux Mint 18 Sarah
Machine:   System: Dell product: Vostro 3550
           Mobo: Dell model: 0PD77K v: A12 Bios: Dell v: A12 date: 02/18/2014
CPU:       Dual core Intel Core i5-2520M (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9977
           clock speeds: max: 3200 MHz 1: 804 MHz 2: 891 MHz 3: 898 MHz 4: 803 MHz
Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0
           Card-2: Advanced Micro Devices [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M]
           bus-ID: 01:00.0
           Display Server: X.Org 1.18.3 drivers: ati,radeon,intel (unloaded: fbdev,vesa)
           Resolution: 1360x768@59.80hz
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-31-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 05:00.0
           IF: enp5s0 state: up speed: 10 Mbps duplex: full mac: <filter>
           Card-2: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) driver: ath9k bus-ID: 09:00.0
           IF: wlp9s0 state: down mac: <filter>
Drives:    HDD Total Size: 500.1GB (5.0% used) ID-1: /dev/sda model: SAMSUNG_HM500JJ size: 500.1GB temp: 44C
Partition: ID-1: / size: 46G used: 22G (50%) fs: ext4 dev: /dev/sda8
           ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 52.0C mobo: N/A gpu: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 235 Uptime: 8 min Memory: 1940.9/7890.6MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (zsh 5.1.1) inxi: 2.2.35 
Any help is appreciated.
Last edited by 33windowlicker on Wed Sep 28, 2016 1:25 pm, edited 1 time in total.
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Windows wont expand full size

Post by Cosmo. »

This looks like Chrome or Chromium. Do you get the same with other applications (Firefox, LibreOffice, Text Editor, .....)?
33windowlicker
Level 1
Level 1
Posts: 39
Joined: Mon Sep 26, 2016 2:53 pm

Re: Windows wont expand full size

Post by 33windowlicker »

Cosmo. wrote:This looks like Chrome or Chromium. Do you get the same with other applications (Firefox, LibreOffice, Text Editor, .....)?
Yes, and it may be worth noting that the windows can be expanded manually (by dragging), in which case there is no bottom padding.
User avatar
Pjotr
Level 22
Level 22
Posts: 16207
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Windows wont expand full size

Post by Pjotr »

Try a kernel update. Update Manager - panel: View - Linux kernels. Install the latest kernel from the 4.4 series.

Then reboot.

If that doesn't help: create a new user account, log in as that new user and check whether the same problem happens therein as well.
Tip: 10 things to do after installing Linux Mint 20.1 Ulyssa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
33windowlicker
Level 1
Level 1
Posts: 39
Joined: Mon Sep 26, 2016 2:53 pm

Re: Windows wont expand full size

Post by 33windowlicker »

Pjotr wrote:Try a kernel update. Update Manager - panel: View - Linux kernels. Install the latest kernel from the 4.4 series.

Then reboot.

If that doesn't help: create a new user account, log in as that new user and check whether the same problem happens therein as well.

I tried creating a test account, the windows now behave normally. I skipped the kernel upgrade since I guess it's not an issue.
User avatar
Pjotr
Level 22
Level 22
Posts: 16207
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Windows wont expand full size

Post by Pjotr »

33windowlicker wrote:
Pjotr wrote:Try a kernel update. Update Manager - panel: View - Linux kernels. Install the latest kernel from the 4.4 series.

Then reboot.

If that doesn't help: create a new user account, log in as that new user and check whether the same problem happens therein as well.

I tried creating a test account, the windows now behave normally. I skipped the kernel upgrade since I guess it's not an issue.
OK, then it must be some faulty setting in your user account.... Hard to say which one, though. I recommend poking around a bit in the Cinnamon settings.
Tip: 10 things to do after installing Linux Mint 20.1 Ulyssa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
33windowlicker
Level 1
Level 1
Posts: 39
Joined: Mon Sep 26, 2016 2:53 pm

Re: Windows wont expand full size

Post by 33windowlicker »

Pjotr wrote:
33windowlicker wrote:
Pjotr wrote:Try a kernel update. Update Manager - panel: View - Linux kernels. Install the latest kernel from the 4.4 series.

Then reboot.

If that doesn't help: create a new user account, log in as that new user and check whether the same problem happens therein as well.

I tried creating a test account, the windows now behave normally. I skipped the kernel upgrade since I guess it's not an issue.
OK, then it must be some faulty setting in your user account.... Hard to say which one, though. I recommend poking around a bit in the Cinnamon settings.
Could you give me a starting point (is there a gui interface or a command line tool?)
User avatar
Pjotr
Level 22
Level 22
Posts: 16207
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Windows wont expand full size

Post by Pjotr »

33windowlicker wrote:Could you give me a starting point (is there a gui interface or a command line tool?)
Cinnamon is all GUI: clickety-click all the way. :)
I'm on Xfce now, so I can't guide you. Just browse the menu a bit, for window settings and such.
Tip: 10 things to do after installing Linux Mint 20.1 Ulyssa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Windows wont expand full size

Post by Cosmo. »

The visible result does not give a direct hint, where the culprit might be found. So let us at first check, if the partial problems with the ownership of files and folders:
Mark the following command and press ctrl-c

Code: Select all

find $HOME ! -user $USER -type f
open a terminal and press ctrl-shift-V
Mark the complete result inclusive the command with the mouse and press ctrl-shift-C
In the forum click the Code-button above the text box, than press ctrl-v.

Report in case, that there is no output.
33windowlicker
Level 1
Level 1
Posts: 39
Joined: Mon Sep 26, 2016 2:53 pm

Re: Windows wont expand full size

Post by 33windowlicker »

Cosmo. wrote:The visible result does not give a direct hint, where the culprit might be found. So let us at first check, if the partial problems with the ownership of files and folders:
Mark the following command and press ctrl-c

Code: Select all

find $HOME ! -user $USER -type f
open a terminal and press ctrl-shift-V
Mark the complete result inclusive the command with the mouse and press ctrl-shift-C
In the forum click the Code-button above the text box, than press ctrl-v.

Report in case, that there is no output.
The output is as follows:

Code: Select all

find $HOME ! -user $USER -type f

find: ‘/home/matteo/.gvfs’: Permission denied
/home/matteo/.config/gedit/accels
find: ‘/home/matteo/.cache/dconf’: Permission denied
33windowlicker
Level 1
Level 1
Posts: 39
Joined: Mon Sep 26, 2016 2:53 pm

Re: Windows wont expand full size

Post by 33windowlicker »

It may be helpful to note that as I drag the window bottom it tries to snap to the top border of the gap, as if an edge of the screen was there. I'm getting this strange feeling that the desktop kind of shifted top...
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Windows wont expand full size

Post by Cosmo. »

Correct the wrong ownership problem:
Mark the following command completely and make sure, that you do not miss any sign, than press ctrl-c

Code: Select all

find /home/$SUDO_USER ! -user $SUDO_USER -exec chown $SUDO_USER:$SUDO_USER '{}' \;
Open a terminal and enter

Code: Select all

sudo -i
and press the Enter-key; you get prompted for your password, enter it.
Now still in the same terminal press ctrl-shift-V
Run this command and wait until it has finished. It does not produce a readable output.
Press twice ctrl-d
Immediately log off and back into your account.
User avatar
Pjotr
Level 22
Level 22
Posts: 16207
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Windows wont expand full size

Post by Pjotr »

I'm not sure that the ownership of the dconf file is wrong.... I get the same result for that file, and I definitely always take care not to spoil my permissions:

Code: Select all

pjotr@bureaucomputer ~ $ find $HOME ! -user $USER -type f
find: ‘/home/pjotr/.cache/dconf’: Toegang geweigerd
Tip: 10 things to do after installing Linux Mint 20.1 Ulyssa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Windows wont expand full size

Post by Cosmo. »

As also answered in another thread: This entry is the result of a bug in LM 18.
User avatar
austin.texas
Level 20
Level 20
Posts: 12046
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Windows wont expand full size

Post by austin.texas »

.cache/dconf can also be deleted with no bad result.
I just tried it. (Then rebooted.)
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Windows wont expand full size

Post by Cosmo. »

It will reappear, as soon as the update manager gets refreshed.
33windowlicker
Level 1
Level 1
Posts: 39
Joined: Mon Sep 26, 2016 2:53 pm

Re: Windows wont expand full size

Post by 33windowlicker »

Cosmo. wrote:Correct the wrong ownership problem:
Mark the following command completely and make sure, that you do not miss any sign, than press ctrl-c

Code: Select all

find /home/$SUDO_USER ! -user $SUDO_USER -exec chown $SUDO_USER:$SUDO_USER '{}' \;
Open a terminal and enter

Code: Select all

sudo -i
and press the Enter-key; you get prompted for your password, enter it.
Now still in the same terminal press ctrl-shift-V
Run this command and wait until it has finished. It does not produce a readable output.
Press twice ctrl-d
Immediately log off and back into your account.
I can confirm that there is no change in behavior after changing permissions via the code snippet nor after deleting .cache/dconf
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Windows wont expand full size

Post by Cosmo. »

This means, that the culprit was not in the wrong ownership of files.

Searching for the cause of the problem can get a long road.
First try: Open your file manager and make hidden files visible (ctrl-h). Now rename in your home the folder .config to .config.bck. Immediately log off and back in. Check. If this does not hep do the same with the folder .local.

Those folders will get created newly after login in. You can later revert by deleting the newly created folders and rename the folders with the ending .bck back to original.
33windowlicker
Level 1
Level 1
Posts: 39
Joined: Mon Sep 26, 2016 2:53 pm

Re: Windows wont expand full size

Post by 33windowlicker »

Cosmo. wrote:This means, that the culprit was not in the wrong ownership of files.

Searching for the cause of the problem can get a long road.
First try: Open your file manager and make hidden files visible (ctrl-h). Now rename in your home the folder .config to .config.bck. Immediately log off and back in. Check. If this does not hep do the same with the folder .local.

Those folders will get created newly after login in. You can later revert by deleting the newly created folders and rename the folders with the ending .bck back to original.
By trial and error, I have found the culprit: it's the file docky.desktop located within the ~/.config/autostart folder - I guess I should reinstall docky?
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Windows wont expand full size

Post by Cosmo. »

I don't use the software. But as the problem does not appear in the test account it is clear, that the problem lays only in the configuration of docky. A new installation will do nothing. There will be most likely a config file or a config folder inside your home; delete this and configure docky new. Docky must be completely closed, when you delete the config.
Post Reply

Return to “Cinnamon”