On Saturday 26 July 2014 18:13:00 David C. Rankin wrote:
All,
One quirk I have always wanted to fix is that konqueror (--profile filemanagment) treats BASH scripts as type `x-shellscript` instead of plain text. What this does is makes it impossible to tell konqueror to just display the script in the preview pane with the `Embedded Advanced Text Editor (katepart)` like you can with normal text files.
This may be easy to do and I just haven't figured it out, but how do you do it? When you (right-click) edit the properties for a file.sh, the problem (looks like a bug) is that when you tell it to `Show file in embedded viewer` -- it doesn't. (I don't know what it does, I presume it tries to run the file)
Another problem when you edit the properties for file.sh, the [Embedding] tab offers the `Left Click Action` to `Use settings for 'application' group` instead of the 'text' group. For some reason this prevents being able to display the file.
How do you tell konqueror to just display the script in the embedded viewer?
-- David C. Rankin, J.D.,P.E.
I found that I can make left-clicking work by making the topmost application one of the editors (KWrite is what I used), but it opens in a separate window; for right-clicking, in the Embedded tab I have 'Show file in Embedded viewer' selected and 'Ask whether to save to disk instead' activated; when I right-click it opens in the Konqueror pane. Here's a related question: for shell scripts without the .sh extension, is there a way to make Konqueror recognize the filetype by its #! header? I almost never use the .sh extension on scripts that I write. Leslie -- A Caution to Everybody Consider the Auk; Becoming extinct because he forgot how to fly, and could only walk. Consider man, who may well become extinct Because he forgot how to walk and learned how to fly before he thinked. -- Ogden Nash -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org