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-52175

Joshua Fox's questions

Martin Hope
Joshua Fox
Asked: 2019-07-22 22:57:49 +0800 CST

为什么 Meld 没有发现差异?

  • 1

Meld没有表现出差异。

在这个最小的示例中,目录a和目录b是不同的,如下diff所示。

$ diff a/ b/
diff a/a.txt b/a.txt
1c1
< a
---
> aa
Only in b/: b.txt

但梅尔德没有表现出任何差异。(在首选项中,没有设置文本或文件过滤器。)

如何让 Meld 显示这些差异?

融合

diff meld
  • 1 个回答
  • 1234 Views
Martin Hope
Joshua Fox
Asked: 2019-06-20 01:34:55 +0800 CST

为什么 CTRL-ALT-F1 不将我发送到终端?[复制]

  • 8
这个问题在这里已经有了答案:
在虚拟控制台和 GUI 之间切换 2 个答案
在 Ubuntu 18.04 中切换到控制台 - 如何离开 GUI? (7 个回答)
3年前关闭。

我想去一个终端,这样我就可以杀死干扰我的窗口会话的进程。(然后我会用 CTRL-ALT-F7 返回。)但是 CTRL-ALT-F1 只是锁定屏幕;没有终端。

CTRL-ALT-Fn-F1 同样不起作用。

我究竟做错了什么?如何获得CTRL-ALT-F1的效果?

(这是带有 Ubuntu 18.04 的戴尔 Inspiron 灵越 15 7000 游戏)

window-manager
  • 1 个回答
  • 20087 Views
Martin Hope
Joshua Fox
Asked: 2019-05-22 12:35:39 +0800 CST

为什么我不能取消设置 Veracrypt vfat 分区中文件的可执行位?

  • 0

df -Th在显示为的已安装 Veracrypt 文件中vfat,我的文件始终是可执行的。 $ ls -l x.txt 给出了 -rwx------ ... x.txt 如何使它不可执行?chmod -x x.txt不起作用,即使使用sudo; 也不是 withu-x等a-x g-x;也不chmod 400 x.txt

在 Nautilus 中,我也无法改变这一点。

这种行为正常吗?

(可能与此有关。)

permissions fat32 veracrypt
  • 1 个回答
  • 1104 Views
Martin Hope
Joshua Fox
Asked: 2018-12-26 00:05:56 +0800 CST

如何从 NAT 后面远程控制 Ubuntu GUI 会话?

  • 0

当然我可以使用 Remmina 之类的,就像在这个答案中一样。但是源和目标 Ubuntu 笔记本电脑都位于它们自己的路由器 (NAT) 后面。我无法配置端口转发。

也许需要某种第三方;然后双方都会连接到它。有没有这样做的服务?

networking rdp vnc nat remmina
  • 1 个回答
  • 140 Views
Martin Hope
Joshua Fox
Asked: 2018-10-05 05:20:21 +0800 CST

为什么 x-terminal-emulator 有时会在启动时退出,有时不会?

  • 1

从我的 Java 程序中,我启动了一个 x 终端。Java 等待 x-terminal 命令启动。(它是面向开发人员的 Datastore 模拟器。)

Process proc = Runtime.getRuntime().exec("/usr/bin/x-terminal-emulator -e gcloud beta emulators datastore start");
proc.waitFor();

在某些 Ubuntu 开发人员机器中,process.waitFor()一旦启动命令就会返回。(该命令继续在该终端中运行。)这是预期的行为。

在其他 Ubuntu 开发人员机器中,这些process.waitFor()块永久且永不返回。(但是终端命令已经启动,如果我们终止 Java 主进程,该终端命令会继续执行,应该如此。)

什么会导致这种行为差异?

gnome-terminal process java
  • 1 个回答
  • 217 Views
Martin Hope
Joshua Fox
Asked: 2018-07-25 04:40:51 +0800 CST

为什么我的触摸板右键在 Ubuntu 18.04 中表现为左键?

  • 0

最近,触摸板右键停止工作,而是开始表现为左键。例如,当我选择文本并右键单击时,文本会被取消选择,而不是预期的上下文菜单。

我的鼠标右键按预期工作。

这是带有 Ubuntu 18.04 LTS 的戴尔 Inspiron 灵越 7577。

我该如何解决这个问题?

mouse touchpad
  • 3 个回答
  • 2627 Views
Martin Hope
Joshua Fox
Asked: 2018-05-09 23:55:42 +0800 CST

为什么我的主目录中的所有文件和目录都出现在 Desktop 中?

  • 1

~突然,我开始在我的桌面上看到每个文件和目录的图标。

图标什么都不做——它们不能打开这些项目。

如果我重命名这些奇怪的桌面图标之一,则其中的项目~也会被重命名。同样,如果我删除图标。

此外,ls桌面目录上的 Nautulus 或正确显示一个空列表。

我该如何解决这个问题?

(Ubuntu 17.10)

