uweb/tags/windows/index.xml

35 lines
2.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Windows on </title>
<link>https://jamesfengcao.gitee.io/uweb/tags/windows/</link>
<description>Recent content in Windows on </description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="https://jamesfengcao.gitee.io/uweb/tags/windows/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>笔记及手机复制文本至PC剪贴板</title>
<link>https://jamesfengcao.gitee.io/uweb/pccopy/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/pccopy/</guid>
<description>技巧等级:笔记(中级) PC剪贴板(高级)
手机需安装uweb定制Termux。如使用剪贴板功能termux还需安装openssl。
配置/sdcard/uweb/default.select如下
笔记::(cat;echo;echo;)notes.txt 富文本笔记:html:(cat;echo &#39;&amp;lt;p&amp;lt;/p&#39;;echo;)notes.html 命名笔记:(cat;echo;echo;)%s 复制至PC剪贴板::ssh [user:password]@192.168.2.102 &#34;DISPLAY=:0 xsel -i&#34; 复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &#34;DISPLAY=:0 xsel -i&#34; 此处假定远程PC的IP地址为192.168.2.102PC已经开通了ssh服务。建议用户配置ssh服务为免密码登录此时用户无需将密码写入文件default.select。用户PC上安装有xsel剪贴板工具。使用其它工具请酌情修改。
重启浏览器,长按“书签”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。
采用以上配置,笔记将储存在/sdcard/uweb目录下文件note.txt或note.html中富文本。命名笔记储存文件则由用户在地址栏输入框内指定。
手机其它应用中的文本可选中后分享给超微浏览器再由超微浏览器作笔记或进一步分享给PC。如果其它应用无法分享选中文本这种情况可以先复制文本至剪贴板。
[在超微浏览器中长按并在新窗口打开此链接](data:text/html;charset=utf-8,&amp;lt;body contenteditable%3E)然后点击窗口并粘贴文本。长按书签按钮选择适当功能即可复制至PC剪贴板。
通过新窗口打开上述链接,超微浏览器因此亦可用作简单的文本/html编辑器。用户可通过“命名笔记”存为地址栏输入框指定文件。
Windows PC 对Windows PC而言vista及以后自带clip.exe此时配置如下
复制文本至PC剪贴板::ssh [user:password]@192.168.2.102 clip.exe
其它推荐工具(读取PC剪贴板)
pclip</description>
</item>
</channel>
</rss>