Would be awesome if there was more software to bridge the gap between CLI and GUI workflows. trash-cli and dragon-drop are pretty useful to that extent, but there is still much that could work better. I want files I’ve touched in bash to appear in the “Recent” section in the GTK filepicker, and stuff like that.
You could do it in any shell by replacing touch with a function or alias that sends a note to whatever GTK subsystem is responsible for the “recents” tab before making the file. A more comprehensive way would be either using inotify or kernel-level process tracing fuckery, but I’m not smart enough for that
True, but I was thinking the shell would be the best place. You can have with watch for file modifications preformed by the user and reach out to nautilus to update its recents. That way you don’t have to watch for all inotify events on receiving user updates, and you get all tools not just touch
Definitely not hating if you find the GUI more intuitive. I’m not going to say I use terminal for everything. For instance, I’m using a graphical web browser right now!
But the more you get comfortable with CLI, the easier it becomes to expand your daily usage to include more and more.
I have all sorts of fun tricks to reduce the number of key strokes for an operation like that, but if bombing about the terminal isn’t fun for you then I understand.
CLI is being able to speak a language to tell your computer what to do; GUI is only being able to point and grunt.
Sometimes you just want to move a file from folder to another.
Shit. I wish we had that option (dragging files between folders) on Linux. Maybe someday.
(This is a joke, about how it feels like a lot of folks with strong opinions about Linux haven’t tried Linux in a long while.)
That’s why file managers, but cp filename folder name is probably quicker if you are already in the terminal
Would be awesome if there was more software to bridge the gap between CLI and GUI workflows.
trash-cli
anddragon-drop
are pretty useful to that extent, but there is still much that could work better. I want files I’vetouch
ed in bash to appear in the “Recent” section in the GTK filepicker, and stuff like that.You may want to check out Ghost Commander and it’s many cross platform clones. They include a nice mix of graphical and batch command tools.
thanks, I’ll take a look.
Does bash have extensions? If not I know other shells do. Definitely something you could do there
You could do it in any shell by replacing
touch
with a function or alias that sends a note to whatever GTK subsystem is responsible for the “recents” tab before making the file. A more comprehensive way would be either using inotify or kernel-level process tracing fuckery, but I’m not smart enough for thatTrue, but I was thinking the shell would be the best place. You can have with watch for file modifications preformed by the user and reach out to nautilus to update its recents. That way you don’t have to watch for all inotify events on receiving user updates, and you get all tools not just touch
mv a/foo b/bar
🤷Definitely not hating if you find the GUI more intuitive. I’m not going to say I use terminal for everything. For instance, I’m using a graphical web browser right now!
But the more you get comfortable with CLI, the easier it becomes to expand your daily usage to include more and more.
More like mv a/somedirectory/andanother/thenonemore/longfilenameislong b/another_directory/directory2/stillmore2goanddontmisspellanything
Rofl true.
I have all sorts of fun tricks to reduce the number of key strokes for an operation like that, but if bombing about the terminal isn’t fun for you then I understand.
Try lynx :D
I’ve never really got good at it for standard http sites.
I have really been enjoying browsing the smol web using offpunk, though.
Midnight Commander is my favorite CLI tool in Linux for that sort of thing!
I have a NAS and sometimes I move shit around and it’s easier for me when I have “to”/“from” visually side-by-side.