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 / 问题

问题[configuration](ubuntu)

Martin Hope
Matthew Nichols
Asked: 2024-12-23 05:20:01 +0800 CST

我可以永久回答捕获输入对话框吗

  • 6

Synergy 现在至少在实验中支持 Wayland。我正在运行 Ubuntu 24.10,使用默认的 Gnome 桌面环境和 Wayland。我安装了 Synergy 3.2.1,一切都运行良好,自动发现和一切。唯一的小烦恼是,要求获得捕获输入权限的对话框(如下图所示)经常会一次又一次地弹出......有没有办法配置系统以永久允许 Synergy 获得此权限?

Synergy 连接的另一台机器运行的是 Kubuntu 24.10,KDE 中的等效对话框有一个“记住此”复选框,并且该对话框不会一直弹出。这是我在 Ubuntu 下寻找的东西,但如果涉及配置文件,那就完全没问题。

捕获输入对话框

configuration
  • 1 个回答
  • 44 Views
Martin Hope
user1939843
Asked: 2024-09-20 01:41:11 +0800 CST

Ubuntu 新手,需要以非 root 用户身份运行 BIND

  • 6

我最近使用了 Centos,并在其中运行了 BIND。在 Centos 中,我通过在 /etc/sysconfig/named 文件中添加选项来确保不以 root 身份运行 BIND 用户,这非常简单。

避免在 Ubuntu 上以 root 身份运行 BIND 用户的最佳方法是什么?

configuration
  • 1 个回答
  • 17 Views
Martin Hope
Akintola Oluwaseyi Alex
Asked: 2023-12-05 12:42:54 +0800 CST

apt-get 命令中的“-y”标志[重复]

  • 5
这个问题在这里已经有了答案:
添加存储库时可以在终端中添加自动输入命令吗? (3 个回答)
昨天关门了。

apt-get使用该标志运行-y有助于运行命令而无需等待用户输入。当尝试运行自动化脚本时,这非常有用。

但是add-apt-repository ppa:vbernat/haproxy-2.8需要用户按Enter,而不是通常的(yes/no/fingerprint)

是否-y也有助于跳过用户输入add-apt-repository ppa:vbernat/haproxy-2.8?

configuration
  • 1 个回答
  • 100 Views
Martin Hope
Neeharika
Asked: 2023-09-09 14:52:05 +0800 CST

Xournal++ 上的深色模式

  • 6

最近我在 Ubuntu 中安装了 Xournal++。我发现这个链接是一个很酷的北欧主题。我尝试将其安装到我的 Xournal++ 应用程序中,但我对 Linux 和 GitHub 都是新手,所以我对该怎么做一无所知。不过,我确实安装了 Git 应用程序sudo apt install git,但我不知道此后该做什么。

编辑:
一直以来我都认为包括工具栏在内的整个界面都会随着主题变黑。但后来才发现,上面的主题只是改变了墨水颜色,并没有改变界面。然后我将设置中的外观从浅色模式更改为深色模式。现在界面处于深色模式。感谢所有提供帮助的人

configuration
  • 1 个回答
  • 45 Views
Martin Hope
O_Ofsk24
Asked: 2023-07-08 19:36:40 +0800 CST

