Running a script from the KDE desktop
Posted: Wed Oct 17, 2012 10:40 pm
I have a shell script that launches three files in one instance of Emacs. They're three home-office type files that I need to access several times a day.
I also have the Linux Mint 13 KDE edition, which I installed recently and am liking a lot.
In an ideal world, I'd be able to go Alt-F2, type in the name of the script, and have the three documents appear on the screen. However, bash today.sh fails silently, and tosay.sh displays the shell script itself in Emacs.
I can launch Konsole and type bash today.sh, but then I have to click the Konsole window closed. If I could alt-tab back to Konsole and type exit, that would be easier for me and less annoying, but Konsole doesn't return to a prompt after it executes the script.
If I have to use a mouse at all, I'd like to run the shell script from the menu, but the bash today.sh menu entry caused something to appear in the panel for a few seconds and then die, and a today.sh menu entry did nothing. Maybe I'm doing something wrong?
I thought maybe I could create a symlink to today.sh and move it to the panel, like in MATE, but if that is possible, I haven't figured it out. I have seen descriptions of ways to add a launcher to the taskbar by running a script in the startup menu, but that caused the desktop to freeze the two times I tried it, so it's not for me.
Any creative ideas will be appreciated.
I also have the Linux Mint 13 KDE edition, which I installed recently and am liking a lot.
In an ideal world, I'd be able to go Alt-F2, type in the name of the script, and have the three documents appear on the screen. However, bash today.sh fails silently, and tosay.sh displays the shell script itself in Emacs.
I can launch Konsole and type bash today.sh, but then I have to click the Konsole window closed. If I could alt-tab back to Konsole and type exit, that would be easier for me and less annoying, but Konsole doesn't return to a prompt after it executes the script.
If I have to use a mouse at all, I'd like to run the shell script from the menu, but the bash today.sh menu entry caused something to appear in the panel for a few seconds and then die, and a today.sh menu entry did nothing. Maybe I'm doing something wrong?
I thought maybe I could create a symlink to today.sh and move it to the panel, like in MATE, but if that is possible, I haven't figured it out. I have seen descriptions of ways to add a launcher to the taskbar by running a script in the startup menu, but that caused the desktop to freeze the two times I tried it, so it's not for me.
Any creative ideas will be appreciated.