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

math's questions

Martin Hope
math
Asked: 2025-03-07 17:12:09 +0800 CST

Deja Dup 因无效请求而停止上传到 gdrive

  • 5

我正在运行 Debian 11,到目前为止已经使用 Deja Dup 来备份最重要的内容。

我已将应用程序连接到我的 gdrive,已完成的备份会自动上传。最近备份失败了。

显然,授予 gdrive 访问权限/有效请求存在一些问题。我尝试从 gdrive 中删除应用程序并通过 Deja Dup 授予新的访问权限。

但是,我在 gdrive 上仍然遇到相同的错误消息:

访问被阻止:Déjà Dup Backups 的请求无效

该消息更详细地指出:

The loopback flow has been blocked in order to keep users secure. Follow the Loopback IP Address flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Request details: flowName=GeneralOAuthFlow

它指向一个谷歌开发者网站,该网站的历史可以追溯到 2022 年。

  • https://developers.google.com/identity/protocols/oauth2/resources/loopback-migration

所以我不确定这是否是问题所在。有人知道如何解决这个问题吗?

如果有帮助的话,很乐意提供进一步的信息。

debian
  • 1 个回答
  • 43 Views
Martin Hope
math
Asked: 2021-11-15 01:05:19 +0800 CST

如何通过 unix 命令将带有键值对的文本文件转换为有序输出

  • 0

我有一个文本文件,其中包含不同变量的可能值范围

1. life:        short,long,na.
2. weather_f:   cloudy,rainy,sunny,foggy,cold,warm,mild,
                    humid,na.
3. sea_temp:    warm,mild,cold,na.

我想得到一个看起来像这样的输出文件

short,long,na
cloudy,rainy,sunny,foggy,cold,warm,mild,humid,na
warm,mild,cold,na

我尝试使用sed它,但新行weather_f让我很难过。我怎样才能达到预期的输出?

shell
  • 1 个回答
  • 32 Views
Martin Hope
math
Asked: 2019-06-02 05:25:50 +0800 CST

如何删除/检查在我的根分区上使用这么多磁盘空间的内容?[复制]

  • 0
这个问题在这里已经有了答案:
如何理解占用磁盘空间的内容? (14 个回答)
3年前关闭。

我的根分区空间不足。目前,我正在使用

uname -a
Linux thinkpad-nc 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux

这是df的输出:

df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G   18M  3.2G   1% /run
/dev/nvme0n1p2   28G   26G  226M 100% /
tmpfs            16G  234M   16G   2% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/nvme0n1p4  410G   86G  303G  23% /home
/dev/nvme0n1p1  511M  132K  511M   1% /boot/efi
tmpfs           3.2G  4.0K  3.2G   1% /run/user/112
tmpfs           3.2G   20K  3.2G   1% /run/user/1000

我已经完成了自动清理并删除了不需要的 linux 头文件。我还能做什么或如何检查正在发生的事情。

debian disk-usage
  • 1 个回答
  • 1425 Views
Martin Hope
math
Asked: 2019-02-28 01:19:40 +0800 CST

更新到nvidia 390.87后登录黑屏

  • 0

我正在运行 debian

las@thinkpad:~$ uname -a
Linux thinkpad-nc 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux

并且刚刚更新到上面的内核。我还将 nvidia 驱动程序更新为390.87. 我有一个 GTX 1050。升级后登录屏幕只是黑色的。我试图运行一个nvidia-xconfig但它没有解决我的问题。下面是Xorg.log通过生成的以及我的新 Xorg.conf的输出nvidia-xconfig。

Xorg.0.log

las@thinkpad:~$ cat /media/nicolas/86403a2e-46c5-4188-bede-d55bed56809d/Xorg.0.log 
[    21.493] 
X.Org X Server 1.19.2
Release Date: 2017-03-02
[    21.493] X Protocol Version 11, Revision 0
[    21.493] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[    21.493] Current Operating System: Linux thinkstation 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
[    21.493] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-8-amd64 root=UUID=af9e3ec9-ee68-4bee-a647-a28c64c7802f ro quiet
[    21.493] Build Date: 03 November 2018  03:09:11AM
[    21.493] xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support) 
[    21.493] Current version of pixman: 0.34.0
[    21.493]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    21.493] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    21.493] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 27 09:30:19 2019
[    21.508] (==) Using config file: "/etc/X11/xorg.conf"
[    21.508] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    21.874] (==) ServerLayout "Layout0"
[    21.874] (**) |-->Screen "Screen0" (0)
[    21.874] (**) |   |-->Monitor "Monitor0"
[    21.887] (**) |   |-->Device "Device0"
[    21.887] (**) |-->Input Device "Keyboard0"
[    21.887] (**) |-->Input Device "Mouse0"
[    21.887] (**) Option "Xinerama" "0"
[    21.887] (==) Automatically adding devices
[    21.887] (==) Automatically enabling devices
[    21.887] (==) Automatically adding GPU devices
[    21.887] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    22.050] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    22.155]    Entry deleted from font path.
[    22.293] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
[    22.293] (==) ModulePath set to "/usr/lib/xorg/modules"
[    22.293] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    22.293] (WW) Disabling Keyboard0
[    22.293] (WW) Disabling Mouse0
[    22.293] (II) Loader magic: 0x55ac65c0ee00
[    22.293] (II) Module ABI versions:
[    22.293]    X.Org ANSI C Emulation: 0.4
[    22.293]    X.Org Video Driver: 23.0
[    22.293]    X.Org XInput driver : 24.1
[    22.293]    X.Org Server Extension : 10.0
[    22.294] (++) using VT number 7

[    22.295] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    22.295] (II) xfree86: Adding drm device (/dev/dri/card0)
[    22.297] (--) PCI:*(0:3:0:0) 10de:1c81:1458:372b rev 161, Mem @ 0xca000000/16777216, 0xd0000000/268435456, 0xce000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/131072
[    22.297] (II) LoadModule: "glx"
[    22.607] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[    24.883] (II) Module glx: vendor="NVIDIA Corporation"
[    24.883]    compiled for 4.0.2, module version = 1.0.0
[    24.883]    Module class: X.Org Server Extension
[    24.890] (II) NVIDIA GLX Module  390.87  Tue Aug 21 16:10:56 PDT 2018
[    24.900] (II) LoadModule: "nvidia"
[    24.973] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    25.123] (II) Module nvidia: vendor="NVIDIA Corporation"
[    25.123]    compiled for 4.0.2, module version = 1.0.0
[    25.123]    Module class: X.Org Video Driver
[    25.134] (II) NVIDIA dlloader X Driver  390.87  Tue Aug 21 15:44:49 PDT 2018
[    25.134] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    25.141] (II) Loading sub module "fb"
[    25.141] (II) LoadModule: "fb"
[    25.141] (II) Loading /usr/lib/xorg/modules/libfb.so
[    25.250] (II) Module fb: vendor="X.Org Foundation"
[    25.250]    compiled for 1.19.2, module version = 1.0.0
[    25.250]    ABI class: X.Org ANSI C Emulation, version 0.4
[    25.250] (II) Loading sub module "wfb"
[    25.250] (II) LoadModule: "wfb"
[    25.250] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    25.256] (II) Module wfb: vendor="X.Org Foundation"
[    25.256]    compiled for 1.19.2, module version = 1.0.0
[    25.256]    ABI class: X.Org ANSI C Emulation, version 0.4
[    25.256] (II) Loading sub module "ramdac"
[    25.256] (II) LoadModule: "ramdac"
[    25.256] (II) Module "ramdac" already built-in
[    25.259] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    25.259] (==) NVIDIA(0): RGB weight 888
[    25.259] (==) NVIDIA(0): Default visual is TrueColor
[    25.259] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    25.259] (**) NVIDIA(0): Option "Stereo" "0"
[    25.259] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-2"
[    25.259] (**) NVIDIA(0): Option "SLI" "Off"
[    25.259] (**) NVIDIA(0): Option "MultiGPU" "Off"
[    25.259] (**) NVIDIA(0): Option "BaseMosaic" "off"
[    25.260] (**) NVIDIA(0): Stereo disabled by request
[    25.260] (**) NVIDIA(0): NVIDIA SLI disabled.
[    25.260] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[    25.260] (**) NVIDIA(0): Option "MetaModes" "DP-0: nvidia-auto-select +3000+420, HDMI-0: nvidia-auto-select +4920+420, HDMI-1: nvidia-auto-select +0+0 {rotation=right}, HDMI-2: nvidia-auto-select +1080+420; HDMI-0: nvidia-auto-select +0+0; HDMI-0: 1920x1080_60_0 +0+0; HDMI-0: 1920x1080_50 +0+0; HDMI-0: 1680x1050 +0+0; HDMI-0: 1600x900 +0+0; HDMI-0: 1440x900 +0+0; HDMI-0: 1280x1024 +0+0; HDMI-0: 1280x1024_60 +0+0; HDMI-0: 1280x800 +0+0; HDMI-0: 1280x720 +0+0; HDMI-0: 1280x720_60_0 +0+0; HDMI-0: 1280x720_50 +0+0; HDMI-0: 1152x864 +0+0; HDMI-0: 1024x768 +0+0; HDMI-0: 1024x768_70 +0+0; HDMI-0: 1024x768_60 +0+0; HDMI-0: 800x600 +0+0; HDMI-0: 800x600_72 +0+0; HDMI-0: 800x600_60 +0+0; HDMI-0: 800x600_56 +0+0; HDMI-0: 720x576 +0+0; HDMI-0: 720x480 +0+0; HDMI-0: 640x480 +0+0; HDMI-0: 640x480_72 +0+0; HDMI-0: 640x480_60 +0+0; HDMI-0: nvidia-auto-select +0+0 {viewportin=1366x768, viewportout=1920x1079+0+0}"
[    25.260] (**) NVIDIA(0): Enabling 2D acceleration
[    26.295] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:3:0:0
[    26.295] (--) NVIDIA(0):     DFP-0
[    26.295] (--) NVIDIA(0):     DFP-1 (boot)
[    26.295] (--) NVIDIA(0):     DFP-2
[    26.295] (--) NVIDIA(0):     DFP-3
[    26.295] (--) NVIDIA(0):     DFP-4
[    26.295] (--) NVIDIA(0):     DFP-5
[    26.296] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 (GP107-A) at PCI:3:0:0 (GPU-0)
[    26.296] (--) NVIDIA(0): Memory: 2097152 kBytes
[    26.296] (--) NVIDIA(0): VideoBIOS: 86.07.31.00.4b
[    26.296] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    26.296] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    26.296] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    26.296] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    26.296] (--) NVIDIA(GPU-0): 
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-1): connected
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-1): Internal TMDS
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-1): 600.0 MHz maximum pixel clock
[    26.327] (--) NVIDIA(GPU-0): 
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): connected
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): Internal DisplayPort
[    26.327] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): 1440.0 MHz maximum pixel clock
[    26.328] (--) NVIDIA(GPU-0): 
[    26.329] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    26.329] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    26.329] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    26.329] (--) NVIDIA(GPU-0): 
[    26.359] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-4): connected
[    26.359] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-4): Internal TMDS
[    26.359] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-4): 600.0 MHz maximum pixel clock
[    26.359] (--) NVIDIA(GPU-0): 
[    26.389] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-5): connected
[    26.389] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-5): Internal TMDS
[    26.389] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-5): 600.0 MHz maximum pixel clock
[    26.389] (--) NVIDIA(GPU-0): 
[    26.413] (II) NVIDIA(0): Validated MetaModes:
[    26.413] (II) NVIDIA(0):    
[    26.413] (II) NVIDIA(0):     "DP-0:nvidia-auto-select+3000+420,HDMI-0:nvidia-auto-select+4920+420,HDMI-1:nvidia-auto-select+0+0{rotation=right},HDMI-2:nvidia-auto-select+1080+420"
[    26.413] (II) NVIDIA(0):     "HDMI-0:nvidia-auto-select+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1920x1080_60_0+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1920x1080_50+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1680x1050+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1600x900+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1440x900+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x1024+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x1024_60+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x800+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x720+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x720_60_0+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1280x720_50+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1152x864+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1024x768+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1024x768_70+0+0"
[    26.413] (II) NVIDIA(0):     "HDMI-0:1024x768_60+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:800x600+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:800x600_72+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:800x600_60+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:800x600_56+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:720x576+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:720x480+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:640x480+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:640x480_72+0+0"
[    26.414] (II) NVIDIA(0):     "HDMI-0:640x480_60+0+0"
[    26.414] (II) NVIDIA(0):    
[    26.414] (II) NVIDIA(0):     "HDMI-0:nvidia-auto-select+0+0{viewportin=1366x768,viewportout=1920x1079+0+0}"
[    26.414] (II) NVIDIA(0): Virtual screen size determined to be 6840 x 1920
[    26.419] (--) NVIDIA(0): DPI set to (93, 94); computed from "UseEdidDpi" X config
[    26.419] (--) NVIDIA(0):     option
[    26.419] (--) Depth 24 pixmap format is 32 bpp
[    26.421] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[    26.421] (II) NVIDIA:     access.
[    26.424] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    26.424] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    26.424] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    26.424] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    26.424] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    26.424] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    26.424] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    26.424] (II) NVIDIA(0):     Config Options in the README.
[    26.484] (II) NVIDIA(0): Setting mode "DP-0:nvidia-auto-select+3000+420,HDMI-0:nvidia-auto-select+4920+420,HDMI-1:nvidia-auto-select+0+0{rotation=right},HDMI-2:nvidia-auto-select+1080+420"
[    35.560] (==) NVIDIA(0): Disabling shared memory pixmaps
[    35.560] (==) NVIDIA(0): Backing store enabled
[    35.560] (==) NVIDIA(0): Silken mouse enabled
[    35.562] (**) NVIDIA(0): DPMS enabled
[    35.563] (II) Loading sub module "dri2"
[    35.563] (II) LoadModule: "dri2"
[    35.563] (II) Module "dri2" already built-in
[    35.563] (II) NVIDIA(0): [DRI2] Setup complete
[    35.563] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    35.563] (--) RandR disabled
[    35.566] (II) SELinux: Disabled on system
[    35.567] (II) Initializing extension GLX
[    35.567] (II) Indirect GLX disabled.
[    36.017] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    36.017] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    36.017] (II) LoadModule: "libinput"
[    36.029] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    36.065] (II) Module libinput: vendor="X.Org Foundation"
[    36.065]    compiled for 1.19.0, module version = 0.23.0
[    36.065]    Module class: X.Org XInput Driver
[    36.065]    ABI class: X.Org XInput driver, version 24.1
[    36.065] (II) Using input driver 'libinput' for 'Power Button'
[    36.065] (**) Power Button: always reports core events
[    36.065] (**) Option "Device" "/dev/input/event3"
[    36.065] (**) Option "_source" "server/udev"
[    36.065] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[    36.065] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[    36.092] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event3"
[    36.092] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    36.092] (**) Option "xkb_model" "pc105"
[    36.092] (**) Option "xkb_layout" "ch"
[    36.092] (**) Option "xkb_options" "ctrl:nocaps"
[    36.120] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[    36.120] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[    36.121] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    36.121] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    36.121] (II) Using input driver 'libinput' for 'Power Button'
[    36.121] (**) Power Button: always reports core events
[    36.121] (**) Option "Device" "/dev/input/event2"
[    36.121] (**) Option "_source" "server/udev"
[    36.121] (II) input device 'Power Button', /dev/input/event2 is tagged by udev as: Keyboard
[    36.121] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[    36.156] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0C:00/input/input5/event2"
[    36.156] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    36.156] (**) Option "xkb_model" "pc105"
[    36.156] (**) Option "xkb_layout" "ch"
[    36.156] (**) Option "xkb_options" "ctrl:nocaps"
[    36.157] (II) input device 'Power Button', /dev/input/event2 is tagged by udev as: Keyboard
[    36.157] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[    36.157] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event14)
[    36.157] (II) No input driver specified, ignoring this device.
[    36.158] (II) This device may have been added with another device file.
[    36.158] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event15)
[    36.158] (II) No input driver specified, ignoring this device.
[    36.158] (II) This device may have been added with another device file.
[    36.159] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event16)
[    36.159] (II) No input driver specified, ignoring this device.
[    36.159] (II) This device may have been added with another device file.
[    36.159] (II) config/udev: Adding input device HDA Intel Rear Mic (/dev/input/event7)
[    36.159] (II) No input driver specified, ignoring this device.
[    36.159] (II) This device may have been added with another device file.
[    36.160] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event8)
[    36.160] (II) No input driver specified, ignoring this device.
[    36.160] (II) This device may have been added with another device file.
[    36.160] (II) config/udev: Adding input device HDA Intel Line Out Front (/dev/input/event9)
[    36.160] (II) No input driver specified, ignoring this device.
[    36.160] (II) This device may have been added with another device file.
[    36.161] (II) config/udev: Adding input device HDA Intel Line Out Surround (/dev/input/event10)
[    36.161] (II) No input driver specified, ignoring this device.
[    36.161] (II) This device may have been added with another device file.
[    36.161] (II) config/udev: Adding input device HDA Intel Line Out CLFE (/dev/input/event11)
[    36.161] (II) No input driver specified, ignoring this device.
[    36.161] (II) This device may have been added with another device file.
[    36.162] (II) config/udev: Adding input device HDA Intel Line Out Side (/dev/input/event12)
[    36.162] (II) No input driver specified, ignoring this device.
[    36.162] (II) This device may have been added with another device file.
[    36.162] (II) config/udev: Adding input device HDA Intel Front Headphone (/dev/input/event13)
[    36.162] (II) No input driver specified, ignoring this device.
[    36.162] (II) This device may have been added with another device file.
[    36.163] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event5)
[    36.163] (II) No input driver specified, ignoring this device.
[    36.163] (II) This device may have been added with another device file.
[    36.163] (II) config/udev: Adding input device HDA Intel Front Mic (/dev/input/event6)
[    36.163] (II) No input driver specified, ignoring this device.
[    36.163] (II) This device may have been added with another device file.
[    36.164] (II) config/udev: Adding input device Logitech USB RECEIVER (/dev/input/event0)
[    36.164] (**) Logitech USB RECEIVER: Applying InputClass "libinput pointer catchall"
[    36.164] (II) Using input driver 'libinput' for 'Logitech USB RECEIVER'
[    36.164] (**) Logitech USB RECEIVER: always reports core events
[    36.164] (**) Option "Device" "/dev/input/event0"
[    36.164] (**) Option "_source" "server/udev"
[    36.165] (II) input device 'Logitech USB RECEIVER', /dev/input/event0 is tagged by udev as: Mouse
[    36.165] (II) Device 'Logitech USB RECEIVER' set to 800 DPI
[    36.165] (II) input device 'Logitech USB RECEIVER', /dev/input/event0 is a pointer caps
[    36.232] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:046D:C50E.0001/input/input3/event0"
[    36.232] (II) XINPUT: Adding extended input device "Logitech USB RECEIVER" (type: MOUSE, id 8)
[    36.232] (**) Option "AccelerationScheme" "none"
[    36.232] (**) Logitech USB RECEIVER: (accel) selected scheme none/0
[    36.232] (**) Logitech USB RECEIVER: (accel) acceleration factor: 2.000
[    36.232] (**) Logitech USB RECEIVER: (accel) acceleration threshold: 4
[    36.233] (II) input device 'Logitech USB RECEIVER', /dev/input/event0 is tagged by udev as: Mouse
[    36.233] (II) Device 'Logitech USB RECEIVER' set to 800 DPI
[    36.233] (II) input device 'Logitech USB RECEIVER', /dev/input/event0 is a pointer caps
[    36.234] (II) config/udev: Adding input device Logitech USB RECEIVER (/dev/input/mouse0)
[    36.234] (II) No input driver specified, ignoring this device.
[    36.234] (II) This device may have been added with another device file.
[    36.235] (II) config/udev: Adding input device CHICONY USB NetVista Full Width Keyboard (/dev/input/event1)
[    36.235] (**) CHICONY USB NetVista Full Width Keyboard: Applying InputClass "libinput keyboard catchall"
[    36.235] (II) Using input driver 'libinput' for 'CHICONY USB NetVista Full Width Keyboard'
[    36.235] (**) CHICONY USB NetVista Full Width Keyboard: always reports core events
[    36.235] (**) Option "Device" "/dev/input/event1"
[    36.235] (**) Option "_source" "server/udev"
[    36.235] (II) input device 'CHICONY USB NetVista Full Width Keyboard', /dev/input/event1 is tagged by udev as: Keyboard
[    36.235] (II) input device 'CHICONY USB NetVista Full Width Keyboard', /dev/input/event1 is a keyboard
[    36.272] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb6/6-2/6-2:1.0/0003:04B3:3025.0002/input/input4/event1"
[    36.272] (II) XINPUT: Adding extended input device "CHICONY USB NetVista Full Width Keyboard" (type: KEYBOARD, id 9)
[    36.272] (**) Option "xkb_model" "pc105"
[    36.272] (**) Option "xkb_layout" "ch"
[    36.272] (**) Option "xkb_options" "ctrl:nocaps"
[    36.273] (II) input device 'CHICONY USB NetVista Full Width Keyboard', /dev/input/event1 is tagged by udev as: Keyboard
[    36.273] (II) input device 'CHICONY USB NetVista Full Width Keyboard', /dev/input/event1 is a keyboard
[    36.273] (II) config/udev: Adding input device UVC Camera (046d:0825) (/dev/input/event17)
[    36.274] (**) UVC Camera (046d:0825): Applying InputClass "libinput keyboard catchall"
[    36.274] (II) Using input driver 'libinput' for 'UVC Camera (046d:0825)'
[    36.274] (**) UVC Camera (046d:0825): always reports core events
[    36.274] (**) Option "Device" "/dev/input/event17"
[    36.274] (**) Option "_source" "server/udev"
[    36.274] (II) input device 'UVC Camera (046d:0825)', /dev/input/event17 is tagged by udev as: Keyboard
[    36.274] (II) input device 'UVC Camera (046d:0825)', /dev/input/event17 is a keyboard
[    36.304] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/input/input20/event17"
[    36.304] (II) XINPUT: Adding extended input device "UVC Camera (046d:0825)" (type: KEYBOARD, id 10)
[    36.304] (**) Option "xkb_model" "pc105"
[    36.304] (**) Option "xkb_layout" "ch"
[    36.304] (**) Option "xkb_options" "ctrl:nocaps"
[    36.305] (II) input device 'UVC Camera (046d:0825)', /dev/input/event17 is tagged by udev as: Keyboard
[    36.305] (II) input device 'UVC Camera (046d:0825)', /dev/input/event17 is a keyboard
[    36.305] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[    36.305] (II) No input driver specified, ignoring this device.
[    36.305] (II) This device may have been added with another device file.
[    36.321] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): connected
[    36.321] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): Internal DisplayPort
[    36.321] (--) NVIDIA(GPU-0): Samsung S24E650 (DFP-2): 1440.0 MHz maximum pixel clock
[    36.321] (--) NVIDIA(GPU-0): 
[    75.776] (II) SYN_DROPPED event from "Logitech USB RECEIVER" - some input events have been lost.
[    89.776] (II) SYN_DROPPED event from "Logitech USB RECEIVER" - some input events have been lost.

这是我的xorg.conf

las@thinkpad:~$ cat /media/nicolas/86403a2e-46c5-4188-bede-d55bed56809d/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.87  (buildd@debian)  Tue Feb  5 22:28:34 UTC 2019

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 375.66  (buildd@debian)  Tue May 30 08:42:42 UTC 2017

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
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 "InputDevice"

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

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung S24E650"
    HorizSync       30.0 - 81.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1050"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "DP-0: nvidia-auto-select +3000+420, HDMI-0: nvidia-auto-select +4920+420, HDMI-1: nvidia-auto-select +0+0 {rotation=right}, HDMI-2: nvidia-auto-select +1080+420; HDMI-0: nvidia-auto-select +0+0; HDMI-0: 1920x1080_60_0 +0+0; HDMI-0: 1920x1080_50 +0+0; HDMI-0: 1680x1050 +0+0; HDMI-0: 1600x900 +0+0; HDMI-0: 1440x900 +0+0; HDMI-0: 1280x1024 +0+0; HDMI-0: 1280x1024_60 +0+0; HDMI-0: 1280x800 +0+0; HDMI-0: 1280x720 +0+0; HDMI-0: 1280x720_60_0 +0+0; HDMI-0: 1280x720_50 +0+0; HDMI-0: 1152x864 +0+0; HDMI-0: 1024x768 +0+0; HDMI-0: 1024x768_70 +0+0; HDMI-0: 1024x768_60 +0+0; HDMI-0: 800x600 +0+0; HDMI-0: 800x600_72 +0+0; HDMI-0: 800x600_60 +0+0; HDMI-0: 800x600_56 +0+0; HDMI-0: 720x576 +0+0; HDMI-0: 720x480 +0+0; HDMI-0: 640x480 +0+0; HDMI-0: 640x480_72 +0+0; HDMI-0: 640x480_60 +0+0; HDMI-0: nvidia-auto-select +0+0 {viewportin=1366x768, viewportout=1920x1079+0+0}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
debian nvidia
  • 1 个回答
  • 875 Views
Martin Hope
math
Asked: 2018-06-29 01:31:29 +0800 CST

在启动时执行命令以交换大写锁定和 ctrl

  • 3

我有点困惑为什么这没有按预期工作。我的目标是将大写锁定键映射到控制。我正在使用debian。为此,我使用以下命令

/usr/bin/setxkbmap -layout "$(setxkbmap -print | awk -F + '/xkb_symbols/ {print $2}')" -option ctrl:nocaps

如果我通过终端执行它,它工作得很好。但是,我希望在启动或登录时完成此操作,并始终手动执行。我尝试将此命令添加到 XFCE 中的自动启动会话应用程序中,并将该命令放入我的~/.profile. 但是,这两种选择似乎都不起作用。我仍然必须手动执行它(在正确映射之后)。我究竟做错了什么?

debian keyboard-shortcuts
  • 2 个回答
  • 2714 Views
Martin Hope
math
Asked: 2018-05-09 11:08:13 +0800 CST

如何通过 gpg 有效地加密备份

  • 2

我有以下问题。我目前需要将我的备份存储在像 Dropbox 这样的云解决方案上,因为我的本地 nas 坏了。这就是为什么我必须加密我的备份。我正在使用 rsnapshot 来生成它。

在 NAS 上我没有加密它,所以我没有经验。我所做的是,我压缩了最新的备份并通过 gpg 对其进行了简单的加密。但是,它仍在加密。我的备份大约是 50GB。我从来没有加密过这么大的文件。有没有办法更有效地加密这样的大文件,或者我做错了什么?

gpg rsnapshot
  • 1 个回答
  • 1769 Views
Martin Hope
math
Asked: 2018-05-07 11:24:28 +0800 CST

为什么我的系统将 /media 计入磁盘空间?

  • 0

我正在运行 debian

# uname -a
Linux thinkstation 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1 (2018-04-29) x86_64 GNU/Linux

/tmp今天启动后,我收到一个错误,系统由于空间不足而无法写入。所以我开始删除一些旧内核。我现在可以登录系统,但我仍然对系统磁盘空间的使用感到困惑:

# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            8.9G     0  8.9G   0% /dev
tmpfs           1.8G  9.4M  1.8G   1% /run
/dev/sda1        83G   78G  210M 100% /
tmpfs           8.9G  117M  8.8G   2% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           8.9G     0  8.9G   0% /sys/fs/cgroup
/dev/sda6       357G   48G  292G  14% /home
tmpfs           1.8G   20K  1.8G   1% /run/user/1000

如您所见,我的根分区似乎已满。这是我对系统进行分区的方式:

# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0  83.9G  0 part /
├─sda2   8:2    0     1K  0 part 
├─sda5   8:5    0  18.6G  0 part [SWAP]
└─sda6   8:6    0 363.2G  0 part /home
sr0     11:0    1  1024M  0 rom  

正如你所看到的,我已经将我的家与我的系统分开(以及一个单独的交换)。现在,如果我通过 ncdu 深入了解导致磁盘使用的原因,/我会得到以下图片:

在此处输入图像描述

正如你所看到的,/media它的金额最大。但是,这是我备份系统的外部 HD。那么为什么它被算作磁盘空间呢?有没有办法避免这种行为,或者我真的被迫删除一些旧备份?

debian disk-usage
  • 1 个回答
  • 67 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve