Re: create a file that opens a url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mi, den 29.12.2004 schrieb Gentian Hila um 15:09:

> I created a text file that opens a url like this with gedit:
> 
> firefox http://www.something.com
> 
> Changed the permissions to execute but when I double click I see a
> window that asks me if I want to run in terminal or cancel or run the
> program.
> 
> I want to make it open that website immediately as I double click the file.

Missing the shebang line. As first line in the script file add

#!/bin/bash

or whatever interpreter you prefer.

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 15:16:24 up 6 days, 17:00, load average: 0.22, 0.41, 0.43 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux