How to scroll through and view documents ??

Joe Lowder joe at actionline.com
Tue Nov 19 00:09:04 MST 2019


Thanks ... when trying this, ran into a few obstacles.

First I tried this:
t420: for I in *.{odt}; do kde-open5 $I; done
No command 'kde-open5' found, did you mean:
 Command 'kde-open' from package 'kde-runtime' (universe)
kde-open5: command not found

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




More information about the PLUG-discuss mailing list