AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[ubuntu-mate](ubuntu)

Martin Hope
fixit7
Asked: 2023-04-25 05:26:58 +0800 CST

如何将一些 .jpg 文件批量转换为 .png 文件

  • 5

我想将一些 .jpg 文件转换为 640x480 大小。

我查看了我的 Ubuntu_Tips.odt 文件并找到了这个。

Convert png to a 640x480 png.
 convert Screenshot_1360x768.png -resize 640x480! 640smaller.png

我在 /home/andy/Downloads/ 中有 8 个这样的文件。

有没有办法将这些 .jpgs 文件批量转换为较小的文件大小?

谢谢。

ubuntu-mate
  • 1 个回答
  • 34 Views
Martin Hope
fixit7
Asked: 2022-10-01 14:05:44 +0800 CST

autofs 的问题

  • 0

我需要有关 autofs 的帮助。这有点复杂。

我被困在这一点上。我没有 /data 目录。

The/data directory and the subdirectories fs1/, fs2/, and fs3/ should be automatically created, as you can see in the screenshot below.
$ ls /data

https://imgur.com/a/8mvbROE

https://linuxhint.com/mount-filesystems-automatically-on-demand-using-autofs/

这是我的 auto.sda2

/dev/sda2   ext3    UUID=5b4b2ae5-9aaa-4559-9f41-afb313998c75

我的汽车大师

#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
#/misc  /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#   "nosuid" and "nodev" options unless the "suid" and "dev"
#   options are explicitly given.
#
#/net   -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/etc/auto.sda2
ubuntu-mate
  • 1 个回答
  • 25 Views
Martin Hope
Eric Marceau
Asked: 2022-09-25 15:01:46 +0800 CST

vi 的行为:${PWD} 从 Caja 打开与从终端打开时

  • 0
VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 01 2022 09:16:32)
Included patches: 1-2269, 3612, 3625, 3669, 3741

Ubuntu MATE 20.04.5 LTS
Caja 1.24.0

不知道为什么会有行为上的差异。

起始文件夹视图:

Caja 中的启动文件夹

具有预期结果的序列:

- open a terminal from Caja (Ubuntu MATE 20.04), 
- open file with vim junk18.sh
- type :r junk16.sh

Vim 导入 junk16.sh 位于 vim 的启动目录中。

成功导入junk16.sh

具有意外结果的序列:

- Default action for *.sh files is to open using gvim
- cursor right-click on junk18.sh
- select open
- from within gvim, type :r junk16.sh

在按下 Enter 键之前,屏幕如下所示:

在按下 Enter 键之前

结果如下:

报告导入失败

那么...为什么 gvim 的工作目录或启动目录不是Caja 中选择的文件的位置???

如果我输入:!sh 然后 pwd,它会报告我的非 root 用户 ID的${HOME} ,而不是正在查看的Caja 文件夹的当前目录!!!

ubuntu-mate
  • 1 个回答
  • 39 Views
Martin Hope
Marc Compere
Asked: 2022-02-11 15:00:39 +0800 CST

在 Ubuntu MATE 20 上显示计算机或我的电脑

  • 0

如何在 Ubuntu MATE 20.04.3 的 Caja 文件管理器中显示计算机视图?

位置是computer:///

Nautilus在其他位置下有它,但caja没有明确的方法可以通过菜单或按钮到达该位置。

卸载 USB 驱动器后,它意外出现: 在此处输入图像描述

顺便说一句,为什么这个视图中没有像系统监视器中那样显示total、available和used数量?这似乎是一个简单而有用的功能。

这些其他 帖子太旧了,不相关。

ubuntu-mate
  • 1 个回答
  • 84 Views
Martin Hope
user1589375
Asked: 2021-12-31 09:52:52 +0800 CST

丢失 Ubuntu Mate 桌面(蓝屏)

  • 2

我只是在关闭大约 24 小时后尝试启动我的 Ubuntu Mate 机器。在启动时,我收到一些弹出窗口,说有一些错误,我将详细信息发送给了开发人员。现在它只是蓝屏......我怎样才能恢复 Ubuntu Mate 桌面?

蓝色桌面

