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

Merlijn Sebrechts's questions

Martin Hope
Merlijn Sebrechts
Asked: 2024-09-24 17:40:42 +0800 CST

在 Ubuntu 24.04 中关闭耳机模式

  • 9

从 Ubuntu 24.04 开始,我找不到关闭 Bose 耳机的耳机模式的方法。

在较旧的 Ubuntu 版本中,在“设置”中,我可以选择将耳机用作 A2DP 或耳机模式。但是,在 Ubuntu 24.04 中我不再有此选项。我只得到一个“免提”选项,如果我选择该选项,我只能在耳机模式编解码器之间切换。

在此处输入图片描述

(home这是我的耳机的名字)

sound
  • 1 个回答
  • 57 Views
Martin Hope
Merlijn Sebrechts
Asked: 2016-08-05 03:28:55 +0800 CST

如何指定 Juju 应该使用什么 MAAS 接口

  • 1

我有一个 MAAS 集群,其中的机器与两个网络相连。一个用于 PXE 引导的“控制”网络和一个用于通信的“数据”网络。我的 Juju 客户端只能访问“数据”网络。这两个网络都完全由 MAAS(DHCP 和 DNS)管理。

当我引导时,Juju 客户端尝试使用其控制网络 IP 连接到机器,从而引发connection timed out错误。如何告诉 Juju 使用“数据”网络 ip?

[juju 1.25..,MAAS 1.9..]

networking
  • 1 个回答
  • 331 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-12-09 08:30:08 +0800 CST

如何在钩子中获取单位名称?

  • 2

挂钩脚本如何获取单元 ID 和服务名称?请给我一个 Python 和 Bash 的例子。

juju
  • 1 个回答
  • 243 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-05-13 02:51:41 +0800 CST

Juju:如何连接到已经引导的环境

  • 2

我已经从我的笔记本电脑引导了一个手动环境。如何从另一台计算机访问环境?

juju
  • 1 个回答
  • 90 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-05-03 23:24:29 +0800 CST

如何在 Ubuntu 14.04 中安装最新的 ubuntu-device-flash?

  • 0

当我收到以下错误时,我正在尝试按照说明刷新我的 bq 手机:

