PDA

View Full Version : [SOLVED] Firefox loads in corner



esvoytko
August 22nd, 2010, 05:45 PM
Rookie alert...

Every time I open Firefox, the browser window opens in the top-left corner of the desktop (I don't run Firefox maximized). I like to have it in the middle of the screen, but the application doesn't remember where it was the last time I used it - just opens in the top corner every time. A minor annoyance.

Here is the command from which I launch Firefox:


firefox %uMy sub-question would be: what does the above syntax mean? If I had created that menu item from scratch, it would have looked something like usr/bin/firefox. What does %u mean?

Thanks,

Eric

jonnywombat
August 22nd, 2010, 07:55 PM
There is a list of the launcher codes here (https://help.ubuntu.com/7.04/user-guide/C/launchers.html)


hth

esvoytko
August 23rd, 2010, 01:24 AM
Those are helpful. But I am left with the problem of firefox loading in the corner. I want the application to remember the window size and location I last used when I open a new instance.

Elfy
August 23rd, 2010, 07:46 AM
Try using devilspie - I use it, but not the geometry function.

https://help.ubuntu.com/community/Devilspie
http://live.gnome.org/DevilsPie
http://live.gnome.org/DevilsPie#geometry

Elfy
August 23rd, 2010, 03:01 PM
To make it easy gdevilspie works well to set it up.

http://code.google.com/p/gdevilspie/downloads/list

Extract and run gdevilspie from within the extracted folder.

I played with the geometry function - seems to work ok.

esvoytko
August 23rd, 2010, 06:19 PM
Thank you. That works, although seems like a bit of a work-around.

Elfy
August 23rd, 2010, 06:27 PM
possibly there are other ways to do it - I use devilspie to move apps to specific windows si already use it - the geometry thing I've never bothered with tbh