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
    • 最新
    • 标签
主页 / user-186134

Tim's questions

Martin Hope
Tim
Asked: 2023-12-28 22:20:50 +0800 CST

如何强制我的 Ubuntu 服务器使用正确的以太网端口(接口)

  • 6
赏金将在 5 天后到期。此问题的答案有资格获得+50声誉奖励。 蒂姆想要奖励现有的答案。

我有一个运行 Ubuntu 22.04.3 LTS 的 Ubuntu 服务器。

它有两个以太网端口,enp3s0并且enxf8e43b557271.

enxf8e43b557271速度要快得多,所以我想默认使用它,但是,如果它由于某种原因而下降,我想回退到enp3s0.

我知道做到这一点的方法是使用路由度量。

我有一个 netplan 配置文件/etc/netplan/00-installer-config.yaml:

# This is the network config written by 'subiquity'
network:
  ethernets:
    enp3s0:
      addresses:
      - 192.168.0.142/24
      nameservers:
        addresses: [1.1.1.1]
      routes:
      - to: default
        via: 192.168.0.1
        metric: 200
    enxf8e43b557271:
      addresses:
      - 192.168.0.4/24
      nameservers:
        addresses: [8.8.8.8]
      routes:
      - to: default
        via: 192.168.0.1
        metric: 0
  version: 2

我设置了enp3s0一个更高的指标,所以我希望它的优先级较低。

然而,当我运行时,route -n它似乎不起作用:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 enxf8e43b557271
10.40.27.0      0.0.0.0         255.255.255.0   U     0      0        0 wg0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 enp3s0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 enxf8e43b557271

并且enp3s0仍然具有度量为 0 的默认路由。

当我下载一个大的测试文件时,我发现它使用较慢的连接(通过在我的交换机上进行监控):

该图显示用于下载的 100MBit 连接,而不是千兆连接

如果我物理拔掉enp3s0以太网电缆,它将回退并使用enxf8e43b557271- 我只是希望回退是相反的!

我尝试将配置分成两部分:

ls -l /etc/netplan/
-rw------- 1 root root 491 Dec 28 14:46 00-installer-config.yaml
-rw------- 1 root root 208 Dec 28 14:47 99-enxf8e43b557271-config.yaml
00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
  ethernets:
    enp3s0:
      addresses:
      - 192.168.0.142/24
      nameservers:
        addresses: [1.1.1.1]
      routes:
      - to: default
        via: 192.168.0.1
        metric: 200
  version: 2
99-enxf8e43b557271-config.yaml
network:
  ethernets:
    enxf8e43b557271:
      addresses:
      - 192.168.0.4/24
      nameservers:
        addresses: [8.8.8.8]
      routes:
      - to: default
        via: 192.168.0.1
        metric: 0
networking
  • 1 个回答
  • 72 Views
Martin Hope
Tim
Asked: 2017-05-25 14:36:34 +0800 CST

我可以根据标题更改终端选项卡的颜色吗?

  • 4

我不小心在错误的计算机上运行了一个命令,因为我没有注意到我被 SSH 连接到我的 Pi:

幸好没有出错,但如果我可以根据终端的标题(在本例中为pi@Kite或tim@Hairy17)更改终端的颜色(例如背景或选项卡颜色),我会很高兴。

我在想这样的事情:

command-line
  • 1 个回答
  • 2428 Views
Martin Hope
Tim
Asked: 2017-05-24 13:38:08 +0800 CST

我在哪里可以找到 Inkscape:关于页面的作品?

  • 0

单击帮助 -> 关于 -> 关于 Inkscape 我看到了这张图片:

我在哪里可以找到这个的矢量版本?

inkscape
  • 2 个回答
  • 30 Views
Martin Hope
Tim
Asked: 2017-02-13 10:41:35 +0800 CST

super和方向键已经开始切换tty

  • 21

我通常使用Super箭头键将窗口捕捉到屏幕的一半或另一侧。

tty大约 5 分钟前,它开始在控制台之间切换。我认为这是打算在使用Alt+ ArrowKey 时发生的,而Alt+ Arrowkey 确实具有这种行为。

在这种情况下,我怎样才能阻止我Super的钥匙像Alt钥匙一样?

keyboard
  • 3 个回答
  • 3570 Views
Martin Hope
Tim
Asked: 2016-06-10 12:06:13 +0800 CST

如何对文件中的行数求和

  • 55

我有一个看起来像这样的文件:

1
3
4
1
4
3
1
2

