[TriLUG] scripts and the gnome desktop

Peter Neilson neilson at windstream.net
Fri Oct 30 08:39:49 EDT 2009


At the top line:
#!/bin/bash

And set permissions to include the x bit, e.g. 755.

This will get you part way there.

Roy Vestal wrote:
> Hey all,
> I have a bash script for setting up my xrandr at home/work with 
> single/dual monitors. I'd like to be able to double click the script 
> from Avant Window Navigator's "stacks" plugin (similar to the folder 
> stacks in OS X). Currently, it opens it in vim. Although I am a vim 
> user, I want it to run the script in the background, not edit.
> 
> If that's not possible, I'd like to be able to click if from the desktop 
> or the App menu and it run it, not open vim.
> 
> Any suggestions?
> 
> Setup:
> W500 using the ATI proprietary driver, Fedora 10, xorg w/compositing, 
> AWN w/Mac4Lin themed setup



More information about the TriLUG mailing list