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

Carolus's questions

Martin Hope
Carolus
Asked: 2020-02-22 02:01:22 +0800 CST

如何访问 io.atom.Atom flatpak 的 apm

  • 0

访问 flatpakked Atom 的 apm(Atom 包管理器)的正确方法是什么?

我找不到通过 DDG 或 Google 搜索的答案。稍微相关的问题。

我可以通过以下方式运行 Atom 本身:

flatpak run io.atom.Atom

我可以运行 apm 的一种方法是:

/var/lib/flatpak/app/io.atom.Atom/current/active/files/share/atom/resources/app/apm/node_modules/.bin/apm

但这似乎并不正常。有没有更合理/好/干净/正确的方法来做到这一点?一些不起作用的东西:

apm
flatpak run io.atom.Atom.apm
flatpak run io.atom.Apm
flatpak run io.atom.Atom --apm
/var/lib/flatpak/app/io.atom.Atom/current/active/files/bin/apm

最后一条路径存在,但告诉我:

/var/lib/flatpak/app/io.atom.Atom/current/active/files/bin/apm: 5: exec: /app/bin/apm-real: not found
atom flatpak
  • 1 个回答
  • 500 Views
Martin Hope
Carolus
Asked: 2019-05-01 06:44:54 +0800 CST

哪些变量控制 Firefox 中时间和日期的格式,还有什么影响?

  • 0

我的主要问题是:

  1. 哪些 (env) 变量控制着 Firefox 中时间和日期的格式,还有什么影响(UI、拼写检查)?

我尝试更改语言环境设置、软件包、Firefox 语言包和 Firefox 设置,但我想不出一个组合来再次给我想要的结果:

  1. 如何在 en-US 中使用 Firefox(拼写检查和不太重要的 UI),但时间以 24 小时格式显示(日期显示为除 mm DD yy 之外的任何内容)?

在某些以前版本的 Kubuntu 中,我通过将语言环境的一些常规部分设置为 en-GB 来“修复”我的问题,但这具有将 Pidgin 的拼写检查从 en-US 更改为 en-GB 的不良副作用。这次我什至无法重现该结果(尽管一直在做笔记)。

我尝试了 StackExchange 和其他地方的许多建议,但没有一个对我有用。幸运的是,我在绝望中记得除了在 StackExchange 上回答问题外,我还可以提问!


输出和状态:

我在 Kubuntu 18.04 上使用 Firefox 66.0.3(64 位)。

在 Firefox > Addons > Languages 中,我安装了 en-US 和 en-GB。

在 Firefox > Preferences > Language and Appearance > Language:对于 UI 语言和网站显示语言,我尝试了 en-US 和 en-GB,没有任何更改。

在 chrome://global/locale/intl.properties 的 Firefox 中:

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# LOCALIZATION NOTE (intl.accept_languages):
# This is a comma-separated list of valid BCP 47 language tags.
#
# Begin with the language tag of your locale. Next, include language
# tags for other languages that you expect most users of your locale to be
# able to speak, so that their browsing experience degrades gracefully if
# content is not available in their primary language.
#
# It is recommended that you include "en-US, en" at the end of the list as a
# last resort. However, if you know that users of your locale would prefer a
# different variety of English, or if they are not likely to understand
# English at all, you may opt to include a different English language tag, or
# to exclude English altogether.
#
# For example, the Breton [br] locale might consider including French and
# British English in their list, since those languages are commonly spoken in
# the same area as Breton:
# intl.accept_languages=br, fr-FR, fr, en-GB, en
intl.accept_languages=en-US, en

# LOCALIZATION NOTE (font.language.group):
# This preference controls the initial setting of the language drop-down menu
# in the Content > Fonts & Colors > Advanced preference panel.
#
# Set it to the value of one of the menuitems in the "selectLangs" menulist in
# http://dxr.mozilla.org/mozilla-central/source/browser/components/preferences/fonts.xul
font.language.group=x-western

# LOCALIZATION NOTE (intl.charset.detector):
# This preference controls the initial setting for the character encoding
# detector. Valid values are ja_parallel_state_machine for Japanese, ruprob
# for Russian and ukprob for Ukrainian and the empty string to turn detection
# off. The value must be empty for locales other than Japanese, Russian and
# Ukrainian.
intl.charset.detector=

# LOCALIZATION NOTE (pluralRule): Pick the appropriate plural rule for your
# language. This will determine how many plural forms of a word you will need
# to provide and in what order.
# See: http://developer.mozilla.org/en/docs/Localization_and_Plurals
pluralRule=1

# LOCALIZATION NOTE (intl.menuitems.alwaysappendaccesskeys, intl.menuitems.insertseparatorbeforeaccesskeys):
# Valid values are: true, false, <empty string>
# Missing preference or empty value equals false.
intl.menuitems.alwaysappendaccesskeys=
intl.menuitems.insertseparatorbeforeaccesskeys=true

输出locale:

LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE=C
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=et_EE.UTF-8
LC_NAME=et_EE.UTF-8
LC_ADDRESS=et_EE.UTF-8
LC_TELEPHONE=et_EE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=et_EE.UTF-8
LC_ALL=

输出printenv | grep LC_:

LC_MEASUREMENT=de_DE.UTF-8
LC_PAPER=et_EE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_NAME=et_EE.UTF-8
LC_COLLATE=C
LC_ADDRESS=et_EE.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TELEPHONE=et_EE.UTF-8
LC_IDENTIFICATION=et_EE.UTF-8
LC_TIME=en_GB.UTF-8

输出localectl status:

   System Locale: LANG=en_US.UTF-8
                  LC_NUMERIC=et_EE.UTF-8
                  LC_TIME=et_EE.UTF-8
                  LC_MONETARY=et_EE.UTF-8
                  LC_PAPER=et_EE.UTF-8
                  LC_NAME=et_EE.UTF-8
                  LC_ADDRESS=et_EE.UTF-8
                  LC_TELEPHONE=et_EE.UTF-8
                  LC_MEASUREMENT=et_EE.UTF-8
                  LC_IDENTIFICATION=et_EE.UTF-8
       VC Keymap: n/a
      X11 Layout: us
       X11 Model: pc105

输出locale -a:

C
C.UTF-8
POSIX
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
et_EE.utf8

如果我从终端启动 Firefox,我会收到以下警告,也许这也是相关的:

(firefox:15865): Gtk-WARNING **: 17:27:21.499: Locale not supported by C library.
        Using the fallback 'C' locale.

(/usr/lib/firefox/firefox:15933): Gtk-WARNING **: 17:27:21.873: Locale not supported by C library.
        Using the fallback 'C' locale.

(/usr/lib/firefox/firefox:15982): Gtk-WARNING **: 17:27:22.569: Locale not supported by C library.
        Using the fallback 'C' locale.

(/usr/lib/firefox/firefox:16024): Gtk-WARNING **: 17:27:24.441: Locale not supported by C library.
        Using the fallback 'C' locale.

(/usr/lib/firefox/firefox:16152): Gtk-WARNING **: 17:27:26.382: Locale not supported by C library.
        Using the fallback 'C' locale.
firefox kubuntu locale
  • 1 个回答
  • 162 Views
Martin Hope
Carolus
Asked: 2016-09-15 10:40:19 +0800 CST

Ubuntu 16.04(fglrx)上的 AMD(Radeon HD 7670M)游戏 [重复]

  • 2
这个问题在这里已经有了答案:
AMD 显卡上的 Ubuntu 14.04.5/16.04 和更新版本 3 个答案
4年前关闭。

我想玩比更新到 Kubuntu 16.04 LTS 后性能更好的游戏。一半的游戏无法玩,有时由于低帧率而令人作呕。我不完全确定我的开源radeon驱动程序是否按预期工作。

我意识到 AMDfglrx前段时间放弃了对专有驱动程序的支持,并且由于与较新的xorg.

我的主要问题是:

我可以使用在 Kubuntu 16.04中仍然支持驱动程序xorg的旧版本在单独的环境中运行游戏吗?xorgfglrx

理想情况下,其他软件(如浏览器或 IM)仍然可以运行并且可以访问。就像在单独的 tty 上一样。在真正完美的情况下,这些都不会花费任何 GPU 性能(所以我猜没有渲染)。

或者,我对提高我的表现的任何其他线索感兴趣。

我想切换到 Ubuntu 14.04 是我的选择之一,代价是我的大部分软件都是旧版本。


我的 GPU 是 Dell Inspiron 15 (5520) 中的 AMD Radeon HD 7670M

lspci -nnk | grep -i vga -A3输出:

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
        Subsystem: Dell 3rd Gen Core processor Graphics Controller [1028:056a]
        Kernel driver in use: i915
        Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] [1002:6840] (rev ff)
        Kernel driver in use: radeon
        Kernel modules: radeon
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 05)

sudo lshw -c video输出:

  *-display               
       description: VGA compatible controller
       product: 3rd Gen Core processor Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:28 memory:c1000000-c13fffff memory:b0000000-bfffffff ioport:4000(size=64)

也欢迎询问任何其他信息。

drivers
  • 4 个回答
  • 6183 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