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

Sahil's questions

Martin Hope
Sahil
Asked: 2018-04-17 03:46:39 +0800 CST

无法将 firefox.desktop 文件锁定到停靠

  • 0

我为 Firefox 创建了一个 .Desktop 文件(我从他们的网站下载了每晚版本)。这是文件。

[Desktop Entry]
Version=1.0
Name=Nightly
Comment=This is the nightly entry ie firefox entry
Exec=/opt/firefox/./firefox
Icon=/opt/firefox/icons/logo.png
Terminal=false
Type=Application
Categories=Accessories;
GenericName[en_IN]=this should start firefox

我放置了这个文件,.local/share/applicaitons以便从扩展坞中进行搜索。但是,每当我启动应用程序并右键单击 Dock 上出现的图标时,它不会让我选择将应用程序锁定到收藏夹,只允许我退出或显示所有窗口。我正在使用GDM3.

unity gdm unity-dash
  • 1 个回答
  • 404 Views
Martin Hope
Sahil
Asked: 2018-04-11 21:52:45 +0800 CST

无法切换到nvidia显卡

  • 0

我最近在笔记本电脑上安装了 Nvidia 显卡。然而,即使在安装后机器仍然使用英特尔图形芯片。我尝试运行prime-select nvidia,nvidia profile is already set但每当我尝试检查我正在使用的显卡时,输出是,

lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA

输出仍然

00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 520 [8086:1916] (rev 07) (prog-if 00 [VGA controller])

我也试过

optirun glxinfo|egrep "OpenGL vendor|OpenGL renderer"

输出

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 5.0, 256 bits)

但仍然没有效果。我尝试nvidia-setting通过 GUI 配置主要配置文件,但未prime profile显示该选项卡。注意:我通过 deb 文件安装了 nvidia-prime,apt install nvidia-prime似乎没有用。

更新
输出sudo lspci -nnk | grep -i vga -A3&&sudo lshw -c display

00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 520 [8086:1916] (rev 07)
    Subsystem: Hewlett-Packard Company Skylake GT2 [HD Graphics 520] [103c:820c]
    Kernel driver in use: i915
    Kernel modules: i915
  *-display                 
       description: VGA compatible controller
       product: HD Graphics 520
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 07
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:131 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:5000(size=64) memory:c0000-dffff
  *-display
       description: 3D controller
       product: GM108M [GeForce 940MX]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=nvidia latency=0
       resources: irq:134 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128)
drivers nvidia graphics bumblebee nvidia-optimus
  • 1 个回答
  • 3692 Views
Martin Hope
Sahil
Asked: 2018-04-10 01:05:34 +0800 CST

使用 xorg.conf 文件更改屏幕分辨率

  • 2

我最近(今天)在我的笔记本电脑上安装了 Nvidia 图形驱动程序,我按照教程中的说明使用nvidia-xconfig. 我正在使用笔记本电脑并已插入外接显示器,外接显示器的分辨率很好,但笔记本电脑的主屏幕已达到 4:3 分辨率。我不知道xorg.conf文件中有什么,我从来没有见过这样的东西,谁能帮我把屏幕分辨率改回 16:9、1366x768。

这是 xorg.conf 文件。

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.48  (buildmeister@swio-display-x86-rhel47-07)  Thu Mar 22 01:07:32 PDT 2018


Section "ServerLayout"
    Identifier     "layout"
    Screen      0  "nvidia" 0 0
    Inactive       "intel"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       60.0 - 100.0
    VertRefresh     60.0 - 100.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "intel"
    Driver         "modesetting"
EndSection

Section "Screen"
    Identifier     "nvidia"
    Device         "nvidia"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration"
    Option         "RegistryDwords" "PrefLevelSrc=0x2222"
    Option         "TripleBuffer" "True"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "intel"
    Device         "intel"
    Monitor        "Monitor0"
EndSection
xorg nvidia xrandr xserver
  • 1 个回答
  • 6996 Views
Martin Hope
Sahil
Asked: 2018-03-31 22:21:22 +0800 CST

无法连接到代理,git

  • 0

我通过网络设置在我的机器上设置了一个系统范围的代理,代理是 localhost:9191(我使用的是 Burpsuite)。我现在已经禁用了上述代理。当我试图通过 git clone "url" 克隆一个 git 存储库时,它给出了一个错误unable to connect to 127.0.0.1 port 9191。但是我禁用了代理!谁能帮忙?我重新启动了,network-manager但似乎仍然没有工作。我也尝试更改代理的端口,即使将端口更改为 80,我得到的错误仍然是can't connect to localhost port 9191

networking proxy git
  • 1 个回答
  • 321 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