all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Strange 'drifting' in Cinnamon desktop
@ 2019-09-07 12:57 Angelo Graziosi
  2019-09-07 18:05 ` Angelo Graziosi
  0 siblings, 1 reply; 2+ messages in thread
From: Angelo Graziosi @ 2019-09-07 12:57 UTC (permalink / raw)
  To: help-gnu-emacs

Usually I use Emacs configured with

  (desktop-save-mode 1)

to save the session in a 'desktop' file. I have also something like this

(setq default-frame-alist
      '(
        (width . 115) ; character
        (height . 51) ; lines
        (font . "Monospace-11") ; font
        ))

so that the frame has always the same dimensions.

When the 'desktop' is not yet created, Emacs starts positioning the frame more or less at random. Then I move the frame so that its top-right (T-R) corner overlaps the T-R corner of the screen. Quitting Emacs asks to save the desktop. The next time Emacs starts, the frame occupies the same position with the T-R corner on the T-R of the screen. 

It worked that way on Windows, macOS and GNU/Linux Mint+Mate desktop.

Last year, for various reasons, I had to install GNU/Linux Mint with Cinnamon desktop. Here, with the same configuration, at each start, Emacs drifts a bit toward left and after a while I had to re-positioning it to avoid it overlaps too much the window of other applications.

I tested to the extreme this behavior and found that it stops to drift only when its top-left corner overlaps the top-left corner of the screen.

I wonder if someone has a fix for this when using Cinnamon. I tried to change the Cinnamon configuration but apparently without success.

Thanks,
 Angelo.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange 'drifting' in Cinnamon desktop
  2019-09-07 12:57 Strange 'drifting' in Cinnamon desktop Angelo Graziosi
@ 2019-09-07 18:05 ` Angelo Graziosi
  0 siblings, 0 replies; 2+ messages in thread
From: Angelo Graziosi @ 2019-09-07 18:05 UTC (permalink / raw)
  To: help-gnu-emacs


> Il 7 settembre 2019 alle 14.57 Angelo Graziosi ha scritto:
> 
> 
> Usually I use Emacs configured with
> 
>   (desktop-save-mode 1)
> 
> to save the session in a 'desktop' file. I have also something like this
> 
> (setq default-frame-alist
>       '(
>         (width . 115) ; character
>         (height . 51) ; lines
>         (font . "Monospace-11") ; font
>         ))

For now I added

(left . 850); pixel
(top  .   0); pixel

to fix the drift...

> 
> so that the frame has always the same dimensions.
> 
> When the 'desktop' is not yet created, Emacs starts positioning the frame more or less at random. Then I move the frame so that its top-right (T-R) corner overlaps the T-R corner of the screen. Quitting Emacs asks to save the desktop. The next time Emacs starts, the frame occupies the same position with the T-R corner on the T-R of the screen. 
> 
> It worked that way on Windows, macOS and GNU/Linux Mint+Mate desktop.
> 
> Last year, for various reasons, I had to install GNU/Linux Mint with Cinnamon desktop. Here, with the same configuration, at each start, Emacs drifts a bit toward left and after a while I had to re-positioning it to avoid it overlaps too much the window of other applications.
> 
> I tested to the extreme this behavior and found that it stops to drift only when its top-left corner overlaps the top-left corner of the screen.
> 
> I wonder if someone has a fix for this when using Cinnamon. I tried to change the Cinnamon configuration but apparently without success.
> 
> Thanks,
>  Angelo.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-07 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-07 12:57 Strange 'drifting' in Cinnamon desktop Angelo Graziosi
2019-09-07 18:05 ` Angelo Graziosi

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.