micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.89k stars 460 forks source link

Feature Request : Change position with screen orientation #840

Open Patatra opened 5 years ago

Patatra commented 5 years ago

Hi,

I have a ThinkPad X1 Yoga, a convertible laptop with touchscreen. Would be nice if the dock can change is position depending on screen rotation : normal or reverse, dock is at the right of the desktop, left or right orientation, dock is at the bottom normal or reverse

left or right

As you can see, dock on the side while in left or right orientation leave only few space on the screen this capture

micheleg commented 5 years ago

Are yousaying the position is not updated when the screen is rotated, or exaclty the opposite (but you do not want it to move).

In the former case, if you start the shell in the two orientations, is the dock shown correctly?

Patatra commented 5 years ago

I'd like to have an option for the dock to adapt its position depending on screen rotation. Right now, if I fix the dock to the left side in landscape orientation, it will follow screen rotation, and stay on the left whatever the orientation like you can see on the last screenshot. It would be nice if it can automatically go at the bottom on portrait orientation like you see on the second screenshot. Or the possibility to fix a different position when in portrait vs landscape. Hope I'm clear this time.

neilbags commented 2 years ago

Would love to see this too. Need to disable dash-to-dock to work in portrait mode presently

neilbags commented 2 years ago

This extension helps a bit: https://extensions.gnome.org/extension/4845/dash-to-dock-toggle/

miromarszal commented 1 year ago

This would be really great on 16:9 displays, which seem quite narrow in portrait mode. I would love to have the panel stay along the shorter edge to save the precious screen estate.

rndtrash commented 3 months ago

With this PR being merged, it could be implemented by using the orientation-changed signal provided by MetaOrientationManager: https://gitlab.gnome.org/GNOME/mutter/-/commit/2c5f874eaa551764d29a933a22f233311ed0c699