Re: How to scroll through and view documents ??

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Brian Cluff
Date:  
To: plug-discuss
Subject: Re: How to scroll through and view documents ??
If you're running a very old KDE then, yes, you would need to change
kde-open5 to kde-open.

try doing just
kde-open your-document.odt
and see if that opens your document.
It should open it using whatever program would have opened it if you had
just clicked on it in your file manager.
Of course if clicking on it in your file manager doesn't open it either
then you'll need to change the default program to whatever you want to
open it.

Brian Cluff

On 11/19/19 12:09 AM, Joe Lowder wrote:
> Next I tried this:
> t420: for I in *.{odt}; do kde-open $I; done
> Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading
> configurations from ~/.fonts.conf is deprecated. please move it to
> /home/joe/.config/fontconfig/fonts.conf manually
>
> Next I tried this:
> t420: sudo apt-get install kde-cli-tools
> [sudo] password for joe:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package kde-cli-tools
>
> Don't know what to try next ;)
>
>
> ------------
> On Mon, November 18, 2019 10:00 pm, Brian Cluff wrote:
>> This is pretty rough but it might do what you want it to do, but it
>> could be a lot better:
>>
>> for I in *.{html,pdf,odt,doc,docx}; do kde-open5 $I; done
>>
>> Just add whatever document types to the part in the {}s and it will open
>> all the documents in the current directory.
>>
>> There's no limit to the number of document so be careful that your
>> directory doesn't contain more than a few documents.
>>
>> Brian Cluff
>>
>>
>> On 11/18/19 5:10 PM, Joe Lowder wrote:
>>
>>> Is there a way to scroll or scan through and view all
>>> documents in a directory in a manner similar to the way that I can
>>> scroll or scan through and view jpg images?
>>>
>>> Long ago, I found a shell script (see below) named "v"
>>> that allows me to do this from the command line. I go into any directory
>>> (folder) and type: v *jpg <E>
>>> to scan through all .jpgs in that directory.
>>>
>>> Is there a way to do something similar to scroll or scan
>>> through a directory and view the contents of documents such as libre
>>> office .odt files?
>>>
>>> Here's the "v" script:
>>>
>>>
>>> # v open named image
>>>
>>>
>>> cls;ls -ltr | tail -10;echo
>>>
>>> if [ $# -gt 0 ]; then FILE=$1; else echo "Open what file? " read file;
>>> FILE=$file; fi
>>>
>>>
>>> nohup gwenview $FILE >/dev/null 2>&1 &
>>>
>>> exit
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss