Re: Need a little konqueror help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anno domini 19:12:47 Tue, 28 Apr 2020 -0600 (MDT)
 Marvin Jones via trinity-users scripsit:
> 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

This is nice :)

Nik

-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...

---------------------------------------------------------------------
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





[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux