How to change directories in console using an desktop icon?
What I am looking to do is click on a desktop icon, and have a terminal open up, change directories to /etc/rc.d then sudo and be able to startup the internet daemon.
Sometimes I have to do that manually through console to start up the internet daemon and I thought there should be a way to automate the process. I tried several experiments but could not get the console to activate or get sudo to work. I am running Slackware 1337 and XFCE. |
Are you using gnome? Also I am not sure what you mean by the internet daemon.
You can write a small script in your home directory like so: cd /etc/rc.d sudo <command to open internet daemon> save the file as go.sh (or whatever you want to call it) Then create a new launcher on the desktop, select <run application in terminal> when creating the launcher and point it towards your script. Done. |
I am using XFCE. What you described is similar to what I tried. I will try your suggestion. Thanks.
|
All times are GMT -5. The time now is 05:29 AM. |