从“/etc/logrotate.conf”和“/etc/logrotate.d/*conf”文件读取时,Logrotation 有不同的行为

  • 6

我们只需要在 Ubuntu 20.04 服务器中保留每个服务的一个日志文件。我已将该/etc/logrotate.conf文件修改如下:

weekly
su root adm
rotate 0
create
ifempty
include /etc/logrotate.d

对于特定的服务,例如misc,它生成vmware-network.log日志文件,我有一个配置文件,其中/etc/logrotate.d/misc如下所示:

/var/log/vmware-network.*.log {
  su root root
  rotate 0
  daily
  missingok
  ifempty
}

现在,当我使用 测试我的 logrotation 时logrotate -fv /etc/logrotate.conf,它不会删除任何vmware-network.*.log文件,只是使它们的大小为零。但是,当我使用 时logrotate -fv /etc/logrotate.d/misc,它只保留一个vmware-network.log文件并删除其他编号的日志文件。

logrotate没有完成我想要的工作,因为它正在从默认配置文件中读取/etc/logrotate.conf。我想知道是什么造成了这两个配置文件之间的差异以及如何解决它。

附:

  1. 所有其他配置文件都/etc/logrotate.d/具有相同的行为。当被迫读取日志文件时,它们将保留一个日志文件。我只是misc在这里提到,因为它有很多vmware-network.log文件,我可以很容易地看到它所带来的差异。

  2. 上述日志文件的权限和用户/组/var/log是:

    -rw-------  1 root   root   vmware-network.log  
    drwxrwxr-x 15 root syslog   /var/log/
    
  3. 我尝试了不同配置的不同方法,但都不起作用。我还将misclogrotation 配置添加到logrotate.conf并执行它,但输出仍然相同。

  4. 我遇到的一个常见错误是:

    error: skipping "/var/log/vmware-network.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
    

    我su为不同的配置文件设置了不同的指令,su root adm例如/etc/logrotate.d/rsyslog. 尽管它没有向我发送错误,但仍然没有完成工作。

任何帮助,将不胜感激。

configuration
  • 1 个回答
  • 27 Views
Martin Hope
Nonok cantik
Asked: 2023-07-05 21:09:41 +0800 CST

单击关闭按钮后,tmux 会话必须正确退出

  • 7

tmux 会话如何正确退出,即通过单击终端窗口的关闭按钮完全退出/退出,因为它会使 tmux 会话保留在其操作系统 pid 上

configuration
  • 1 个回答
  • 70 Views
Martin Hope
Filbuntu
Asked: 2022-02-01 08:11:08 +0800 CST

Rhythmbox:如何删除或禁用在线资源“Radio France”和“Jamendo”?

  • 0

有没有办法删除或禁用 Rhythmbox 中的在线资源“Radio France”和“Jamendo”?
Jamendo 插件似乎不再存在。

configuration
  • 1 个回答
  • 245 Views
Martin Hope
s07_190030259
Asked: 2021-09-15 22:32:04 +0800 CST

如何在 ubuntu 上安装 Eclipse EE?

  • 0

我试图在通过 ubuntu 商店下载的常规 eclipse 之上安装 eclipse EE - 安装后 eclipse 不会打开。
尝试通过.deb安装eclipse ee,"An error has occurred. See the log file /home/v/Downloads/eclipse/configuration/1631686693143.log."产生错误,我尝试从工作区中删除.metadata,没有用。
ubuntu 20.04 用户不使用 Eclipse EE 吗?

步骤和错误的顺序

  • 打开从网上下载的eclipse ee
  • 错误:发生错误。
    查看日志文件 /home/v/Downloads/eclipse/configuration/1631688631777.log。
  • 1631688631777.log:
!SESSION 2021-09-15 12:20:31.324 -----------------------------------------------
eclipse.buildId=I20100608-0911
java.version=11.0.11
java.vendor=Ubuntu
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IN
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2021-09-15 12:20:32.488
!MESSAGE 
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503 [1]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.osgi 4 0 2021-09-15 12:20:32.503
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar/ was not resolved.

!ENTRY org.eclipse.osgi 2 0 2021-09-15 12:20:32.528
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2021-09-15 12:20:32.529
!MESSAGE Bundle org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503 [1] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2021-09-15 12:20:32.529
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4

!ENTRY org.eclipse.osgi 4 0 2021-09-15 12:20:32.532
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
configuration
  • 3 个回答
  • 806 Views
Martin Hope
Oren
Asked: 2021-08-29 06:57:46 +0800 CST

使用 Ubuntu 映像刷新新 PC 后是否可以提供 IP 地址

  • 0

我想知道是否可以在使用 Ubuntu 映像刷新新 PC 后提供 IP 地址?我正在为我的 K3S 集群刷 3 个树莓派,我想知道在我从笔记本电脑刷 SDCard 后是否可以为树莓派设置静态 IP 地址?

configuration
  • 1 个回答
  • 237 Views
Martin Hope
Nate T
Asked: 2021-06-13 18:09:12 +0800 CST

我该如何处理 Vim Bootstrap 输出文件?

  • 0

使用:Ubuntu 20.04 LTS;Neovim(不记得初始安装方法,虽然它是通过nvim命令激活的)

最近有人向我介绍了这个用于创建 Vim 和 Neovim 配置文件的 Web 应用程序。根据我能找到的任何资源,它应该根据您选择的选项生成一个 .vimrc 文件。我运行了应用程序,但输出的是一个名为 generate.vim 的文件。

为了获得 Neovim (init.vim?) 的配置文件,我该如何处理这个文件?

如果你不能告诉我是 Vim 的新手。这个应用程序旨在限制像我这样的菜鸟的配置等干扰,但看起来我的“菜鸟”水平对他们来说有点太多了......

configuration
  • 1 个回答
  • 198 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