首页 > 系统相关 >ubuntu 使用 Viu 在终端 Terminal 显示图片

ubuntu 使用 Viu 在终端 Terminal 显示图片

时间:2023-01-17 18:22:52浏览次数:52  
标签:run image Viu Terminal below command install ubuntu

Using Viu

Next on our list of image viewers is Viu. You can use this open-source command-line utility to display images in the Terminal. Some of the many accessible image formats are .jpg, .png, .igif, and more.

Essentially, Viu is the front-end of the app known as Viuer. It chooses between two graphics protocols to use – iTerm and Kitty. Viu is able to display animated GIFs, use custom dimensions, and gives the user transparency control. You can also input media into Viu through stdin.

Now, let’s move on to the installation part. Viu is written in the programming language known as Rust, therefore it can be downloaded using the Cargo package manager. If you do not have it already, run the command below to install it.

$ sudo apt install cargo

It should take a few moments to install. Once it is done, run the command below to install Viu.

$ cargo install viu

Now that we have successfully installed Viu, the next step is to start using it. Run the command below to see a breakdown of instructions on its usage.

$ viu

 

As we did for Feh, we can run the command below to display an image through Viu.

$ viu dog.jpg

With that being said, we have covered almost everything there is to know about Viu. If you wish, feel free to visit the documentation page and learn more about this utility.

标签:run,image,Viu,Terminal,below,command,install,ubuntu
From: https://www.cnblogs.com/itfanr/p/17058483.html

相关文章

  • ubuntu使用命令sudo apt -get install 安装东西时出现"E: Sub-process /usr/bin/dpkg
    办法如下:1.先将info文件夹更名sudomv/var/lib/dpkg/info/var/lib/dpkg/info_old2.再新建一个新的info文件夹sudomkdir/var/lib/dpkg/info3.更新sudoapt-getupd......
  • Ubuntu16.04 ftp服务器安装
    1.安装vsftpd软件包sudoapt-getinstallvsftpd2.修改配置文件vim/etc/vsftpd.confcopy下面内容:#这些设置系统默认是开启的,可以不管listen=NOlisten_ipv6=YESdirmessa......
  • Win11+Ubuntu双系统安装
    Win11+ubuntu双系统安装记录参考制作系统安装盘1.下载Ubuntu官方镜像点击链接,选择22.04LTS版本下载2.下载系统盘制作工具这里使用Rufus下载完成后双击启动,提示......
  • Ubuntu显卡安装
    使用官方的NVIDIA驱动进行手动安装(稳定、靠谱)1.安装驱动前一定要更新软件列表和安装必要软件、依赖(必须)aptupdate#更新软件列表aptinstallg++gccmake-y2.......
  • 在Ubuntu上安装OpenShift并使用
    服务器信息在阿里云买了个抢占式的服务器,地区为华南广州,系统为Ubuntu20.04,8核16GB。安装Docker命令如下:$apt-getupdate-y$apt-getupgrade-y$apt-getinstal......
  • Ubuntu开放指定端口
    以开放8080端口为例:方式一:1、开启防火墙systemctlstartfirewalld2、开放指定端口firewall-cmd--zone=public--add-port=1935/tcp--permanent命令含义:-......
  • 安装Ubuntu系统到中国移动电视盒子
    根据B站的视频资料,貌似这个盒子的性价比要比树莓派高一些,所以做了这个安装实验。新年伊始,armbian库也加紧升级,感觉大家都在想尽一切办法告别3年疫情给大家带来的伤害。B站......
  • ubuntu20.04搭建Nginx+rtmp服务器
    1.ubuntu20.04安装Nginx代理服务器安装nginxsudoaptupdatesudoaptinstallnginx安装完成后,Nginx将会自动被启动。运行下面的命令来验证:   测试安装在网页......
  • ubuntu系统使用 sudo: cd:找不到命令
    1、https://blog.csdn.net/sazass/article/details/125694492需要cd/var/lib/但是提示:权限不够然后前面添加sudo报错:sudo:cd:找不到命令原因:   1cd是Linux内建的......
  • Ubuntu20如何设置开机自启动shell脚本
    Ubuntu20如何设置开机自启动shell脚本?需求:我有一个Jenkins工程,是手敲命令启动的。但每次开机都要手动执行一次命令,很不方便,能否设置为开机自动启动?系统是Ubuntu20.04版......