我尝试将图像转换为 Jpeg2000:
convert example2.png -quality 95 example.jp2
Run Code Online (Sandbox Code Playgroud)
但输出仍然是 png:
file example.jp2
example.jp2: PNG image data, 2549 x 3507, 8-bit/color RGB, non-interlaced
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?
convert -version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2016-11-29 http://www.imagemagick.org
Run Code Online (Sandbox Code Playgroud) 如果我尝试扫描(xsane 或 simple-scan),我会得到以下输出:
设备 URI:hpaio:/net/HP_LaserJet_MFP_M129-M134?hostname=hp-drucker
有人告诉我这个设备有很好的 Linux 支持...请参阅https://hardwarerecs.stackexchange.com/questions/8323/small-printerscanner-with-very-good-support-for-ubuntu
MIB search path: /home/guettli/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): …Run Code Online (Sandbox Code Playgroud) 过去dconf-editor可以用来改变光标大小。
我安装了 Ubuntu 20.04。我把值改成64rebooted了,光标的大小还是没变。
如何在 Ubuntu 20.04 上增加光标大小?
如果你在 Firefox 的一个文本区有长行,你是看不到是有一条长行还是有几行短行。
我附上了两个屏幕截图作为示例。
火狐:
埃马克:
有没有办法配置 Firefox 来显示被包裹的长行?
我不在乎这是如何完成的。但我认为 emacs 使用的箭头符号很合适。
我正在寻找具有搜索功能的剪贴板管理器。我喜欢CtrlR的bash外壳,并想在剪贴板经理一样,相同的功能为我的桌面。
到现在我一直在用diodon,但是这个功能在diodon. 在那里查看相关问题https://answers.launchpad.net/diodon/+question/403507
用例:
随着diodon我获得最后比赛的一个长长的清单,这是很好的,但并不完美。
我想将 Thunderbird 中的邮件中的 HTML 复制+粘贴到文本编辑器。
它可以将其复制并粘贴到 LibreOffice,但我想查看“原始”HTML。
如果我使用 Gedit,那么我只能得到纯文本......
任何提示?
我还有其他用例,其中源应用程序不是 Thunderbird。
根据这篇文章,dash被选为/bin/sh因为bash较慢:Dash as /bin/sh
有没有具体的数字来说明速度有多快dash?
如果使用bash而不是dash引导 Ubuntu需要多长时间?
上面链接的论点今天仍然有效吗?对于背景:system-v init 使用了很多 shell 脚本,但 systemd 没有。
这个问题与综合基准测试中的速度无关。它关乎最终用户的整体显着利益。关于 dash 与 bash 速度的综合基准测试并没有回答这个问题。
我阅读了这篇文章,并希望避免在 Ubuntu 18.04 上运行 Microsoft Teams 的复杂过程。
有没有更简单的方法?
按照官方文档:https : //docs.microsoft.com/en-us/microsoftteams/get-clients#linux
I tried to sync ogg-audio-files to my android device like this:
rsync -av piano /run/user/1000/gvfs/mtp\:host\=%5Busb%3A002%2C005%5D/SanDisk/Music/
===> rsync -av piano/ /run/user/1000/gvfs/mtp:host=%5Busb%3A002%2C007%5D/SanDisk/Music/
sending incremental file list
rsync: failed to set times on "/run/user/1000/gvfs/mtp:host=%5Busb%3A002%2C007%5D/SanDisk/Music/.": Operation not supported (95)
...
foo-bar/one.ogg
...
rsync: mkstemp "/run/user/1000/gvfs/mtp:host=%5Busb%3A002%2C007%5D/SanDisk/Music/foo-bar/one.ogg.0gzy9t" failed: Operation not supported (95)
Run Code Online (Sandbox Code Playgroud)
But only the directory got created. No file was transfered:
===> find /run/user/1000/gvfs/mtp:host=%5Busb%3A002%2C007%5D/SanDisk/Music/piano
/run/user/1000/gvfs/mtp:host=%5Busb%3A002%2C007%5D/SanDisk/Music/piano/foo-bar
Run Code Online (Sandbox Code Playgroud)
How to rsync between my android device and my Ubuntu PC?
我找到了一个解决方法:我从 Android 设备上拔下 micro-SC 卡,然后将其插入笔记本电脑的 SD 卡读卡器中。但是我不需要这样做的解决方案会很好。
我创建了一个这个文件: /etc/profile.d/pycharm_alias.sh
startPyCharm() {...
}
alias py=startPyCharm
Run Code Online (Sandbox Code Playgroud)
我重新启动了 PC,但是别名不可用:
===> alias
...empty
Run Code Online (Sandbox Code Playgroud)
如果我通过 ssh 登录到 PC,则别名可用:
===> ssh root@localhost
..
root@pc:~# alias
alias py='startPyCharm'
Run Code Online (Sandbox Code Playgroud)
如何为 ubuntu linux 系统的所有用户提供别名?
我们使用 bash shell。