ubuntu-mate
  • 1 个回答
  • 95 Views
Martin Hope
Organic Marble
Asked: 2021-06-12 05:59:15 +0800 CST

Ubuntu MATE“紧凑菜单”的包名称是什么?

  • 2

我安装mate-desktop并mate-desktop-environment在一个库存的 Ubuntu 18.04 系统上进行测试,但我没有得到我喜欢的菜单选项来添加到面板中,即“紧凑菜单”。

如果你安装一个完整的 Ubuntu MATE 系统,你会得到这个选择。这是一个屏幕截图,显示安装了精简菜单、帮助屏幕和一些其他菜单选项。

在此处输入图像描述

这是测试系统的屏幕截图,显示紧凑菜单不是一种选择。

在此处输入图像描述

我需要安装什么软件包才能获得精简菜单?

ubuntu-mate
  • 1 个回答
  • 106 Views
Martin Hope
Smylers
Asked: 2021-05-29 00:20:30 +0800 CST

NeoVim-GTK 中的不可见光标

  • 2

使用 GTK 界面运行 NeoVim,光标/插入点是不可见的。如何获得可见光标?

在插入模式下,我输入的所有位置都没有任何指示:

插入模式下 NeoVim-GTK 窗口的屏幕截图,没有光标

在正常模式下,它几乎同样糟糕:将光标移动到可见字符上会略微改变其形式或将其横向移动一个像素或其他东西,但它真的很难看到。这是“wiggle”中的第二个“g”:

正常模式下一些文本的屏幕截图,其中“摆动”中的两个 'g' 看起来几乎相同,但间距似乎有点偏离,好像第二个稍微向第一个 'g' 轻推并远离 '我'

我正在运行 Ubuntu Mate 20.04 LTS。NeoVim 是从 0.4.4-3neovim版本的包中安装的。它的 GTK 界面安装了以下内容,并报告为 v0.2.0-76-gc036492:

$ git clone [email protected]:daa84/neovim-gtk.git
$ cd neovim-gtk
$ sudo apt install cargo
$ cargo build --release
$ sudo make install

简单地调用为nvim-gtk. 我已将我的.vimrc和.gvimrc文件和.vim目录移到其他地方,因此在我的个人配置中没有任何内容。

任何有关如何查看我输入的内容的建议都非常感谢。谢谢。

ubuntu-mate
  • 1 个回答
  • 142 Views
Martin Hope
Jags
Asked: 2021-05-27 12:10:22 +0800 CST

Ubuntu MATE 21.04:删除 Debian 密钥环 GPG 文件是否安全?

  • 3

我刚刚注意到,我的 Ubuntu MATE 21.04 安装目录中有很多 Debian 密钥环 GPG 文件/usr/share/keyrings/(已定期从以前的版本升级)。

$ ls -lsh /usr/share/keyrings/
total 32M
 12K -rw-r--r-- 1 root root 8.5K Mar 26 16:41 debian-archive-bullseye-automatic.gpg
 12K -rw-r--r-- 1 root root 8.6K Mar 26 16:41 debian-archive-bullseye-security-automatic.gpg
4.0K -rw-r--r-- 1 root root 2.4K Mar 26 16:41 debian-archive-bullseye-stable.gpg
8.0K -rw-r--r-- 1 root root 8.0K Mar 26 16:41 debian-archive-buster-automatic.gpg
8.0K -rw-r--r-- 1 root root 8.0K Mar 26 16:41 debian-archive-buster-security-automatic.gpg
4.0K -rw-r--r-- 1 root root 2.3K Mar 26 16:41 debian-archive-buster-stable.gpg
 56K -rw-r--r-- 1 root root  55K Mar 26 16:41 debian-archive-keyring.gpg
 40K -rw-r--r-- 1 root root  37K Mar 26 16:41 debian-archive-removed-keys.gpg
8.0K -rw-r--r-- 1 root root 7.3K Mar 26 16:41 debian-archive-stretch-automatic.gpg
8.0K -rw-r--r-- 1 root root 7.3K Mar 26 16:41 debian-archive-stretch-security-automatic.gpg
4.0K -rw-r--r-- 1 root root 2.3K Mar 26 16:41 debian-archive-stretch-stable.gpg
 28M -rw-r--r-- 1 root root  28M Mar 25 02:40 debian-keyring.gpg
2.6M -rw-r--r-- 1 root root 2.6M Mar 25 02:40 debian-maintainers.gpg
772K -rw-r--r-- 1 root root 771K Mar 25 02:40 debian-nonupload.gpg
 28K -rw-r--r-- 1 root root  26K Mar 25 02:40 debian-role-keys.gpg

4.0K -rw-r--r-- 1 root root 2.3K May 11 15:49 ubuntu-advantage-cis.gpg
4.0K -rw-r--r-- 1 root root 2.2K May 11 15:49 ubuntu-advantage-esm-apps.gpg
4.0K -rw-r--r-- 1 root root 2.3K May 11 15:49 ubuntu-advantage-esm-infra-trusty.gpg
4.0K -rw-r--r-- 1 root root 2.3K May 11 15:49 ubuntu-advantage-fips.gpg
8.0K -rw-r--r-- 1 root root 7.3K Sep 18  2018 ubuntu-archive-keyring.gpg
8.0K -rw-r--r-- 1 root root 6.6K Oct 27  2016 ubuntu-archive-removed-keys.gpg
4.0K -rw-r--r-- 1 root root 3.0K Mar 27 05:04 ubuntu-cloudimage-keyring.gpg
   0 -rw-r--r-- 1 root root    0 Jan 17  2018 ubuntu-cloudimage-removed-keys.gpg
4.0K -rw-r--r-- 1 root root 1.2K May 27  2010 ubuntu-master-keyring.gpg
$

当我将此与 Ubuntu MATE 21.04 的全新虚拟安装进行比较时,它只有 Ubuntu 密钥环文件。

那么,删除那些 Debian 密钥环文件是否安全?谢谢。

编辑-1:

dpkg -S /usr/share/keyrings/debian-* | awk -F: '{print $1}' | sort -u

debian-archive-keyring
debian-keyring
aptitude why debian-archive-keyring

i   packaging-dev    Recommends ubuntu-dev-tools      
i A ubuntu-dev-tools Recommends debian-archive-keyring

aptitude why debian-keyring

i   packaging-dev    Recommends ubuntu-dev-tools
i A ubuntu-dev-tools Recommends debian-keyring  
ubuntu-mate
  • 1 个回答
  • 420 Views
Martin Hope
TheGiantHogweed
Asked: 2020-11-24 03:36:59 +0800 CST

禁用底部面板上的标签预览/缩略图?- Ubuntu 20.04 伴侣

  • 4

自从升级到 20.04 后,我作为界面使用的 GNOME 版本不再支持很好,而 MATE 似乎与它最相似,所以这就是我切换到的。

不过,令人讨厌的主要事情之一是底部面板上选项卡的弹出缩略图。我知道 Windows 会这样做,但我根本不习惯它。它已经说明了它是什么,所以我真的不明白为什么你需要一张图片(它已经被标题重叠了)。

最大的问题是大约一半的时间缩略图甚至都不正确。如一张图片所示,它只是多个窗口相互重叠的锯齿形图案,非常具有误导性。有时它只是一个像素化的混乱。它还经常显示实际上是左侧或右侧选项卡的缩略图。标题是正确的,在我看来,这就是你所需要的。

有没有办法禁用缩略图?

缩略图

img_thumbnails

损坏的缩略图

img_broken_thumbnail

interface mate ubuntu-mate 20.04
  • 1 个回答
  • 1035 Views
Martin Hope
N0rbert
Asked: 2020-11-21 05:49:07 +0800 CST

是否可以在 Ubuntu 20.10 的 arm64 版本的 scilab 上安装 modelica 编译器?

  • 1

我正在使用带有 4 Gb RAM 的 Raspberry Pi 4,并安装了 Ubuntu MATE 20.10 arm64。

有趣的是 64 位 ARM 的 Scilab 包不包含 modelica 编译器。虽然 32 位软件包有它。

是否有可能获得 arm64 的 modelica 编译器?

ubuntu-mate raspberrypi arm64 scilab 20.10
  • 1 个回答
  • 228 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve