在我住的大楼里有一个有两个频道和相同 SSID 的 WiFi。每当我连接到 WiFi 时,它总是连接到 2.4GHz 频段,但我想连接到 5GHz 频段。我已经尝试过这个,但都是徒劳的。另外,我尝试过 linSSID 应用程序,但它甚至没有启动。
我正在使用 Ubuntu 18.04 LTS 和输出lshw -C network:
*-network
description: Wireless interface
product: Wireless 3160
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlp1s0
version: 83
serial: e4:02:9b:d2:65:c7
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-34-generic firmware=17.948900127.0 ip=172.21.126.136 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:128 memory:df100000-df101fff
Run Code Online (Sandbox Code Playgroud)
的输出iwlist chan:
wlp1s0 26 channels in total; …Run Code Online (Sandbox Code Playgroud) 我已经运行 Ubuntu 18.04 几个星期了。我从 16.04 升级,一切顺利。
我不确定我更改了什么,但今天早上我注意到“显示应用程序”和应用程序菜单中缺少启动 gnome-control-center 的“设置”图标。当我从“显示应用程序”中搜索 gnome-control-center 或只是设置时,没有任何显示。
所以,我想我一定是不小心删除了它,并认为重新安装软件包可以解决这个问题。我已经搜索并找到了几个有效的帖子。我试过:
sudo apt install gnome-control-center
Run Code Online (Sandbox Code Playgroud)
然后重新启动 - 重新安装了 gnome-control-center,然后我可以从命令行启动它。但是,任何菜单中仍然没有设置图标。
我还尝试了许多其他建议,包括:
sudo apt-get install --reinstall gnome-control-center
sudo apt-get install ubuntu-desktop
sudo apt install ubuntu-desktop --reinstall
sudo apt-get install unity-control-center
Run Code Online (Sandbox Code Playgroud)
但是,这些都没有成功地将图标恢复到“显示应用程序”或任何应用程序菜单中。
有人对我没有尝试过的东西有什么建议吗?将不胜感激。或者,有没有办法手动重新创建图标?
的输出locate gnome-control-center.desktop:
/usr/share/applications/gnome-control-center.desktop
/home/dccrens/.local/share/applications/gnome-control-center.desktop
/home/dccrens/.gnome/apps/gnome-control-center.desktop
Run Code Online (Sandbox Code Playgroud)
我在内核 4.15.0-45-generic 上运行 Ubuntu 18.04 桌面。
我经常以这种方式将我的终端输出重定向到 vim,我厌倦了一直输入:
ls | vim -
Run Code Online (Sandbox Code Playgroud)
我想定义一个函数v来为我做这件事,即我希望能够输入:
v ls 并且这以某种方式“扩展”到上一个命令。
我可以用这种脚本在简单的情况下做到这一点(当然,这可以重构为一个小函数):
#!/bin/bash
touch crrt_cmd
while (( "$#" )); do
echo -n $1 >> crrt_cmd
echo -n " " >> crrt_cmd
shift
done
chmod +x crrt_cmd
bash crrt_cmd | vim -
rm crrt_cmd
Run Code Online (Sandbox Code Playgroud)
这适用于非常简单的命令,例如lsor ls -l,但是当存在一些管道时它根本不起作用,例如。
关于如何执行类似操作的任何想法,但适用于任何有效的 bash 命令?
所以只是要清楚,如果可能的话,我希望事情以这种方式工作:
v ls | grep keyword | head -5
Run Code Online (Sandbox Code Playgroud)
会翻译成:
ls | grep keyword | head -5 | vim -
Run Code Online (Sandbox Code Playgroud) 我正在尝试按照bash 简介进行数据分析。它有一行命令open ~/.bash_profile:
该教程是在Mac计算机上进行的,但是在评论部分说我也可以通过VirtualBox在Ubuntu上进行
但是这个命令在 Ubuntu 上不被识别:
Ubuntu 上有什么替代方法可以代替open命令吗?
我使用此说明安装了无线驱动程序如何为 Dell Vostro 3460/3560 安装 BCM43142 无线驱动程序并且我的 WiFi 工作正常。这里没有问题。
但不幸的是蓝牙不起作用。Ubuntu 栏显示蓝牙标志,我可以打开/关闭蓝牙,但找不到任何设备。当我打开可见性时,我找不到我的笔记本电脑。所以,显然蓝牙不起作用。
我找不到有关蓝牙实际上可以在 Ubuntu 中使用此适配器的报告。那么,有没有人有蓝牙工作的 BCM43142 适配器?我正在使用 Ubuntu 12.10 x64。
我有一个双显示器设置。第二台显示器有 VGA 连接。在显示设置中找不到分辨率 1366x768 或randr. 如何将分辨率 1366x768 添加到输出。我试过这个:
VGA-0 connected primary 1024x768+0+190 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.0*
800x600 60.3 56.2
848x480 60.0
640x480 59.9
Run Code Online (Sandbox Code Playgroud)
做了 xrandr -s 1366x768:
Size 1366x768 not found in available modes
Run Code Online (Sandbox Code Playgroud)
并且xrandr --output vga-0 --mode 1366x768:
warning: output vga-0 not found; ignoring
Run Code Online (Sandbox Code Playgroud) 在 Ubuntu 16.04 上工作了很长时间。两周前我买了一台新电脑,直到本周才安装 Ubuntu。我按照这里的 Mullvad 客户说明进行操作:
https://mullvad.net/en/guides/installing-mullvad-client-linux/
他们假设 Ubuntu 16.04,所以他们的指南还没有更新。但我完全按照说明操作。我不是一个伟大的创新者。
一旦安装了客户端,它就不会启动。当我打开终端并命令它启动时,没有任何反应。我收到一堆错误。有什么帮助吗?(以下链接中的错误截图)
Using GTK2 Gtk-Message: 11:33:06.240: Failed to load module "canberra-
gtk-module"
changing directory to /usr/lib/python2.7/dist-package/mullvad
Setting logging directory to /home/snarf/.cache/mullvad/log
(mullvad:9312): GLib-GObject-WARNING **: 11:33:06.248: cannot register
existing type 'GdkDisplayManager'
(mullvad:9312): GLib-CRITICAL **: 11:33:06.248: g_once_init_leave:
assertion 'result != 0' failed
(mullvad:9312): GLib-GObject-CRITICAL **: 11:33:06.248:
g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)'
failed
Run Code Online (Sandbox Code Playgroud)
我最近安装了 Ubuntu 18.04。我已经使用 Ubuntu 超过 5 年了,我知道亮度控制Power在设置部分内,但它们不再存在。搜索亮度仍然将Power设置部分作为唯一结果,gnome-shell但我似乎找不到它。
有人可以告诉我如何在 Ubuntu 18.04 中控制亮度
Ark 似乎在打开某些 zip 文件时遇到问题。
例如,当我尝试打开从https://beefree.io/导出的 zip 文件时,出现此错误:
方舟打不开XX。没有找到合适的插件。Ark 似乎不支持这种文件类型。
inxi 输出:
Kernel: 5.3.0-40-generic x86_64 bits: 64 Desktop: KDE Plasma 5.18.2
Distro: Ubuntu 19.10 (Eoan Ermine)
Machine: Type: Desktop Mobo: INTEL model: H110 serial: <filter> UEFI [Legacy]: American Megatrends v: 5.12 date: 09/11/2017
CPU: Topology: Dual Core model: Intel Core i3-6100 bits: 64 type: MT MCP L2 cache: 3072 KiB
Speed: 900 MHz min/max: 800/3700 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900
Graphics: Device-1: …Run Code Online (Sandbox Code Playgroud) 成功升级到 Ubuntu 20.04 后,WiFi 热点选项被禁用,当我将鼠标悬停在它上面时,它显示“系统策略禁止用作热点”。我曾尝试更改热点模式,但同样的问题仍然存在。
18.04 ×3
command-line ×3
networking ×2
wireless ×2
12.10 ×1
archive ×1
ark ×1
bash ×1
bluetooth ×1
brightness ×1
broadcom ×1
dell-vostro ×1
icons ×1
kubuntu ×1
monitor ×1
pipe ×1
settings ×1
upgrade ×1
vim ×1
vpn ×1