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

Seth's questions

Martin Hope
Seth
Asked: 2017-08-14 19:24:58 +0800 CST

将 Libreoffice 中的字体颜色更改为特定颜色的键盘快捷键

  • 6

我必须在同一份文件中用红色和黑色写大量的文字。在 MS Office 中,我会设置一个键盘快捷键来切换颜色,这样我就不必把手从键盘上移开。像Alt+R代表红色和Alt+B代表黑色。

如何在 LibreOffice Writer 中设置类似的内容?我在工具 -> 自定义 -> 键盘中四处寻找,但我无法弄清楚。

shortcut-keys
  • 1 个回答
  • 7907 Views
Martin Hope
Seth
Asked: 2016-05-30 16:33:40 +0800 CST

snapcraft snap 失败,因为缺少 python 模块

  • 6

我试图通过将 unity-tweak-tool 重新打包为 snap 来学习一些 snap 桌面打包。我发现文档不是很出色,但到目前为止,我有一个 snapcraft.yaml 文件,如下所示:

name: unity-tweak-tool
version: 1
summary: configuration tool for the Unity desktop environment
description: |
 Unity Tweak Tool is a settings manager for the Unity desktop.
 It provides users with a fast, simple and easy-to-use interface 
 with which to access many useful and little known features and settings 
 of the desktop environment that one may want to configure.

apps:
  unity-tweak-tool:
    command: $SNAP/usr/bin/unity-tweak-tool
    plugs: [unity7]
parts:
  unity-tweak-tool:
    plugin: python3
    source: git://github.com/Seth-Johnson/unity-tweak-tool.git
    source-type: git
    build-packages:
        - python3-distutils-extra
        - python3-all
        - python3-dbus
        - python-dev
    stage-packages:
        - gir1.2-glib-2.0
        - gir1.2-gtk-3.0
        - python3-xdg
        - python3-cairo
        - unity-webapps-service  

但是,当我运行snapcraft snapsetup.py 时总是失败,因为缺少几个 python 模块:

  Running setup.py install for unity-tweak-tool ... error
    Complete output from command /home/sethj/projects/snappy-testing/parts/unity-tweak-tool/install/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-s6dwhgys-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-xxv1mi7p-record/install-record.txt --single-version-externally-managed --compile --home=/tmp/tmp2y5izah7:
    ERROR: Python module values not found
    ERROR: Python module apport not found
    ERROR: Python module apport.hookutils not found
    WARNING: syntax errors in notes/wizardry.py: Missing parentheses in call to 'print' (wizardry.py, line 9)
    ERROR: Python module dbus not found
    ERROR: Python module dbus.service not found
    ERROR: Python module dbus.mainloop.glib not found

(此处为完整输出)

我承认我不是 100% 确定我这样做是否正确,但据我所知,它应该构建 build-packages 下列出的包,它们满足 unity-tweak-tool 的构建要求。

我哪里错了?

packaging
  • 2 个回答
  • 1905 Views
Martin Hope
Seth
Asked: 2015-09-12 19:07:48 +0800 CST

Atheros AR9485 wifi 随机断开连接

  • 9

我最近买了一台带有 Atheros AR9485 无线网卡的新电脑。到目前为止它一直工作正常,除了这个问题:随机(据我所知)它会完全失去互联网连接。顶部面板中的指示器仍会显示我们已连接,但机器没有任何互联网连接。

我已经能够通过简单地断开与我的无线 AP 的连接然后重新连接来让它再次工作,但这很烦人。我可以做些什么来使连接更稳定吗?

我试过将 传递nohwcrypt=1给驱动程序,但这使得无法连接到任何 AP,它只是无限次尝试连接。

sudo modprobe -rfv ath9k
sudo modprobe -v ath9k nohwcrypt=1

我也试过将我的内核升级到 Linux 4.0,但问题仍然存在。


确切的芯片:

02:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)  

司机:

$ ls /sys/class/net/wlan0/device/driver/module/drivers
pci:ath9k  platform:ath9k  

和lsmod:

user@host:~$ lsmod | grep -e ath -e ndis
ath3k                  20480  0 
bluetooth             491520  9 bnep,ath3k,btusb
ath9k                 147456  0 
ath9k_common           32768  1 ath9k
ath9k_hw              458752  2 ath9k_common,ath9k
ath                    32768  3 ath9k_common,ath9k,ath9k_hw
mac80211              724992  1 ath9k
cfg80211              540672  4 ath,ath9k_common,ath9k,mac80211 

无线脚本的输出:http: //paste.ubuntu.com/12625978/

我在 Lenovo G510 的 Linux 4.0.0-040000-generic 上运行 Ubuntu 15.04。

我现在想知道我的无线鼠标是否可以做任何事情,它也在 2.4GHz 上运行。

wireless
  • 2 个回答
  • 4765 Views
Martin Hope
Seth
Asked: 2014-12-21 18:44:13 +0800 CST

有没有好的替代品!!(砰砰)鱼?

  • 3

我最近一直在尝试 fish shell,但我一直遇到的一件事是 fish 缺少!!命令/内置。

我似乎找不到鱼的好替代品或替代品。一个存在吗?

fish
  • 1 个回答
  • 859 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