Sunday, May 5, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1137  / 1 Year ago, tue, april 11, 2023, 8:49:11

From my experience, (html, general computer stuff) the cordinates start in the top left as (0,0) and goes down to the bottom right depending on how big your screen is e.g. (800,600).



So why when I position gnome-terminal does it not go where I expect?



gnome-terminal --title="abvtrm" --geometry 80x10-0-0


This should go in the top left? But it goes centre right:



enter image description here



Why? And how do I get it in the top corner?


More From » gnome-terminal

 Answers
4

Alternatively follow the command:



gnome-terminal --title="abvtrm" --geometry 80x10+1366+768


(Here I used +1366+768 because of my screen resolution is 1366x768).



If your screen resolution is (let) n1xn2; then use it as follows:



gnome-terminal --title="abvtrm" --geometry 80x10+n1+n2


This will give output of opened window at bottom+right!






For quickly finding screen-resolution run following command:



$ xrandr --current | grep '*'

[#23483] Wednesday, April 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
scrubuz

Total Points: 194
Total Questions: 96
Total Answers: 127

Location: Monaco
Member since Fri, Sep 24, 2021
3 Years ago
;