我怎样才能找到这个总数(即1+3+4+1+4+3+1+2 = 19)?

bash
  • 7 个回答
  • 113756 Views
Martin Hope
Tim
Asked: 2016-05-02 05:26:20 +0800 CST

如何从两个独立的 GPU 运行两个屏幕?

  • 2

我有两个 nVidia GTS 450 GPU,每个都有一个 DVI、一个 HDMI 和一个 VGA 端口。我想要两个屏幕,都从 DVI 端口运行。

我已经设置了我的xorg.conf文件,/etc/X11/xorg.conf但它不起作用。

xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 361.42  (buildd@lgw01-18)  Tue Apr  5 14:33:28 UTC 2016

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer S220HQL"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTS 450"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "GPU-661ea8ef-0beb-0b79-5958-62e5a84fb2f5.DVI-I-1: nvidia-auto-select +0+0, GPU-93c7ee63-95cd-dd42-a64e-d669451a0150.DVI-I-1: nvidia-auto-select +1920+0"
    Option         "MultiGPU" "Off"
    Option         "SLI" "off"
    Option         "BaseMosaic" "on"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

看起来 nVidia 忽略了我的 xorg 文件 - 当我打开 X 服务器设置程序时,我看到以下内容:

基础马赛克自动关闭,第二个屏幕被禁用。

我正在运行 Ubuntu GNOME 16.04 并安装了 nVidia 驱动程序,版本为361-updates.

如何让 nVidia 识别我的xorg.conf文件,并在两张卡上拥有两个屏幕?

nvidia
  • 1 个回答
  • 982 Views
Martin Hope
Tim
Asked: 2016-04-24 14:30:29 +0800 CST

我无法使用软件中心安装 deb 文件。什么是直接的解决方法?[复制]

  • 3
这个问题在这里已经有了答案:
Ubuntu 16.04 上 .deb 包的问题 8 个答案
6年前关闭。

我需要安装 .deb 文件 - 我刚刚更新,我需要我的程序。但是,由于高优先级(尚未分配)错误,我不能。

抛开带有错误的发布的元讨论,我该如何安装我的.deb文件?

software-installation
  • 1 个回答
  • 408 Views
Martin Hope
Tim
Asked: 2016-04-24 12:13:40 +0800 CST

由于 Internet 故障,我无法使用 GUI 更新程序更新我的计算机

  • 1

我打开 GUI 更新管理器进行更新。但它给了这个窗口:

所以我再次点击尝试,它做了同样的事情。然后我点击设置...看看我是否破坏了某些东西。

我看不出问题。我确实注意到一些源代码正在下载。我不想要它。所以我取消了源代码,然后单击关闭。它给出了这个窗口:

所以我重新加载了它,它给出了这个错误:

详情下是这个贴。

请注意,我确实有互联网连接。我可以安装:

