On Tuesday 28 April 2020, Marvin Jones via trinity-users wrote: > On Mon, 27 Apr 2020, Michael wrote: > >sorry snipped it all, got too long :( > > > >Bug workaround, (temporary, quick and dirty, not tested, I used > > ‘$HOME/trash/’ for sed testing so make sure to fix the paths!...) > > > >Hmmm, I pretty sure I switched panel-one for panel-two, so fix that too ;) > > > > > >Part A: > >- Open Konqueror > >- Like Thierry did setup with two pane paths being different > >- change left pane to /home > >- change right pane to something else (here /video) > >- Save it as profile ‘konqtemplate’ > > > >Part B: > >- Fine the profile in .trinity/share/apps/konqueror/profiles > >- Change the /home to ‘/konquerortemplatepanelone’ > >- Change the /video to ‘/konquerortemplatepaneltwo’ > >- Copy konqtemplate to konqtemplate.template (the .template probably > > needs to be in some other directory) > > > >Part C: > >- Create a batch file to wrapper your ‘konqueror --profile > >konqtemplate /URI/for/the/OTHER/pane’ command > >- Basic structure > > > ># cat konq2p > >{snip, that was going to break} > >See: konq2p attached. > > > >Part D: > >- Run the command > > > >konq2p “$dir pane one” [“$dir pane two”] > > Michael, > > Ok, I said I'd take a crack at it today, and I did. > I took your idea as an "idea platform" to launch my > own solution and it's attached. `rfs_konqueror` > > Instead of your idea to use a template file, I dumped the > template directly into my bash script as a HEREDOC. Read > the comments in the head of the script to try and understand > the weirdness in the code. :-) > > I just used the script to upload itself to my VPS, where I'm > now doing this email. > > I'm just a modest hacker in bash, so I'm sure you or others > will see errors, or "things" that could be better fixed up. > Be kind. I welcome critiques. :-) > > > > I learned several things today. But, the Big One was that > bash variables can be used in a HEREDOC!! Heretofore I had > only used static data with HEREDOCs, and never thought that > bash would interpret any variables as they were pulled out. > > > Wow! What a day! HEREDOCs with bash variables, and file > permissions fully copied by konqueror! > > Best regards, > Jonesy I love konqueror. It's never failed me. Until khtml became outdated I used it for a webbrowser too. I miss it for that. I've written a few action menus but mostly assimilated and adapted existing ones. Everything from audio/video conversion to graphics stuff. Konq is amazing, a power tool. Thanks to all the TDE devels for keeping it all alive. KDE/TDE continues to be a power tool gui. When you actually do work on your computer. Thanks Jonesy (cool nick) for the tips and tricks. Kate --------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting