yad icon indicating copy to clipboard operation
yad copied to clipboard

[Request]yad --icons --read-dir

Open cou645 opened this issue 2 years ago • 3 comments

Will it be possible to --read-dir from stdin ? Also have desktop file Comment show on mouse hover?

I'm working on a yad file browser/manager. I'm using yad paned, list and icons --read-dir. My method is i create a map of the system directory structure in a directory in /tmp, ignoring virtual files sytems like /proc, and for each of these create a dektop file alongside it. Then i do the same for files. This dir gets squashed then loaded as an aufs / layer. So then one can use yad to browser the files and folders, opening them according to the desktop Exec string.

cou645 avatar Jun 02 '23 11:06 cou645

File manager? Bash is slow, a proper solution would be to make an actual file manager. But what's the point when there are many of them. Use gio in scripts, it's simpler. I had that idea last year, and experimented a bit. https://groups.google.com/g/yad-common/c/QfUFtrny4wI/m/gCASOhfsAQAJ

See the script here https://gist.github.com/Misko-2083/04a7be791e0db74ca372036e9fdb5c65

  • note that places dialog isn't implemented in yad.

Misko-2083 avatar Jun 02 '23 13:06 Misko-2083

your file browser looks like what I originally wanted. I'm going to try it out.

My new idea is unique and even if it turns out to be only a learning exercise, I want to complete the task. It has several unique possibilities. One could create several system overlays, with tight control, read only, and certain files and directories excluded ... kiosk-like. Who knows what it will lead to? All i know is that I'm the first to think of it and do it ... a desktop only file browser, everything represented as a desktop file including wifi connection (remember i also did wifi profiles as svg images), self-playing radio station.desktop files. in the case of desktop files it should be possible to write the Exec=command such that it sources itself , ommiting the head , and playing the 'URL=address' directly. Same for websites.... This is unique and worth pursuing imho .

I can but ask! What's the worse can happen!?!?!?!?

cou645 avatar Jun 04 '23 12:06 cou645

In fact would it be possible also to set a background image with yad --icons --read-dir ... that would do nicelz for a yad pinboard!

cou645 avatar Jun 06 '23 17:06 cou645