$ubuntu-device-flash touch --channel ubuntu-touch/stable/bq-aquaris.en --bootstrap --recovery-image recovery.img
unknown flag `recovery-image'

我猜这是因为 ubuntu 14.04 上的 ubuntu-device-flash 包已经过时了?如何安装最新版本?

ubuntu-touch
  • 2 个回答
  • 5549 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-04-25 01:53:40 +0800 CST

如何重生 Hadoop Upstart 工作?

  • 1

您可以通过运行来启动节点管理器实例yarn-daemon.sh start nodemanager。如果你在这种情况下做一份新贵的工作,你有两个问题:

  1. 该yarn-daemon.sh脚本将不断执行,因为 respawn 检查进程是否死亡,并且 yarn-daemon.sh 脚本在启动 yarn 后死亡。
  2. service nodemanager stop命令什么都不做,因为 upstart 认为进程已经停止。

我如何制作一个在崩溃后重新启动纱线(或另一个 hadoop 守护进程)的新贵服务?

upstart
  • 1 个回答
  • 589 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-04-03 03:45:19 +0800 CST

Ubuntu 手机上的办公套件?

  • 2

在Ubuntu手机上用什么查看office文档?我希望能够查看 odf 和 ms office 文档,如 doc 和 docx。

ubuntu-touch
  • 2 个回答
  • 918 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-04-02 03:46:49 +0800 CST

如何获取已安装 Juju 的版本

  • 0

我想看看安装了什么版本的 Juju。我怎样才能做到这一点?

juju
  • 1 个回答
  • 903 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-30 23:21:00 +0800 CST

如何在 bq 手机上运行最新的 Ubuntu touch 开发版本?

  • 3

是否可以在 bq 手机上运行 Ubuntu Touch 开发版本?如果是这样,我该怎么做?

ubuntu-touch
  • 1 个回答
  • 317 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-30 11:57:38 +0800 CST

如何备份我的 Ubuntu 手机?

  • 10

如何备份我的 Ubuntu 手机,以便在恢复出厂设置后将其恢复到相同状态?要指定,我正在寻找以下内容:

  • 备份配置
  • 备份应用程序
  • 备份应用配置
  • 备份文件

复制/home/phablet/文件夹会保存文件,但是这样是否也保存了所有配置文件和程序?

ubuntu-touch
  • 2 个回答
  • 3271 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-30 11:51:09 +0800 CST

bq Ubuntu 手机上的出厂重置映像在哪里

  • 3

bq ubuntu 手机系统设置中的出厂重置选项可将手机恢复为出厂设置。在手机上,恢复出厂设置用于重置手机的图像位于何处?

ubuntu-touch
  • 1 个回答
  • 365 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-30 11:40:51 +0800 CST

bq Ubuntu Phone 在什么档案上?

  • 1

所以,我正在弄乱我的 bq ubuntu 手机,试图安装 libreoffice但我遇到了障碍。Libreoffice 不在档案中!

Ubuntu手机上有什么档案?我可以“升级”到包含 libreoffice 的档案吗?

这是 /etc/apt/sources.list

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://derived.archive.canonical.com/ubuntu-rtm/ 14.09 main restricted
deb-src http://derived.archive.canonical.com/ubuntu-rtm/ 14.09 main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-updates main restricted
deb-src http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://derived.archive.canonical.com/ubuntu-rtm/ 14.09 universe
deb-src http://derived.archive.canonical.com/ubuntu-rtm/ 14.09 universe
deb http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-updates universe
deb-src http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-updates universe

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-backports main restricted universe
# deb-src http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-backports main restricted universe

deb http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-security main restricted
deb-src http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-security main restricted
deb http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-security universe
deb-src http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-security universe
# deb http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-security multiverse
# deb-src http://derived.archive.canonical.com/ubuntu-rtm/ 14.09-security multiverse

下面是搜索 apt for libreoffice 的输出:

 apt-cache search libreoffice
hunspell-ru - Russian dictionary for hunspell
hyphen-af - Afrikaans hyphenation patterns for LibreOffice
hyphen-ca - Catalan hyphenation patterns for LibreOffice
hyphen-de - German hyphenation patterns for LibreOffice
hyphen-fr - French hyphenation patterns for LibreOffice
hyphen-hr - Croatian hyphenation pattern for LibreOffice
hyphen-hu - Hungarian hyphenation patterns for LibreOffice
hyphen-it - Italian hyphenation patterns for LibreOffice
hyphen-ro - Romanian hyphenation patterns for LibreOffice
hyphen-sl - Slovenian hyphenation patterns for LibreOffice
hyphen-sr - Serbian (Cyrillic) hyphenation patterns for LibreOffice
hyphen-sv - Swedish hyphenation patterns for LibreOffice
hyphen-zu - Zulu hyphenation patterns for LibreOffice
myspell-af - Afrikaans dictionary for myspell
myspell-ca - Catalan dictionary for myspell
myspell-en-gb - English_british dictionary for myspell
myspell-en-us - English_american dictionary for myspell
myspell-en-za - English_southafrican dictionary for myspell
myspell-hr - Croatian dictionary for myspell
myspell-it - Italian dictionary for myspell
myspell-sw - Swahili dictionary for myspell
myspell-th - Thai dictionary for myspell
mythes-ca - Catalan Thesaurus for LibreOffice
mythes-cs - Czech Thesaurus for LibreOffice
mythes-en-us - English Thesaurus for LibreOffice
mythes-fr - French Thesaurus for LibreOffice
mythes-hu - Hungarian Thesaurus for LibreOffice
mythes-ne - Nepali Thesaurus for LibreOffice
mythes-ro - Romanian Thesaurus for LibreOffice
mythes-ru - Russian Thesaurus for LibreOffice
mythes-sk - Slovak Thesaurus for LibreOffice/OpenOffice.org
unity-scope-home - Home scope that aggregates results from multiple scopes
ubuntu-touch
  • 1 个回答
  • 242 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-30 11:22:41 +0800 CST

无法访问 GUI 时如何重置 BQ Ubuntu 手机?

  • 8

我开始摆弄bq电话了。用 apt 之类的东西安装包。当我把事情搞得一团糟时,有没有办法重置手机?

当我把事情搞砸到无法再访问 GUI 中的“重置”功能时,我正在寻找一种方法来做到这一点。

ubuntu-touch
  • 1 个回答
  • 2841 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-29 12:02:59 +0800 CST

provide_data 在 required_keys 不满足时不发送数据(使用服务框架的 juju 魅力)

  • 1

我不确定我是否以正确的方式使用它。我有一个类为相同的关系定义required_keys和provide_data。以下代码provide_data在关系加入/更改时执行,但不执行关系集namenode_sshkey。如果我删除该required_keys行,代码突然工作(但我不能使用此类来指定关系所需的数据)。

[...]
    {
        'service': 'namenode',
        'ports': [9000, 50070],  # ports to open after start
        'provided_data': [
            NamenodeRelation()
        ],
        'required_data': [
            NamenodeRelation(),
            {'role' : 'namenode', 'command' : 'hadoop-daemon.sh'}
        ],
        'data_ready': [
            configure_namenode,
            helpers.render_template(
                 source='upstart.conf',
                 target='/etc/init/namenode.conf')
        ],
    },
[...]


class NamenodeRelation(RelationContext):
    name = 'namenode'
    interface = 'dfs'

    def __init__(self, *args, **kwargs):
        self.required_keys = ['slave_IP', 'private-address']
        RelationContext.__init__(self,name=self.name, *args, **kwargs)

    def provide_data(self):
        return {'namenode_sshkey' : get_ssh_key() }

这种行为是故意的还是错误?

juju
  • 1 个回答
  • 72 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-27 08:08:40 +0800 CST

Ubuntu touch 上的电子邮件 (imap) 程序

  • 1

有没有办法在 Ubuntu Touch 上使用 imap 连接到电子邮件帐户?

ubuntu-touch
  • 1 个回答
  • 554 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-25 13:41:06 +0800 CST

juju debug-hooks 后如何向挂钩发出信号仍处于错误状态

  • 0

我正在使用 juju debug-hooks 修复一些东西。我想去睡觉,明天继续修东西。如何以 juju 知道 charm 仍处于错误状态的方式关闭 tmux 会话?

奇怪的是,当你这样做时exit 1,juju 认为问题已经解决,并继续运行所有排队的钩子......

juju
  • 1 个回答
  • 37 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-21 00:47:50 +0800 CST

是否可以手动启动 Juju hooks?

  • 3

我知道您可以通过运行juju debug-hooks nodemane然后运行来调试处于错误状态的挂钩juju resolved --retry nodename。是否可以运行或重新运行未处于错误状态的挂钩?

谢谢

juju
  • 2 个回答
  • 1766 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-20 02:58:05 +0800 CST

Service: storm has neither charm url or branch specified 是什么意思?

  • 2

使用juju-deployer它部署捆绑包时,它会不断显示 Service: NAME has neither charm url or branch specified。魅力正确部署,但我很好奇消息的含义是什么?

"storm-slavecluster":
  charm: "local:trusty/storm"
  num_units: 1
  annotations: 
    "gui-x": "800"
    "gui-y": "800"

$JUJU_REPOSITORY指向我的本地存储库

juju
  • 1 个回答
  • 90 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-18 02:50:38 +0800 CST

使用 quickstart 或 juju-deployer 部署包之间的区别?

  • 2

quickstart使用or部署 juju bundle 有什么区别juju-deployer?

juju
  • 2 个回答
  • 1478 Views
Martin Hope
Merlijn Sebrechts
Asked: 2015-03-16 04:12:22 +0800 CST

Juju 捆绑部署和本地存储库

  • 3

是否可以部署包含来自本地存储库的 charm 的包?我怀疑使用命令行,这可能是可能的,但 juju-gui 不知道在哪里可以找到当地的魅力......

juju
  • 1 个回答
  • 471 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