请注意,我~/Desktop实际上是一个链接/data/Desktop

但是,直到两天前,这一切都很好,我不相信这是原因。

~$  cat ~/.config/user-dirs.dirs
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"
nautilus .desktop
  • 1 个回答
  • 183 Views
Martin Hope
Joshua Fox
Asked: 2018-02-13 05:38:19 +0800 CST

如何判断一个进程是什么 Java 应用程序?

  • 1

我在我的 Ubuntu 17.04 中运行 Eclipse。ps -A |grep java显示了几个过程。我怎么知道哪个是 Eclipse?

java ps
  • 1 个回答
  • 2259 Views
Martin Hope
Joshua Fox
Asked: 2016-04-02 00:09:17 +0800 CST

一个用户帐户上的音频几乎没有声音,但另一个用户帐户上的音频正常

  • 2

在某些用户帐户中,音频是可以的。在其他情况下,它会静音,或者如果您将耳朵贴在笔记本电脑外壳上,则几乎听不见。

这是 OK 帐户中音量控制的样子。

状况良好

在不正常的帐户中。

在不正常的情况下

诊断:

  1. OK 和 not-OK 条件都出现在 Adminstrator 帐户中。此外,“来宾”帐户实际上具有正常的音频。
  2. 摆弄设置 PulseAudio 或 AlsaMixer 并不能解决问题。
  3. lspci 在两种情况下输出相同。下面附上。

使用 Xubuntu 14.04。如果我在登录时选择 Xfce 还是 Xubuntu,就会发生这种情况。

lspci

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)
04:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
sound
  • 1 个回答
  • 578 Views
Martin Hope
Joshua Fox
Asked: 2015-10-30 02:42:40 +0800 CST

自升级到 Vivid Vervet 后,Calibre 无法加载 ImageMagick

  • 1

我刚刚升级到 Ubuntu 15.04,现在 Calibre 无法运行。

File "/usr/lib/calibre/calibre/utils/magick/__init__.py", line 15, in
<module>   raise RuntimeError('Failed to load ImageMagick: '+_merr)*
RuntimeError: Failed to load ImageMagick: libIlmImf.so.6: cannot open
shared object file: No such file or directory

我试过卸载/重新安装 Calibre 和 ImageMagick。

这是我的 ImageMagick:

dpkg -l 'imagemagick*'

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  imagemagick    6.9.2-5      amd64        Use ImageMagick to convert, edit,
un  imagemagick-6. <none>       <none>       (no description available)
ii  imagemagick-6. 8:6.8.9.9-5u amd64        image manipulation programs -- qu
ii  imagemagick-co 8:6.8.9.9-5u all          image manipulation programs -- in
un  imagemagick-do <none>       <none>       (no description available)

这是我的口径:

dpkg -l 'calibre*'

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  calibre        2.33.0+dfsg- all          e-book converter and library mana
ii  calibre-bin    2.33.0+dfsg- amd64        e-book converter and library mana

我有一些自己的调用 ImageMagick 的 Python 代码,自从升级后我得到了同样的错误:

error while loading shared libraries: libIlmImf.so.6: cannot open
shared object file: No such file or directory

我该如何解决?

shared-library
  • 1 个回答
  • 701 Views
Martin Hope
Joshua Fox
Asked: 2015-06-20 04:43:43 +0800 CST

为什么视频播放器没有声音?

  • 16

我使用 Chrome(例如 YouTube)或使用 Rhythmbox 播放 MP3 时声音很好。

但是,VLC、Xine 和默认的 Ubuntu“视频”没有声音,无论是 MP4、FLV 还是 MP3。我该如何解决?

Ubuntu 14.10 联想 M30-70

sound
  • 15 个回答
  • 31694 Views
Martin Hope
Joshua Fox
Asked: 2015-05-27 01:39:21 +0800 CST

Bluetooth Atheros 0cf3:3004 在 Ubuntu 14.10 中不工作

  • 1

在蓝牙 GUI 中,我可以选择“开”,但蓝牙仍处于禁用状态。我无法选择“打开”可见性。我的电脑没有通过蓝牙连接到其他设备。如何打开蓝牙? 在此处输入图像描述

$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 006: ID 0cf3:3004 Atheros Communications, Inc. 
Bus 002 Device 005: ID 04f2:b420 Chicony Electronics Co., Ltd 
Bus 002 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 058: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 002 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

还

$ rfkill list all
1: ideapad_bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no

$ uname -r
3.16.0-31-generic
$ dmesg | grep Blue
<no output>

Ubuntu 14.10

bluetooth
  • 1 个回答
  • 386 Views
Martin Hope
Joshua Fox
Asked: 2015-04-17 05:35:48 +0800 CST

为 PyCharm 创建一个 Unity 启动器图标 [重复]

  • 2
这个问题在这里已经有了答案:
如何设置 PyCharm 从 Launcher 启动? (5 个答案)
6 年前关闭。

我可以PyCharm从/opt. 我得到一个灰色问号图标(见附件)而不是橙色/绿色PyCharm图标(见附件)。请注意,正确的图标位于PyCharm开箱即用的目录中。

我可以将这个灰色图标锁定到 Launcher,但是这个图标无法启动PyCharm。

我怎样才能让启动器按钮启动PyCharm?

(Ubuntu 14.10)

启动器上的图标 PyCharm 图标

unity
  • 2 个回答
  • 9481 Views
Martin Hope
Joshua Fox
Asked: 2014-12-31 05:03:46 +0800 CST

如何显示可用的 Wi-Fi 网络列表?

  • 135

我的 Ubuntu 笔记本电脑的 Wi-Fi 在各种 Wi-Fi 网络上都能正常工作。但是从nm-applet的工具栏图标访问的可用网络列表不再出现。我只看到已知的网络。隐藏网络列表也不显示任何新网络。

sudo iwlist scan同样只显示已知网络。

如何获得所有可用网络的列表以便我可以连接到一个网络?

我正在使用 Xubuntu 14.04。

wireless
  • 4 个回答
  • 368141 Views
Martin Hope
Joshua Fox
Asked: 2014-10-15 10:43:31 +0800 CST

诊断 Samba

  • 3

我已经使用system-config-samba在局域网中的三台 Ubuntu 计算机上设置了网络共享。有一段时间我们能够浏览彼此的网络共享目录,但现在无法正常工作。

我该如何着手诊断问题?最好有一个易于使用的 GUI。

在 Thunar 中导航并单击其中一台计算机显示“无法从服务器检索共享列表:连接被拒绝。”

(在下面回答。)

这是其中一台机器的smbtree输出,表明它识别了另外两台机器。

WORKGROUP
    \\APOLLO        apollo server (Samba, Ubuntu)
    \\ATHENA                athena server (Samba, Ubuntu)
        \\ATHENA\Canon-MP280-series Canon MP280 series
        \\ATHENA\iP1800-series      Canon iP1800 series
        \\ATHENA\print$             Printer Drivers
        \\ATHENA\Shared             
        \\ATHENA\IPC$               IPC Service (athena server (Samba, Ubuntu))

/etc/samba/smb.conf

[global]
    workgroup = WORKGROUP
    server string = %h server (Samba, Ubuntu)
    dns proxy = no
    ...

(答案:我需要在/etc/samba/smb.conf中的 Workgroup 行之后添加 name resolve order = bcast host )

networking
  • 2 个回答
  • 6896 Views
Martin Hope
Joshua Fox
Asked: 2014-08-19 08:06:40 +0800 CST

我的 IDE 总是立即崩溃:我该如何诊断?

  • 0

我正在使用基于 Java 的 IDE Aptana。从今天开始,它每隔几分钟就会突然崩溃。

这可能与我最近升级到 Xubuntu 14.04 有关。

没有错误信息。它会立即消失。鉴于没有错误消息,我该如何诊断?

java
  • 1 个回答
  • 98 Views
Martin Hope
Joshua Fox
Asked: 2014-07-07 12:36:23 +0800 CST

从 tty 中恢复 [重复]

  • 0
这个问题在这里已经有了答案:
“Ctrl + Alt + F12”有什么作用? (7 个答案)
8 年前关闭。

使用 XUbuntu 13.10。

某些组合键——可能是 CTRL-ALT-ESC 或类似的东西——一直让我进入全屏 tty。发生这种情况时,我该如何返回 Xubuntu?我可以使用我的用户名和密码登录到 tty,但我不知道如何返回到我的图形会话。

xubuntu
  • 1 个回答
  • 1054 Views
Martin Hope
Joshua Fox
Asked: 2014-06-01 22:11:02 +0800 CST

如何阻止 Gimp 在启动时自动启动?

  • 3

每次我登录 Xubuntu (v. 13.10) 时,Gimp 都会启动。

Gimp 未显示在“设置管理器”->“会话和启动”下。

它不会出现在 ~/.config/autostart 中。

在这些情况下,我会立即关闭 Gimp,因此当我关闭会话时它不会运行。

如何阻止 Gimp 在启动时自动启动?


诊断信息:

注意

cd /
find . -name gimp.desktop 

只生产

./usr/share/applications/gimp.desktop

没有别的

这是 grep -lIr 'gimp' ~/ > ~/Gimp-search-results.txt的输出

sbin/vgimportclone
home/joshua/.gimp-2.8/controllerrc
home/joshua/.gimp-2.8/tags.xml

.....[为简洁起见编辑]

home/joshua/.cache/oneconf/861c4e30b916e750f16fab5652ed5937/package_list_861c4e30b916e750f16fab5652ed5937
    home/joshua/.cache/sessions/xfwm4-23e853443-fb4b-42fd-aa61-33fa99fdc12c.state
    home/joshua/.cache/sessions/xfce4-session-athena:0
    home/joshua/.config/abiword/profile
boot
  • 2 个回答
  • 1644 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