[SOLVED] How to open any file inside a text editor?
[SOLVED] How to open any file inside a text editor?
This is so annoying! In Windows you can drag 'n drop any file to a Notepad-like program and it will load the file as a text, no matter the extension. But this doesn't seem trivial to do on Linux. Any ideas?
Re: How to open any file inside a text editor?
maybe i am wrong but leafpad work in this way drag the file into the window and you have it,no pdf..or exe
- ncmprhnsbl
- DEV Team
- Posts: 3938
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: How to open any file inside a text editor?
i think you're right beny, dragndrop seems to work with leafpad ..
provided the file is plain text(otherwise it's not very readable, eg try a .png), it doesn't matter what the extension is.. even made up ones..
provided the file is plain text(otherwise it's not very readable, eg try a .png), it doesn't matter what the extension is.. even made up ones..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Re: How to open any file inside a text editor?
That's the thing. I want to open any kind of file! Why it refuses to open binaries?
- ncmprhnsbl
- DEV Team
- Posts: 3938
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: How to open any file inside a text editor?
ah, i see, so you probly want a hex editor, maybe
https://slackbuilds.org/repository/14.2 ... ent/bless/
or
https://wiki.gnome.org/Apps/Ghex
or
https://wxmedit.github.io/
https://slackbuilds.org/repository/14.2 ... ent/bless/
or
https://wiki.gnome.org/Apps/Ghex
or
https://wxmedit.github.io/
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Re: How to open any file inside a text editor?
Wonderful! Thanks, man!
Here's a xzm module for ghex: https://www.mediafire.com/file/3ohriwel ... 6_64-1.xzm
Here's a xzm module for ghex: https://www.mediafire.com/file/3ohriwel ... 6_64-1.xzm