Hi Steven,

what you are proposing is to copy files (not names) into the clipboard and 
then pasting them into a text editor (field). It's the window manager that 
transforms the files into their names while pasting, as some kind of 
fallback.

And it's not exactly the needed result, because what is needed are fully 
qualified file paths corresponding to the file system, not URLs, e.g.

  /home/steve/CVS/Assorted-CVS-Modules/k/krusader/build

instead of

  file:///home/steve/CVS/Assorted-CVS-Modules/k/krusader/build

What you are doing in the next step is to rename a correctly named menu 
option into something misleading (because it won't be only names that will 
be copied into the clipboard).

Nevertheless, changing and compiling the Krusader sourcecode myself is an 
interesting option that I did not have in mind before. Maybe I'll try this 
just as an experiment. Thanks for that!

Regards
Johannes


Am Dienstag, 11. Oktober 2016 15:57:54 UTC+2 schrieb StevenPUlrick:

    Hello, Johannes
    Unless I misread your message, I thought that Krusader already did what
    you ask, without any "Useractions"

    As an experiment, I went to a directory that contains Krusader's source
    code, and I did the following:
    1. Selected all the directories and files.
    2. Right click and select "Copy to Clipboard" from the context menu.
    3. Paste the results directly into this email.  See below...

    file:///home/steve/CVS/Assorted-CVS-Modules/k/krusader/build
    ...

    Now, is the menu option "Copy to Clipboard" as clear as the option in
    Total Commander?  My opinion is that it is not...

    I just tried changing
    "addAction(i18n("Copy to Clipboard"))->setData(QVariant(COPY_CLIP_ID));"

    to

    "addAction(i18n("Copy Names With Path To
    Clipboard"))->setData(QVariant(COPY_CLIP_ID));"

    in the source code file "krusader/krusader/Panel/krpopupmenu.cpp"

    I then recompiled and installed Krusader...


    I put a screenshot here:
    
<http://www.afolkey2.us/gallery3/index.php/Assorted/Krusader-CopyNamesWithPathToClipboard>

    ...

    Steven P. Ulrick

    On 10/11/2016 07:20 AM, CrucialKrusader wrote:
    >
    > In File Managers like Total Commander for Windows, some of the most
    > important use cases for me is 'copy names to clipboard' and its 
variants 

    ...
    > Johannes

-- 
You received this message because you are subscribed to the Google Groups 
"krusader-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to krusader-users+unsubscr...@googlegroups.com.
To post to this group, send email to krusader-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/krusader-users/8d46bb05-b079-44c6-af24-20aa7bee3771%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to