Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 18 Jan 2020, 15:52
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
ROX-xdg 1.5
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [33 Posts]   Goto page: Previous 1, 2, 3
Author Message
musher0

Joined: 04 Jan 2009
Posts: 14715
Location: Gatineau (Qc), Canada

PostPosted: Fri 20 Sep 2019, 17:28    Post subject:  

Far-fetched:
Why not skip the mime-types altogether and use the file command, piped?

E.g.:
file (the command) file (the data) | grep something distinctive the file command says
about the data file > result file

Then this result is paired with a list of players or editors, and we load the data file with
this "executioner". Twisted Evil

As I said, far-fetched.

~~~~~~~~~~~~~~~~~~

As for the right-click for text, I don't remember using it. (Maybe when I was a newbie.)
Actually, I don't have a need for it any more.

In a ROX window, I double-click on a text file, and it opens in the text viewer.

Now my text viewer is (the real) less, and (the real) less can be scripted to pass the
text to an editor if it needs to be edited. Doing it like this is intentional: by changing the
application, you keep your brain on alert and notice more errors if there are any. (Basics
of psychology of perception: the brain tires easily, has a short attention span, and is
refreshed by a change of environment.)

Also less has an hex mode it can switch to (after a warning) if the content of the file
is not text. This is sometimes handy with files that look weird. Most data files have a
2-3 bytes header that identifies their type: archive, C code, png, and so on.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14715
Location: Gatineau (Qc), Canada

PostPosted: Fri 20 Sep 2019, 17:46    Post subject:  

mistfire wrote:
@musher0

Calm down, don't panic.
I am calm! Laughing
mistfire wrote:
The recent rox-xdg can coexist with the old system and yet enhance the rox-filer's flexibility.
IMO, that may lead to some confusion.
mistfire wrote:
Thanks to Barry.
Indeed! Smile
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1966
Location: Japan

PostPosted: Fri 20 Sep 2019, 22:04    Post subject:  

musher0 wrote:
As for the right-click for text, I don't remember using it. (Maybe when I was a newbie.)
Actually, I don't have a need for it any more.

In a ROX window, I double-click on a text file, and it opens in the text viewer.
When you double-click on text files of mime type text/x-shellscript or text/html they will not open in your text viewer.
You will need "Open as Text" to do that. You can access this function via menu item "Open as Text" or via Shift-click.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [33 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0348s ][ Queries: 13 (0.0085s) ][ GZIP on ]