tim@Hairy16:~$ apt install traceroute
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Get:1 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 traceroute amd64 1:2.0.21-1 [45.5 kB]
Fetched 45.5 kB in 0s (280 kB/s)    
Selecting previously unselected package traceroute.
(Reading database ... 158453 files and directories currently installed.)
Preparing to unpack .../traceroute_1%3a2.0.21-1_amd64.deb ...
Unpacking traceroute (1:2.0.21-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up traceroute (1:2.0.21-1) ...

跟踪路由谷歌:

tim@Hairy16:~$ traceroute google.com
traceroute to google.com (216.58.198.110), 30 hops max, 60 byte packets
 1  dsldevice.lan (192.168.1.254)  11.259 ms  11.259 ms  11.304 ms
 2  lo0-central10.pcl-ag05.plus.net (195.166.128.186)  29.279 ms  29.496 ms  30.662 ms
 3  link-a-central10.pcl-gw01.plus.net (212.159.2.176)  30.736 ms  30.807 ms  30.874 ms
 4  xe-1-2-0.pcl-cr01.plus.net (212.159.0.208)  34.146 ms  34.217 ms  34.886 ms
 5  ae2.pcl-cr02.plus.net (195.166.129.7)  36.757 ms ae1.ptw-cr01.plus.net (195.166.129.0)  35.837 ms ae2.pcl-cr02.plus.net (195.166.129.7)  36.820 ms
 6  72.14.222.97 (72.14.222.97)  36.585 ms  16.235 ms ae1.ptw-cr02.plus.net (195.166.129.2)  17.139 ms
 7  72.14.223.32 (72.14.223.32)  17.047 ms  30.030 ms  24.532 ms
 8  64.233.174.113 (64.233.174.113)  24.435 ms 64.233.175.155 (64.233.175.155)  26.854 ms 64.233.174.83 (64.233.174.83)  26.929 ms
 9  64.233.175.155 (64.233.175.155)  26.271 ms  27.269 ms lhr25s07-in-f14.1e100.net (216.58.198.110)  26.737 ms

并 ping 谷歌:

tim@Hairy16:~$ ping google.com
PING google.com (216.58.208.142) 56(84) bytes of data.
64 bytes from lhr25s08-in-f14.1e100.net (216.58.208.142): icmp_seq=1 ttl=55 time=12.5 ms
64 bytes from lhr25s08-in-f14.1e100.net (216.58.208.142): icmp_seq=2 ttl=55 time=12.4 ms
64 bytes from lhr25s08-in-f14.1e100.net (216.58.208.142): icmp_seq=3 ttl=55 time=87.8 ms
64 bytes from lhr25s08-in-f14.1e100.net (216.58.208.142): icmp_seq=4 ttl=55 time=12.6 ms
64 bytes from lhr25s08-in-f14.1e100.net (216.58.208.142): icmp_seq=5 ttl=55 time=118 ms
64 bytes from lhr25s08-in-f14.1e100.net (216.58.208.142): icmp_seq=6 ttl=55 time=12.2 ms
--- google.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 12.291/42.734/118.675/43.701 ms

如何通过 GUI 更新?

networking
  • 1 个回答
  • 50 Views
Martin Hope
Tim
Asked: 2016-04-23 14:20:11 +0800 CST

如何修复 apt 错误“W:Target Packages ... 已配置多次”?

  • 265

我刚刚安装了 Ubuntu Gnome 16.04。我告诉它保存我的文件 - 这很有效。有些软件必须重新安装。现在,当我运行时,sudo apt-get update我看到了:

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (restricted/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (multiverse/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: The repository 'http://extras.ubuntu.com/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1)
W: http://repo.sinew.in/dists/stable/InRelease: Signature by key B6DA722E2E65721AF54B93966F7565879798C2FC uses weak digest algorithm (SHA1)
E: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/xenial/main/source/Sources  404  Not Found [IP: 91.189.92.152 80]
E: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found [IP: 91.189.92.152 80]
E: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/xenial/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.152 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (restricted/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (multiverse/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87

有没有一种自动化的方法来解决这个问题?

apt
  • 8 个回答
  • 331038 Views
Martin Hope
Tim
Asked: 2016-04-12 09:49:30 +0800 CST

Dropbox 是否同步硬链接?

  • 4

我有一个大文件文件夹。我希望该文件夹同时位于两个不同的位置 - 我的家庭文档和我的大学文档文件夹。

我已经使用 College 文件夹中指向 Home 文件夹的符号链接来完成此操作。

不幸的是,Dropbox 同步了我的 College 文件夹——我的文件空间很快就用完了。

Dropbox 是否遵循硬链接,如果是,我如何创建一个?

dropbox
  • 2 个回答
  • 5642 Views
Martin Hope
Tim
Asked: 2016-04-03 14:24:19 +0800 CST

Gnome 终端窗口卡在顶部,但实际上并不存在

  • 0

在我的其他窗口顶部有一个终端浮动:

如果我截取窗口屏幕截图,它不会显示。

我不能Alt+ 拖动 - 拖动下面的窗口。我不能Alt+ Tab- 终端没有打开:

我能做些什么?

gnome
  • 1 个回答
  • 598 Views
Martin Hope
Tim
Asked: 2016-02-29 09:53:53 +0800 CST

如何运行命令?

  • 23

我是一个新用户,刚刚被告知运行/执行命令。答案有一些带有灰色背景的文本,例如this text here或

sometimes this text here.

但是,我不知道与 Ubuntu 相关的“运行”或“命令”是什么意思。

我该怎么做呢?


这旨在用作当您告诉某人运行命令时可以链接到的问答。

command-line
  • 3 个回答
  • 34508 Views
Martin Hope
Tim
Asked: 2016-02-29 03:50:36 +0800 CST

如何查看正在使用互联网的应用程序?

  • 3

我在星期五设法下载/上传了 22GB 的数据,其中 14.76GB 是“非高峰”——在午夜到早上 8 点之间。

那段时间我不使用电脑,所以我想知道这个数量是多少。

如何监控哪个应用程序正在使用如此多的互联网?

software-recommendation
  • 2 个回答
  • 355 Views
Martin Hope
Tim
Asked: 2016-02-26 11:00:51 +0800 CST

如何找到以 . 开头的文件夹?[复制]

  • 0
这个问题在这里已经有了答案:
如何在 Ubuntu 的文件管理器(Nautilus)中显示隐藏文件夹? (6 个回答)
6年前关闭。

我刚刚阅读了有关更改 Spotify 偏好的答案,但我不明白;我在哪里可以找到~/.config/spotify/Users/[Spotify user name]-user/prefs可以编辑的文件?我必须使用终端吗?

如果可能的话,你能逐步解释如何找到~/.config/spotify/Users/[Spotify user name]/prefs吗?

编辑

我使用谷歌浏览器找到了它:

file:///home/tim/.config/spotify/Users/tim/prefs

但我无法编辑它。如何编辑以 开头的文件夹中的文件.?我需要成为root用户吗?

command-line
  • 1 个回答
  • 125 Views
Martin Hope
Tim
Asked: 2016-02-18 09:30:21 +0800 CST

la 命令是什么?

  • 4

我只是打错ls了la。不知不觉,我跑了:

tim@Hairy:~$ la
detection.sh   output-2.jpg  output-4.jpg  output-6.jpg  output-8.jpg Test1.pdf
output-1.jpg   output-3.jpg  output-5.jpg  output-7.jpg  output-9.jpg     
tim@Hairy:~$ ls
detection.sh   output-2.jpg  output-4.jpg  output-6.jpg  output-8.jpg Test1.pdf
output-1.jpg   output-3.jpg  output-5.jpg  output-7.jpg  output-9.jpg 

ls和有什么区别la?

command-line
  • 2 个回答
  • 11730 Views
Martin Hope
Tim
Asked: 2016-02-18 08:21:59 +0800 CST

如何将单元格中的所有文本强制到 Libre Office / Open Office 的下一页?

  • 0

当我在 Libre Office 中制作表格时,单元格中的文本对于页面来说太长,它会将文本拆分为多个页面:

如何使任何文本过多的行将所有文本放在一页上?

如果我在文本之前放了很多返回,它会将它向下推,但我必须对每个单元格都这样做:

我还可以插入一个空行并放入足够的返回值以将其向下推:

如果我更改其上方的某些文本,这两种解决方案都存在无法正常工作的问题。如果我删除(或添加)一两行,它的行数错误:

我正在寻找一种表格范围的设置,该设置强制一个单元格中的文本保持在同一页面上。

libreoffice
  • 1 个回答
  • 1227 Views
Martin Hope
Tim
Asked: 2016-01-31 12:19:23 +0800 CST

对当前 Ubuntu 桌面用户数量的最准确估计是多少?

  • 0

跟踪 Ubuntu 桌面用户非常困难。Ubuntu 不必像 Windows 或 OS X 那样获得许可。它可以通过任何方式自由共享——通过互联网、DVD 或 CD;它是。

您可以使用获得更新的计算机数量,但 Canonical 可能根本不跟踪它(除了他们自己的下载指标)。

我对 Ubuntu 用户的最准确估计感兴趣,截至 2016 年初 / 2015 年底。如果您有估计,并解释该估计,请发布!

canonical
  • 1 个回答
  • 109 Views
Martin Hope
Tim
Asked: 2016-01-24 17:21:14 +0800 CST

如何使用 PhoneGap 修复“找不到模块 'bplist-parser'”错误?

  • 7

我已经安装了所有东西——node.js,然后用来npm获取 PhoneGap。

但是当我启动 PhoneGap 时出现此错误:

phonegap
module.js:340
    throw err;
          ^
Error: Cannot find module 'bplist-parser'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:20:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
phone
  • 1 个回答
  • 7666 Views
Martin Hope
Tim
Asked: 2016-01-18 07:20:46 +0800 CST

默认安装哪些可以删除?

  • 2

我正在使用空间限制非常严格的计算机 - 小于 1000MB。由于各种原因,我有安装它所需的 2GB,但我现在需要尽可能地缩小它。

出于这个原因,我列出了所有按 size 排序的包,但我不确定我可以安全地删除哪些包。

有什么可以去的吗?

disk-usage
  • 2 个回答
  • 89 Views
Martin Hope
Tim
Asked: 2016-01-18 05:57:32 +0800 CST

我可以用 apt 删除 apt 吗?

  • 46

我知道我可以apt-get remove <package>用来删除一个程序。

而是apt一个程序本身。我可以用apt-get remove apt它来删除它,还是它会在中途混淆?

apt
  • 6 个回答
  • 13451 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