Launching gnome-terminal with custom parameters


I wanted to create a custom launcher to launch gnome-terminal with a specific profile, set the working directory and maximise the window. Here’s the command to do it:

gnome-terminal --window-with-profile="Server Console"  --working-directory=/home/stephan/Development/servers --maximize

As the name of my profile contained white spaces, I had to use double quotes do delimit it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: