LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2019, 11:47 AM   #1
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 357
Blog Entries: 1

Rep: Reputation: Disabled
dolphin file types


Not urgent, nothing broken, just a passing new-to-me mystery.

How does dolphin determine a file's mimetype? There are install scripts in "/var/lib/pkgtools/scripts" that dolphin thinks are Type: "Amiga SoundTracker audio". For example, bash-5.0.011-x86_64-1

When I tried to open it, I had to manually open Kate, then drag/drop the script into the Kate window. Dolphin's Open with: vlc, xmms, audacious (other->hunt for kate). I thought it might be the file signature, since the audio scripts begin with "if" or "69 66" but I couldn't find that signature in the usual lists.
 
Old 09-27-2019, 12:31 PM   #2
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
I don't know what release of Slackware or what WM you are running so this is just a guess on my part.

Code:
~/.config/mimeapps.list
 
Old 09-27-2019, 01:59 PM   #3
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
I honestly don't understand why people use GUI file managers ( or text editors for that matter )

Command line is faster


and

Code:
file /var/lib/pkgtools/scripts/*
seems to be correct output

maybe you miss configured your GUI
 
Old 09-27-2019, 02:36 PM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Quote:
Originally Posted by Firerat View Post
I honestly don't understand why people use GUI file managers ( or text editors for that matter )
Command line is faster
and
Code:
file /var/lib/pkgtools/scripts/*
seems to be correct output
maybe you miss configured your GUI
I think much of it is what people get used to but a flat, broad statement that CLI is always faster is simply mistaken when the global workflow process is considered and a few other deep level applications. There are times for example when a project requires viewing and editing a couple or several files in /etc as one example. Having a File Manger up makes for fast access, viewing and editing with fewer strokes including both key and mouse strokes. I approach such work with "kdesu dolphin" and avoid complication and gain quick access to multiple choices and can see the flow of it all in front of me. For a single operation I almost always just use CLI except for deep level operations like partition management where seeing all drives and every partition on them reassures me I am not making errors, less evident from CLI especially with udev mounted volumes that can change designation numbers.

I love CLI and all my systems boot to multi-user CLI excepting a few test distros that make that a royal pita. I still force them into allowing root login to X so I can alter the appearance of root enabled apps so there can be no mistakes or misgivings and I dislike sudo and enable a fully working root account instead on every distro I've ever tried or used for any length of time.

It seems to me CLI and GUI are tools and it is best to use the tools that hold the most advantages for the user and the least disadvantages. There is some value to vision or we wouldn't have the fairly obvious cliche that "a picture is worth 1000 words".. or "one man's meat is another man's poison".

Last edited by enorbet; 09-27-2019 at 02:38 PM.
 
2 members found this post helpful.
Old 09-27-2019, 02:51 PM   #5
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by enorbet View Post
I think much of it is what people get used to but a flat, broad statement that CLI is always faster is simply mistaken when the global workflow process is considered and a few other deep level applications. There are times for example when a project requires viewing and editing a couple or several files in /etc as one example. Having a File Manger up makes for fast access, viewing and editing with fewer strokes including both key and mouse strokes. I approach such work with "kdesu dolphin" and avoid complication and gain quick access to multiple choices and can see the flow of it all in front of me. For a single operation I almost always just use CLI except for deep level operations like partition management where seeing all drives and every partition on them reassures me I am not making errors, less evident from CLI especially with udev mounted volumes that can change designation numbers.

I love CLI and all my systems boot to multi-user CLI excepting a few test distros that make that a royal pita. I still force them into allowing root login to X so I can alter the appearance of root enabled apps so there can be no mistakes or misgivings and I dislike sudo and enable a fully working root account instead on every distro I've ever tried or used for any length of time.

It seems to me CLI and GUI are tools and it is best to use the tools that hold the most advantages for the user and the least disadvantages. There is some value to vision or we wouldn't have the fairly obvious cliche that "a picture is worth 1000 words".. or "one man's meat is another man's poison".

you are entitled to your incorrect opinion
 
Old 09-27-2019, 03:59 PM   #6
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Quote:
Originally Posted by Firerat View Post
you are entitled to your incorrect opinion

and you, yours.
 
Old 09-27-2019, 04:04 PM   #7
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 799

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by Firerat View Post
I honestly don't understand why people use GUI file managers ( or text editors for that matter )

Command line is faster
Sure CLI is faster for navigating and moving files through the directory structure but GUIs have their place too. E.g. I have lots of photos I take stored on my computer. I'd rather look through them in a GUI file manager with thumbnails to find the one I want than look at lists of hundreds of IMG_1341.JPG etc in the CLI and guess what's in the picture. No need to be condescending about it
 
Old 09-27-2019, 04:18 PM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by 0XBF View Post
Sure CLI is faster for navigating and moving files through the directory structure but GUIs have their place too. E.g. I have lots of photos I take stored on my computer. I'd rather look through them in a GUI file manager with thumbnails to find the one I want than look at lists of hundreds of IMG_1341.JPG etc in the CLI and guess what's in the picture. No need to be condescending about it
you should organise your photos better.
 
Old 09-27-2019, 04:25 PM   #9
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Oh Come on Firerat. I thought you were tongue-in-cheek kidding but apparently not. So, please try to name even one profession in which a single tool is best for all jobs and all workers. There is a valid reason for toolboxes, no? OK so some Harley mechanics joke that the only Harley toolbox essentials are baling wire and vise grips, but even that joke has two tools.

Additionally why are you posting incompatible "guidance" in the Slackware sub forum as a Debian user who relies on automated package management and systemd with a disabled root account? Whatever twirls ur beanie, cousin, but your suggestion of "file /var/lib/pkgtools/scripts/*" fails here as Slackware does not have a pkgtools directory in /var/lib or in /var anywhere. The concept isn't bad but it does paint you as something of a guy with an axe to grind and a pose to support. Please, if you wish to comment in a Slackware sub-forum know some Slackware.

Last edited by enorbet; 09-27-2019 at 04:39 PM.
 
Old 09-27-2019, 04:27 PM   #10
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by enorbet View Post
Oh Come on Firerat. I thought you were tongue-in-cheek kidding but apparently not. So, please try to name even one profession in which a single tool is best for all jobs and all workers. There is a valid reason for toolboxes, no? OK so some Harley mechanics joke that the only Harley tool box essentials are baling wire and vise grips, but even that joke has two tools.
Philosophy
 
Old 09-27-2019, 04:29 PM   #11
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 799

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Sure. Lets spend countless hours taking time to name each of the thousands of photos with a specific name so I can enjoy using the CLI on something that's inherently graphical in nature. Please stop being so condescending, its getting ridiculous.
 
Old 09-27-2019, 04:45 PM   #12
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Quote:
Originally Posted by Firerat View Post
Philosophy
ORLY? If you do a web search for "tools of philosophy" you will discover they include grammar, speech, imagination, mathematics and logic just to name a few. You are reaching and it exceeds your grasp.
 
Old 09-27-2019, 04:49 PM   #13
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by enorbet View Post
ORLY? If you do a web search for "tools of philosophy" you will discover they include grammar, speech, imagination, mathematics and logic just to name a few. You are reaching and it exceeds your grasp.
Brain ?
 
Old 09-27-2019, 04:56 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,793

Rep: Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952Reputation: 5952
Everyone, please remember the rules.
Quote:
Do not post any messages that are obscene, vulgar, sexually-orientated, hateful, threatening, hostile or insulting.
Personal attacks on others will not be tolerated.
Flame Wars will not be tolerated.
Do not post if you do not have anything constructive to say in the post.
 
Old 09-27-2019, 08:01 PM   #15
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by enorbet View Post
Additionally why are you posting incompatible "guidance" in the Slackware sub forum as a Debian user who relies on automated package management and systemd with a disabled root account? Whatever twirls ur beanie, cousin, but your suggestion of "file /var/lib/pkgtools/scripts/*" fails here as Slackware does not have a pkgtools directory in /var/lib or in /var anywhere. The concept isn't bad but it does paint you as something of a guy with an axe to grind and a pose to support. Please, if you wish to comment in a Slackware sub-forum know some Slackware.
you may want to recheck that
are you on current?
because here on lackware64-current they do exist.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[KDE/Dolphin] Issues with Dolphin and io-slave. WisdomFire Manjaro 3 08-28-2020 05:30 PM
I think this falls under MIME types but default types BW-userx Linux - General 0 01-03-2016 12:49 AM
[SOLVED] Conflicting type declarations between sys/types.h and linux/types.h Da Shi Cao Programming 3 09-13-2010 11:55 PM
sys/types.h & linux/types.h conflict while compiling johnnyhal Linux - Software 1 12-28-2008 06:39 PM
conflicting redeclaration of sys/types.h and linux/types.h schmil Programming 6 12-11-2008 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration