DSL Ideas and Suggestions :: New tweak needed for Emelfm



John/roberts,

Since the Emelfm configuration was modified to allow the user to launch executable files (a very useful feature, I might add), there has been one minor nuisance that I hope could be addressed in a future release:

When you right-click on an executable file, the context menu allows you to run the program but it does not allow you to View the program unless you change the permissions to non-executable.

This can be resolved with a minor tweak to the Emelfm configuration:

Click the "Configure" button.
Click on User Commands.
Click on the "Add" button.
Type "View in Scite" in the "Name:" box (no quotes).
Type "scite %f" in the "Command" box (no quotes).
Click on the "OK" button for this window.
Click on the "OK" button for the previous window.

From now on, if you Right-Click on a file in Emelfm, you can choose User -> View in Scite and you will be able to view the file in Scite even if it is an executable file.

FYI, I have noticed that some of the color-coding bugs in Scite that occur when editing shell scripts can be avoided by choosing the language "Bullant" instead of the expected language "Shell".

Thanks again.

Thanks cb. Hadnt thought of that.
Okay, I'll add this to the next version.
i added a button to emelfm labeled Edit
just above the File Info button
with the command scite %f

so i can click any file then click Edit

while i was at it
i changed the viewer to scite %f
(configure, General - Page 2)
scite is more powerful than the internal viewer
and the mouse wheel works too

i find the tiny x button bottom right
that opens an xterm in your active dir
useful (helps to read the help file)

i added a menu item in User Commands
(though i could have made it a button
maybe just above Quit)
i labelled it Help
the command is:
dillo http://emelfm.sourceforge.net/README
(maybe the readme file is somewhere in dsl's file system?)

i also changed the symbolic link color
to a slightly darker blue ... easier to see

---

i edited the scite config file
Options, Open User Options File
and changed netscape to dillo
now the Help, Scite Help menu option works

also, i copied the /user/share/scite/bullant.properties
file to my home dir
and changed the line
file.patterns.bullant=*.ant
to
file.patterns.bullant=*.ant;*.sh

now scite displays sh files using the bullant properties
(i think)

---

i put

/opt/ppp
/home/damnsmall/.

in my filetool.lst
which backs up all the files in my home dir
don't forget the dot on the end
(no space between / and dot)

Guest,

Nice modifications. I need to borrow some of these for my system.

Many of the suggestions, like the netscape -> dillo, the shell script highlighting, and the different shade of blue should definately be considered for incorporation into a future release of DSL.

Little tweaks like this don't seem like much on the surface but they go a long way towards making DSL an even more enjoyable OS than it already is today.

Thanks for the tips.

Next Page...
original here.