Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > View executable files when double-clicked in konqueror?
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 26th February 09:22
dave farrance
External User
 
Posts: 1
Default View executable files when double-clicked in konqueror?


I usually invoke kwrite for editing text files by double-clicking on
them in konqueror. I also edit a lot of bash scripts by selecting
kwrite from the right-click context menu. Frequently enough, I also
double-click the bash scripts by mistake when I want to edit them - and
the script runs invisibly which can have unfortunate consequences.

Nautilus has among its few preference settings: "view executable text
files when they are clicked". This works fine and is exactly what I
want. I can't think of any reason why I'd want to execute a script from
a GUI file manager.

In konqueror's file associations, I've changed the embedding option of
"x-shellscript" to "show file in separate viewer". That does not work,
although I might not be understanding the intent of that option
correctly. Anyway, if I double-click on scripts, they still execute.

Does anybody know if there *is* a way to stop konqueror from executing
bash scripts that have the execute flag set? I'm using konqueror 3.4.2.
Has an execution disabling feature appeared in konqueror 3.5 maybe?

--
Dave Farrance
  Reply With Quote


  sponsored links


2 26th February 09:22
dave farrance
External User
 
Posts: 1
Default View executable files when double-clicked in konqueror?


Never mind. It works now. I think that KDE has to be restarted for this
to take effect.

--
Dave Farrance
  Reply With Quote
3 26th February 09:22
dave farrance
External User
 
Posts: 1
Default View executable files when double-clicked in konqueror?


And now it has stopped working. Konqueror is back to executing scripts
on double-clicks. This is getting to be a pain in the neck.

--
Dave Farrance
  Reply With Quote
4 27th February 07:16
External User
 
Posts: 1
Default View executable files when double-clicked in konqueror?


If it's any consolation, Dave, KDE doesn't appear to be keeping my setting
changes either. For example, I've set it up to start up with whatever
applications were running last time but it's starting with a set from
whenever it decided to start playing silly beggars.

Using KDE 3.4 and Mandriva 2006

--
Mike
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666