Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: New tweak needed for Emelfm< Next Oldest | Next Newest >
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: April 19 2004,12:10 QUOTE

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.
Back to top
Profile PM 
hasty Offline





Group: Members
Posts: 280
Joined: Oct. 2003
Posted: April 19 2004,16:16 QUOTE

Thanks cb. Hadnt thought of that.
Back to top
Profile PM 
John Offline





Group: Super Administrators
Posts: 695
Joined: Sep. 2003
Posted: April 21 2004,04:02 QUOTE

Okay, I'll add this to the next version.
Back to top
Profile PM 
Guest
Unregistered






Posted: April 27 2004,22:26 QUOTE

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)
Back to top
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: April 28 2004,02:04 QUOTE

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.
Back to top
Profile PM 
6 replies since April 19 2004,12:10 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: New tweak needed for Emelfm

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code