this is my script to embed terminal in my desktop, but how do I make it appear in the corner next to the unity launcher?
#!/bin/bash sleep 20 && gnome-terminal --window-with-profile=trans777 &
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
You have to use the --geometry argument with the gnome-terminal command.
gnome-terminal --geometry 114x26+170+30
This will open up gnome terminal 114 columns wide by 26 rows deep and place it pretty close to the middle of the screen based on the 170+30. A pretty cool tip to get your exact geometry of where you want your terminal is to go ahead and open the gnome-terminal and place it exactly where you want it and then run the command
xwininfo in the terminal. Click on the gnome-terminal with your mouse and it will display a whole list of things about that particular window. The geometry of the window is listed all the way at the bottom. Just copy the line and append it to your gnome-terminal command. Tah Dah!!!