SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
you may want to recheck that
are you on current?
because here on lackware64-current they do exist.
You have my sincere apology. Though OP didn't state he was referring to -Current, his version of bash is indeed indicative of -Current and I initially missed that. I run both 14.2 and -Current on their own partitions but unless stated otherwise I always assume latest full release and in this case it bit me That doesn't change the fact that a toolbox with just one tool in it has limited application and efficiency at all jobs.
if [ -r bin/bash ]; then
mv bin/bash bin/bash.old
fi
mv bin/bash5.new bin/bash
if [ -f bin/bash.old ]; then
rm -f bin/bash.old
fi
if [ ! -r etc/shells ]; then
touch etc/shells
chmod 644 etc/shells
fi
if grep -wq /bin/bash etc/shells ; then
true
else
echo /bin/bash >> etc/shells
fi
( cd usr/bin ; rm -rf bash )
( cd usr/bin ; ln -sf /bin/bash bash )
Yes, Current, kde5/plasma5 latest from Master Alien. Why does Dolphin consider one script Type: Amiga Soundtracker Audio and the file next to it ascii open-with-Kate?
Thanks for the suggestions to force the mime-type. I'd have to study the Dolphin code, probably a boundary condition, or a confluence of unanticipated unlikely events. Seems to confuse magic 'RIFF' with 'if'? Duckduckgo.com can't find the magic number for Amiga Sountracker Audio files. Might be a vestige of days gone bye-bye?
Used to cli from mainframe days, once compared Macintosh to Koko the Gorilla touching symbols to communicate, best tool for the job at hand was Dolphin, a quick tool to pop open a bunch of scripts into Kate looking for examples of how to write excellent scripts, quicker than 'ls' and 'less' when browsing. Why did I discover this oddity? I hosed a bunch of my custom SlackBuild packages while backing them up to a memory card, sew! wanted to reconstruct from packages and scripts rather than download sources and recreate the builds. (I add -j8 and -march=znver1 for pedantry)
-Baffled
Last edited by hpfeil; 09-27-2019 at 11:51 PM.
Reason: ack
Yes, Current, kde5/plasma5 latest from Master Alien. Why does Dolphin consider one script Type: Amiga Soundtracker Audio and the file next to it ascii open-with-Kate?
Used to cli from mainframe days, once compared Macintosh to Koko the Gorilla touching symbols to communicate, best tool for the job at hand was Dolphin, a quick tool to pop open a bunch of scripts into Kate looking for examples of how to write excellent scripts, quicker than 'ls' and 'less' when browsing. Why did I discover this oddity? I hosed a bunch of my custom SlackBuild packages while backing them up to a memory card, sew! wanted to reconstruct from packages and scripts rather than download sources and recreate the builds. (I add -j8 and -march=znver1 for pedantry)
-Baffled
bash or sh?
do not use those scripts as example of bash scripts
they are not bash
These are the scripts identified as Type: Amiga...
adwaita
audacity
cdrtoosl
dash
ddd
pavucontrol
They all begin with "if [ -" or 69 66 20 5B 20 2D. I noticed that Okteta open-file dialog also has the mysterious musical note icon for the above files. Of course bash 'file' correctly sez ascii text.
Maybe it's an endian issue AIFF, RIFF, IFF? Where'd I put that Commodore....
Certainly it is best to discover where if any disconnect exists between how the base OpSys associates file types and how Dolphin does, but the quick and dirty way is to just use Dolphin's "Open With..." option, select what you know it should be or what you prefer, and check the box for updating the system. That app will then be at the top of the list as your preferred default.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,604
Rep:
Firerat,
LQ is a welcoming place where personal attacks, flame wars, and ad hominem are not acceptable. You have been warned before. Your posting privileges have been suspended for one week, and future behavior of this nature will not be tolerated. If you have any questions, feel free to contact me.
I am sorry Jeremy I am writing this but allow us please a little of freedom. If not this place soon will be kingdom of boredom. We all are making mistakes. Please allow us forum members to act, judge, express a little of our own personality. We are not machines. I don't support your decisions to suspend Firerat. In my opinion you overreacted.
You are right, we all make mistakes (me included, in my rather short presence here on LQ) and we all have the power and decency to accept and analyze the (repeated) critique and warnings, apologize and start behaving accordingly.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,604
Rep:
Please get this thread back on track immediately. If you'd like to discuss something related to LQ, and not this thread, feel free to contact me directly or open a thread in the LQS&F forum.
These post I take as expression of sense of humor. One can say many things about Slackware users but not that they need to educate themselves. Actually common Slackware user can teach others. Using Slackware for some years I learned a lot - which I am grateful to - of course - Slackware creator and maintainer - for this opportunity. I can't imagine someone could take Firerat's comments seriously. Besides maybe I am mistaken but there is no more Debian Sid - I acknowledge this somewhere. So I asked myself question: what distribution Firerat is using now? I can imagine Firerat can be little disappointed what Debian became. Taking into account his hard attitude to work within shell mainly.
For what it's worth, I don't think Firerat should have been punished instead of just warned for this thread but I don't know if he was warned before or other threads I've no see are involved. So I have to trust jeremy on this as I am of the opinion he is an enlightened adult with a strong sense of freedom and fair play.
As for this thread I think Firerat calmed down just fine after a little coaxing. Just in case anyone is wondering, not only did I NOT report him, I NEVER report anyone and WILL never report anyone. Sticks and stones, you know? I figure intelligent people will work things out. Firerat did offer some helpful info. He was just a bit abrasive about it but he did come around. That should count for something.
There is a decent thread in General about Political Correctness and how awful it is and I fully agree. Actual Adults may possibly require some supervision on a forum but only rarely. I think people who haven't learned how to deal with verbal conflict need to learn such skills and for many forums are their major form of social contact in which to do so.
Within this thread between all of the posters, including Firerat, I think OP got good info and has a number of options to deal with his difficulties with Dolphin file type recognition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.