Ubuntu: How do i start terminal in desktop


So in Terminal I created a new profile and I wanted it to start up to the desktop directory so I can just enter the filename I wanted to run instead of typing cd Desktop.

So this is what i did: Edit -> Profile Preferences -> Title and Command > Run a custom command instead of my shell and I put in the Custom command this cd Desktop. I thought if I put that then when I start the profile it will start as john@john:~/Desktop$ instead of john@john:~$ but when I start it I get this:

There was an error creating the child process for this terminal    Profile preferences  Failed to execute child process "cd" (No such file or directory)         Relaunch  

Do you know how I can fix this?


Change it to

sh -c "cd ~/Desktop; exec bash"  

Regarding comment:

sh -c "cd ~/Desktop && perl slowloris.pl -dns; exec bash"  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »