I want to open konqueror from the command line -- in split screen -- with one panel open in a default directory (e.g. $HOME/somewhere/) and the other panel open in a command line given directory (e.g. /some/where/else/).
I have the profile saved - called "rfs_mount'
I seem to be able to load the command line given directory in one or the other panels -- after saving a fresh copy of the profile with one or the other panel "active" at the time the save is done.
But, I have been unable to specify the default directory (e.g. $HOME/somewhere/) in the _other_ panel.
My semi-successful attempt:
konqueror --profile rfs_mount $HOME/VPS/
... but only the one panel is loaded, and the other is "un-located." By "un-located", I mean it's not $HOME/ , or / , or anything.
Unless I'm missing something obvious, one cannot specify _two_ URIs on the command line. Right?
I've tried specifying a home page for the not-active panel before making the other panel active and saving the profile. No joy.
Has anyone been down this rabbit hole?
Thank you.
Jonesy (I see "TDE shirts" is a Trinity code word for "Business Plan" :-)
On Sunday 26 April 2020 21.25:07 Marvin Jones via trinity-users wrote:
I want to open konqueror from the command line -- in split screen -- with one panel open in a default directory (e.g. $HOME/somewhere/) and the other panel open in a command line given directory (e.g. /some/where/else/).
I've just run a test:
- open konqueror (my file management profile is basically dualpane) - change left pane to /home - change right pane to something else (here /video)
in konqueror settings -> Configure view profiles... -> save under name "Test_profile" (I saved with url ans windows size ticked).
Now if I open konsole and type
konqueror --profile Test_profile
I get exactly what I have saved.
I have tried this with different new profiles, always works.
Debian Buster / R14.0.7
Thierry
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net 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
On Sun, 26 Apr 2020, Thierry de Coulon wrote:
On Sunday 26 April 2020 21.25:07 Marvin Jones via trinity-users wrote:
I want to open konqueror from the command line -- in split screen -- with one panel open in a default directory (e.g. $HOME/somewhere/) and the other panel open in a command line given directory (e.g. /some/where/else/).
I've just run a test:
- open konqueror (my file management profile is basically dualpane)
- change left pane to /home
- change right pane to something else (here /video)
in konqueror settings -> Configure view profiles... -> save under name "Test_profile" (I saved with url ans windows size ticked).
Now if I open konsole and type
konqueror --profile Test_profile
I get exactly what I have saved.
And, I can get that,too.
What I want is
konqueror --profile Test_profile /URI/for/the/OTHER/pane
.. and be all set up copy files to and fro, etc. And, the /URI/for/the/OTHER/pane maybe/will be different each time.
I do not want to save the 2nd URI in the profile.
Jonesy
On Sunday 26 April 2020 22.55:35 Marvin Jones via trinity-users wrote:
konqueror --profile Test_profile /URI/for/the/OTHER/pane
.. and be all set up copy files to and fro, etc. And, the /URI/for/the/OTHER/pane maybe/will be different each time.
I do not want to save the 2nd URI in the profile.
Ah sorry, didn't understand it right. I guess this would take some code modification...
Thierry
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net 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
Am Sonntag, 26. April 2020 schrieb Marvin Jones via trinity-users:
I have the profile saved - called "rfs_mount'
I seem to be able to load the command line given directory in one or the other panels -- after saving a fresh copy of the profile with one or the other panel "active" at the time the save is done.
But, I have been unable to specify the default directory (e.g. $HOME/somewhere/) in the _other_ panel.
My semi-successful attempt:
konqueror --profile rfs_mount $HOME/VPS/
... but only the one panel is loaded, and the other is "un-located." By "un-located", I mean it's not $HOME/ , or / , or anything.
Confirmed, same here. When konqueror is started from a command line with a profile with two panels and an URL, it opens the given URL in one panel and the other panel empty. None of the directories, which are defined/saved in the profile are loaded. I would consider this a BUG.
Kind regards, Stefan
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net 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
On Mon, 27 Apr 2020, Stefan Krusche wrote:
Am Sonntag, 26. April 2020 schrieb Marvin Jones via trinity-users:
I have the profile saved - called "rfs_mount'
I seem to be able to load the command line given directory in one or the other panels -- after saving a fresh copy of the profile with one or the other panel "active" at the time the save is done.
But, I have been unable to specify the default directory (e.g. $HOME/somewhere/) in the _other_ panel.
My semi-successful attempt:
konqueror --profile rfs_mount $HOME/VPS/
... but only the one panel is loaded, and the other is "un-located." By "un-located", I mean it's not $HOME/ , or / , or anything.
Confirmed, same here. When konqueror is started from a command line with a profile with two panels and an URL, it opens the given URL in one panel and the other panel empty. None of the directories, which are defined/saved in the profile are loaded. I would consider this a BUG.
I thought I could out-wit the process and set _both_ panes to the default URI in the profile. Then, after setting one pane to be the active pane, I saved the profile. However - as you found out - when starting konqueror from the command line with the profile and a given URI, it opens the given URI in what was the active panel when the profile was saved, and the other panel is empty. The location bar for the empty panel has no content, but it seems to be the same as seen with [about:blank ].
I would also call it a BUG.
Jonesy
On 2020-04-26 14:25:07 Marvin Jones via trinity-users wrote:
I want to open konqueror from the command line -- in split screen -- with one panel open in a default directory (e.g. $HOME/somewhere/) and the other panel open in a command line given directory (e.g. /some/where/else/).
I have the profile saved - called "rfs_mount'
I seem to be able to load the command line given directory in one or the other panels -- after saving a fresh copy of the profile with one or the other panel "active" at the time the save is done.
But, I have been unable to specify the default directory (e.g. $HOME/somewhere/) in the _other_ panel.
My semi-successful attempt:
konqueror --profile rfs_mount $HOME/VPS/
... but only the one panel is loaded, and the other is "un-located." By "un-located", I mean it's not $HOME/ , or / , or anything.
Unless I'm missing something obvious, one cannot specify _two_ URIs on the command line. Right?
I've tried specifying a home page for the not-active panel before making the other panel active and saving the profile. No joy.
Has anyone been down this rabbit hole?
Thank you.
Jonesy (I see "TDE shirts" is a Trinity code word for "Business Plan" :-)
In Settings -> Load View Profile you will see a "Midnight Commander" option, which will open Konqueror with the screen split vertically. There ought to be a command-line method for invoking this, but unfortunately the Konqueror Handbook doesn't tell how to do it so that it provides the split screen; e.g.
konqueror --profile "Midnight Commander" $HOME&
starts it with a single pane. Adding additional paths to the command causes a "Malformed URL" message. Does anyone know how to make this work from the command line?
Leslie
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net 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
On Monday 27 April 2020 15.38:41 J Leslie Turriff wrote:
In Settings -> Load View Profile you will see a "Midnight Commander" option, which will open Konqueror with the screen split vertically.
Only in your distribution/TDE version. This profile does not exist on Debian. You can create and save it however.
There ought to be a command-line method for invoking this, but unfortunately the Konqueror Handbook doesn't tell how to do it so that it provides the split screen; e.g.
konqueror --profile "Midnight Commander" $HOME&
starts it with a single pane. Adding additional paths to the command causes a "Malformed URL" message. Does anyone know how to make this work from the command line?
This is what has been discussed to far. Assuming there is a "Midnight Commander" profile:
konqueror --profile "Midnight Commander"
will open this profile with whatever content has been saved in *both* panes.
konqueror --profile <whatever profile> <whatever url>
will open konqueror as single or dual pane (depending on your settings in the "File Management" profile I guess) and only the left pane (if two) populated with <url>, the other pane is empty.
In short, if you give an url konqueror ignores the profile you typed. I think this is what they find to be a bug.
Thierry
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net 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
On 2020-04-27 09:08:29 Thierry de Coulon wrote:
On Monday 27 April 2020 15.38:41 J Leslie Turriff wrote:
In Settings -> Load View Profile you will see a "Midnight Commander" option, which will open Konqueror with the screen split vertically.
Only in your distribution/TDE version. This profile does not exist on Debian. You can create and save it however.
There ought to be a command-line method for invoking this, but unfortunately the Konqueror Handbook doesn't tell how to do it so that it provides the split screen; e.g.
konqueror --profile "Midnight Commander" $HOME&
starts it with a single pane. Adding additional paths to the command causes a "Malformed URL" message. Does anyone know how to make this work from the command line?
This is what has been discussed to far. Assuming there is a "Midnight Commander" profile:
konqueror --profile "Midnight Commander"
will open this profile with whatever content has been saved in *both* panes.
konqueror --profile <whatever profile> <whatever url>
will open konqueror as single or dual pane (depending on your settings in the "File Management" profile I guess) and only the left pane (if two) populated with <url>, the other pane is empty.
In short, if you give an url konqueror ignores the profile you typed. I think this is what they find to be a bug.
Thierry
Yeah; sorry, I should have waited to reply before reading only the first few posts, but it looked like the "Midnight Commander" profile was being overlooked. And thanks for pointing out that saving its settings keeps the split screen setup.
Leslie
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net 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
On Mon, 27 Apr 2020, J Leslie Turriff wrote:
In Settings -> Load View Profile you will see a "Midnight Commander" option, which will open Konqueror with the screen split vertically.
I do not see that profile. I believe konqueror comes with just two profiles: "File Management" and "Web Browsing". Possibly your "Midnight Commander" was added after the Trinity install, or you have some old KDE 3.5 config files in play.
There ought to be a command-line method for invoking this, but
+1 :-)
... unfortunately the Konqueror Handbook doesn't tell how to do it so that it provides the split screen; e.g.
konqueror --profile "Midnight Commander" $HOME&
starts it with a single pane. Adding additional paths to the command causes a "Malformed URL" message.
I avoid embedded spaces in "things" at all costs. :-) Try renaming the profile to "Midnight_Commander" and test that.
Does anyone know how to make this work from the command line?
What you're attempting _does_ work for me at the command line: A split pane profile, with one or the other pane "active" when saving the profile. Then
konqueror --profile Midnight_Commander $HOME
... would open konqueror in split screen with the user's home directory in the saved, active pane -- and the other panel totally blank -- ala about:blank
HTH Jonesy
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”]
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net 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
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 ;)
Hey, Michael, that looks Just Like the kind of bodge that I thrive on!
I have "chores" laid out for today, but I will put it in play tomorrow and report back.
(I was about to start digging into the .trinity/ files for clues, but I do not have the detailed knowledge of what to look for -- except, perhaps, to do a recursive grep for my profile name. You just gave me a Big Head Start!)
Thanks! Jonesy
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
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@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net 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
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
On Wednesday 29 April 2020 03.12:47 Marvin Jones via trinity-users wrote:
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`
Very interresting, although I don't see for the time where I would use it, I'll have to look if I can adapt it (I am not very experienced with bash, mostly used tcl).
What I descovered by reading it is kdialog. I used zenity in my scripts. I'd prefer the passive dialog to look like a normal message box (I have to use it as it seems to be the only one with a timeout option).
Thierry
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net 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