2

Is it possible to set size of the window when running the program from terminal?

For example I want to open current directory in nautilus :

sylap@sylap:~/Desktop/omg/wtf/foo/bar nautilus .

But I want it to be opened with fixed size, ie, I want to do something like this :

sylap@sylap:~/Desktop/omg/wtf/foo/bar WINWIDTH=400 WINHEIGHT=500 nautilus .

1 Answer 1

4

The basic command option is to add (width x height) is “–geometry=WxH” option .

Here is the command you can try it and specify your own options :

First :

killall -9 nautilus

Then :

nautilus computer: --geometry=860x480
2
  • 2
    It does not work as expected if you already have a nautilus running (and it's always the case as gnome-session always starts a non-visible nautilus process by default). So a killall -9 nautilus is needed to use your command Apr 23, 2014 at 11:39
  • you are right @Sylvain i will edit my answer , thank a lot
    – nux
    Apr 23, 2014 at 11:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .