I'm build a linux workstation for my wife -- her first linux box. Since her last immersion in command line usage was back in CP/M day, and then DOS before Windows, I am trying to set her up with as many GUI solutions as possible. konqueror is, of course, a prime choice!
We both work on web sites, and move "stuff" to and fro a VPS we share. In my own usage I've been using `sshfs` to mount the remote file system on a mount point in my $HOME -- do whatever I needed to do -- then unmount the remote file system. ... all at the command line.
An annoyance I've always cursed is the inability of `cp`, `mv`, or even `rsync` to replicate the from_file permissions to the to-file's permissions with the `sshfs` mounts -- because the owning userids are different between the two file systems. Even tho', immediately after getting the error message from `cp`, I can `chmod` the permissions to what I want without any error. sigh...
That command line Miky-Maus was not something I wanted to foist on my wife. So, I spent maybe an hour today trying to find a way around the problem in general. No joy.
So, for the first time in my testing, I fired up konqueror with two panes: one pane on $HOME/ amd the other pane on the already-mounted remote file system.
Then I copied from a local directory a large collection of files with many, many different possible permissions set all the way through the public permissions. I was going to go through the "right click on the file" => "Properties" => "permissions" => owner|group|others change process to make a write up for her to follow.
KONQUEROR ROCKS!
The file were all copied up to the remote file system WITH THE ORIGINAL FILE'S PERMISSIONS!!!
KONQUEROR ROCKS!
Thank you KDE; Thank you TDE; Thank you Trinity!!
(Gee... I sure hope that's not a bug!!! If so, DON'T FIX IT!!!)
Life is good! Jonesy
On Tuesday 28 April 2020 03:06:06 pm Marvin Jones via trinity-users wrote:
I'm build a linux workstation for my wife -- her first linux box. Since her last immersion in command line usage was back in CP/M day, and then DOS before Windows, I am trying to set her up with as many GUI solutions as possible. konqueror is, of course, a prime choice!
We both work on web sites, and move "stuff" to and fro a VPS we share. In my own usage I've been using `sshfs` to mount the remote file system on a mount point in my $HOME -- do whatever I needed to do -- then unmount the remote file system. ... all at the command line.
An annoyance I've always cursed is the inability of `cp`, `mv`, or even `rsync` to replicate the from_file permissions to the to-file's permissions with the `sshfs` mounts -- because the owning userids are different between the two file systems. Even tho', immediately after getting the error message from `cp`, I can `chmod` the permissions to what I want without any error. sigh...
That command line Miky-Maus was not something I wanted to foist on my wife. So, I spent maybe an hour today trying to find a way around the problem in general. No joy.
So, for the first time in my testing, I fired up konqueror with two panes: one pane on $HOME/ amd the other pane on the already-mounted remote file system.
Then I copied from a local directory a large collection of files with many, many different possible permissions set all the way through the public permissions. I was going to go through the "right click on the file" => "Properties" => "permissions" => owner|group|others change process to make a write up for her to follow.
KONQUEROR ROCKS!
The file were all copied up to the remote file system WITH THE ORIGINAL FILE'S PERMISSIONS!!!
KONQUEROR ROCKS!
Thank you KDE; Thank you TDE; Thank you Trinity!!
(Gee... I sure hope that's not a bug!!! If so, DON'T FIX IT!!!)
That's just cool!
Any chance you'd be willing to add a write up on how to set that all up on?:
https://wiki.trinitydesktop.org/Tips_And_Tricks
Best, Michael
--------------------------------------------------------------------- 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 Tue, 28 Apr 2020, Michael wrote:
On Tuesday 28 April 2020 03:06:06 pm Marvin Jones via trinity-users wrote:
I'm build a linux workstation for my wife -- her first linux box. Since her last immersion in command line usage was back in CP/M day, and then DOS before Windows, I am trying to set her up with as many GUI solutions as possible. konqueror is, of course, a prime choice!
We both work on web sites, and move "stuff" to and fro a VPS we share. In my own usage I've been using `sshfs` to mount the remote file system on a mount point in my $HOME -- do whatever I needed to do -- then unmount the remote file system. ... all at the command line.
An annoyance I've always cursed is the inability of `cp`, `mv`, or even `rsync` to replicate the from_file permissions to the to-file's permissions with the `sshfs` mounts -- because the owning userids are different between the two file systems. Even tho', immediately after getting the error message from `cp`, I can `chmod` the permissions to what I want without any error. sigh...
That command line Miky-Maus was not something I wanted to foist on my wife. So, I spent maybe an hour today trying to find a way around the problem in general. No joy.
So, for the first time in my testing, I fired up konqueror with two panes: one pane on $HOME/ amd the other pane on the already-mounted remote file system.
Then I copied from a local directory a large collection of files with many, many different possible permissions set all the way through the public permissions. I was going to go through the "right click on the file" => "Properties" => "permissions" => owner|group|others change process to make a write up for her to follow.
The file were all copied up to the remote file system WITH THE ORIGINAL FILE'S PERMISSIONS!!!
KONQUEROR ROCKS!
Thank you KDE; Thank you TDE; Thank you Trinity!!
(Gee... I sure hope that's not a bug!!! If so, DON'T FIX IT!!!)
That's just cool!
Any chance you'd be willing to add a write up on how to set that all up on?:
Well, it's not so much a "how to set that all up", as much as it is a Great Undocumented Feature.
So, yes, I'll write it up in that tone -- Real Soon Now.
Best regards, Jonesy
On 04/28/2020 03:06 PM, Marvin Jones via trinity-users wrote:
KONQUEROR ROCKS!
The file were all copied up to the remote file system WITH THE ORIGINAL FILE'S PERMISSIONS!!!
KONQUEROR ROCKS!
Thank you KDE; Thank you TDE; Thank you Trinity!!
That's just the tip of the iceberg,
Open kate, and just open the remote files via sftp:// and then save the project. Next time you open kate, just select your project and presto -- all your remote files are open and ready to edit.
If you are really into the web development, then use Quanta instead of Kate (it's just kate plus a lot of additions centered on web development)
Konqueror can use sftp:// as well. No need to mount the remote system with sshfs, just sftp:// to it and you are there.
On Mon, 1 Jun 2020, David C. Rankin wrote:
On 04/28/2020 03:06 PM, Marvin Jones via trinity-users wrote:
KONQUEROR ROCKS!
The file were all copied up to the remote file system WITH THE ORIGINAL FILE'S PERMISSIONS!!!
KONQUEROR ROCKS!
Thank you KDE; Thank you TDE; Thank you Trinity!!
That's just the tip of the iceberg,
Open kate, and just open the remote files via sftp:// and then save the project. Next time you open kate, just select your project and presto -- all your remote files are open and ready to edit.
If you are really into the web development, then use Quanta instead of Kate (it's just kate plus a lot of additions centered on web development)
Konqueror can use sftp:// as well. No need to mount the remote system with sshfs, just sftp:// to it and you are there.
Ah, but a bit of caution using sftp:// in konqueror. It seems konqueror opens and closes the connection many, many times during what would seem to you to be a single session. That's the way I used konqueror in the past -- not know of the "performance" issue.
But, my web host implemented some more "robust" security in the last 6-8-9 months, and the high rate of ssh connections would blacklist my workstation's IP. I understand the web host's concern and I moved to scripting those connections (several web sites) to _that_ web host via: sshfs mount the remote"/public_html/" execute konqueror with a specific split-screen profile for that mounted sshfs directory. - fiddle fiddle fiddle - - konqueror ends - sshfs umount the remote directory.
Works a treat. Jonesy
On 06/01/2020 05:27 PM, Marvin Jones via trinity-users wrote:
Ah, but a bit of caution using sftp:// in konqueror. It seems konqueror opens and closes the connection many, many times during what would seem to you to be a single session. That's the way I used konqueror in the past -- not know of the "performance" issue.
But, my web host implemented some more "robust" security in the last 6-8-9 months, and the high rate of ssh connections would blacklist my workstation's IP. I understand the web host's concern and I moved to scripting those connections (several web sites) to _that_ web host via: sshfs mount the remote"/public_html/" execute konqueror with a specific split-screen profile for that mounted sshfs directory.
- fiddle fiddle fiddle -
- konqueror ends -
sshfs umount the remote directory.
Works a treat. Jonesy
Ah, I do recall years go there would be multiple sftp_kio processes running that may be what you are describing. That should all be fixed. I'm sitting here with kate and 18 open sftp:// connections to a web-site on my server and no lingering sftp-kio processes anywhere. I think that problem was fixed several years ago. (but I can see when that problem was occurring how your provider may have flagged you for open repeat connections.)
On Tuesday 02 June 2020 04:41:45 am David C. Rankin wrote:
On 06/01/2020 05:27 PM, Marvin Jones via trinity-users wrote:
Ah, but a bit of caution using sftp:// in konqueror. It seems konqueror opens and closes the connection many, many times during what would seem to you to be a single session. That's the way I used konqueror in the past -- not know of the "performance" issue.
But, my web host implemented some more "robust" security in the last 6-8-9 months, and the high rate of ssh connections would blacklist my workstation's IP. I understand the web host's concern and I moved to scripting those connections (several web sites) to _that_ web host via: sshfs mount the remote"/public_html/" execute konqueror with a specific split-screen profile for that mounted sshfs directory.
- fiddle fiddle fiddle -
- konqueror ends -
sshfs umount the remote directory.
Works a treat. Jonesy
Ah, I do recall years go there would be multiple sftp_kio processes running that may be what you are describing. That should all be fixed. I'm sitting here with kate and 18 open sftp:// connections to a web-site on my server and no lingering sftp-kio processes anywhere. I think that problem was fixed several years ago. (but I can see when that problem was occurring how your provider may have flagged you for open repeat connections.)
You'd most likey need to look at the server log files to see if it's opening and closing sessions multiple times.
I usually work local and push all changes after it passes QA, but if/when I needed to edit a remote resource, I use Jonesy's method*, as there is no guess work about there being just a single session open for editing. (also less stress on the server, blah, blah...)
ymmv, Michael
* It's also very easy to create a script based on Jonesy's method, so it's just a single command to run (or click if you desire).
--------------------------------------------------------------------- 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, June 1, 2020 3:27 PM, Marvin Jones via trinity-users trinity-users@lists.pearsoncomputing.net wrote:
Ah, but a bit of caution using sftp:// in konqueror. It seems konqueror opens and closes the connection many, many times during what
I've never seen that with Konqueror, I have to reload the file tree to see changes. On the other hand, I get timed out pretty damn quick on an idle ssh connection... I wonder if there are settings in Konqueror or Kate that can cause the behavior you describe, e.g. Kate watching for changed files.
Dave
--------------------------------------------------------------------- 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 Friday 05 June 2020 12:41:17 pm Dave Lers wrote:
On Monday, June 1, 2020 3:27 PM, Marvin Jones via trinity-users
trinity-users@lists.pearsoncomputing.net wrote:
Ah, but a bit of caution using sftp:// in konqueror. It seems konqueror opens and closes the connection many, many times during what
I've never seen that with Konqueror, I have to reload the file tree to see changes. On the other hand, I get timed out pretty damn quick on an idle ssh connection
Hi Dave,
That’s an SSH configuration setting (you’ll need to search on it), as I have idle SSH connections that last for months…
Best, Michael
--------------------------------------------------------------------- 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 Friday, June 5, 2020 10:56 AM, Michael mb_trinity_desktop@inet-design.com wrote:
On Friday 05 June 2020 12:41:17 pm Dave Lers wrote:
I've never seen that with Konqueror, I have to reload the file tree to see changes. On the other hand, I get timed out pretty damn quick on an idle ssh connection
Hi Dave,
That’s an SSH configuration setting (you’ll need to search on it), as I have idle SSH connections that last for months…
I should have said the connection dies (dead terminal, no messages) and I'm pretty sure it's OVH (VPS host) dropping the connection. I've never a had problem with self hosted servers having the same sshd config, e.g. the default TCPKeepAlive yes.
Dave
--------------------------------------------------------------------- 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