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

Michael Durrant's questions

Martin Hope
Michael Durrant
Asked: 2020-11-29 10:15:16 +0800 CST

当我使用 ctrl-s 错误地保存在 vim 中时,如何恢复我的终端 vim 窗口?

  • 1

我最近一直在使用 Visual Studio 代码,并且像很多 IDE 一样,您可以习惯使用 CTRL-S 来保存,因为它比使用“esc :w”更快 - 如果您像我一样使用 vim 绑定。

但是,当我现在在 VScode 之外使用普通终端窗口并使用 vim 时,我忘记了我不在 VS 代码中,我使用 ctrl-s,不幸的是它似乎冻结了终端窗口,我还没有找到恢复它的方法. 目前我必须杀死终端窗口,然后恢复文件。

如何从ctrl-s冻结中恢复?

vim command-line vi
  • 1 个回答
  • 478 Views
Martin Hope
Michael Durrant
Asked: 2020-11-21 10:47:58 +0800 CST

如何截屏浏览器书签下拉菜单?

  • 2

如何捕获显示图标(图标)和其中书签名称的 chrome 浏览器书签栏下拉菜单?

在我的 chrome 浏览器中,我使用书签以及其中包含书签的书签文件夹。
像这样:

在此处输入图像描述

这是关于捕获其中一个具有 8 个书签的文件夹的外观,当单击该文件夹并显示其中的所有书签时。我想捕捉下拉列表的外观(主要是在我的案例中查看所有不同的网站图标)。如果我使用延迟功能,然后使用下拉菜单,则在时间延迟后根本不会捕获它,并且菜单仍然打开。
更严重的是,如果我使用鼠标并先单击打开菜单,然后继续使用 shift-print screen,它实际上会使我的桌面环境崩溃,现在,例如,所有窗口窗格标题都显示十字准线,但我无法“逃避” ' 以任何方式。我目前使用键盘 ctrl-alt-delete 方法注销并重新登录以解决此问题。呵呵。

我已经尝试过 printscreen 窗口并按区域打印和延迟,但这些都没有帮助。延迟有效,但没有捕捉到我在截屏时打开的下拉菜单。

screenshot
  • 4 个回答
  • 606 Views
Martin Hope
Michael Durrant
Asked: 2019-12-25 08:32:05 +0800 CST

gedit 文本窗口打开时只有 2 行可见 - 如何修复?

  • -1

突然间,我的 gedit 新文本窗口打开为一个细的 2 行窗口。

在此处输入图像描述

我没有在首选项中找到设置。


如何更改此设置以便新窗口正常打开(我认为最后一个窗口的大小是以前的行为)以便新窗口更多窗户


gedit
  • 1 个回答
  • 74 Views
Martin Hope
Michael Durrant
Asked: 2019-11-24 04:49:45 +0800 CST

如何将*我自己的*桌面图片添加到 19.04?[复制]

  • 2
这个问题在这里已经有了答案:
在 Ubuntu 18.04 中将桌面壁纸更改为自定义照片 1 个回答
如何创建桌面墙纸幻灯片? (20 个回答)
2年前关闭。

当我去改变背景时,我可以选择系统图片。

在此处输入图像描述

我如何添加到这些图片中,例如从我的电脑中挑选?
我看到图片在/usr/share/backgrounds
但我没有权限将图片粘贴到他们的图片中(顺便说一句,我是管理员)

desktop-environments background
  • 2 个回答
  • 105 Views
Martin Hope
Michael Durrant
Asked: 2019-11-22 15:35:16 +0800 CST

如何在没有超级缩进问题的情况下将代码粘贴到 vim

  • 0

我粘贴到 gedit 文本编辑器中,没关系(在左侧)。

但是当我粘贴到 vim(在右侧)中时,我得到了奇怪的“缩进太多”的问题。此外,选择所有文本并使用它也不能立即修复=

这对于python代码顺便说一句,我现在将检查ruby - 完成,ruby没有问题,但是无论如何,ruby outdents无论如何都以这种语言的不同方法结束。

在此处输入图像描述

vim command-line vi
  • 1 个回答
  • 319 Views
Martin Hope
Michael Durrant
Asked: 2019-07-02 09:49:33 +0800 CST

为什么*一些* mp4 文件在一台 ubuntu 机器上正常播放而其他显示不可读的静态模式

  • 2

我所有的 mp4 都可以在我的桌面 Ubuntu 18.04 上观看。

但是当我将它们转移到我的笔记本电脑 Ubuntu 18.04 时,它们会显示以下模式。

尽管事实上当我在笔记本电脑上本地录制 mp4 视频时,我可以毫无问题地重播它们。

当我将它们“从”mp4“转换为”mp4(即相同格式)时,最令人困惑的是,这可以解决它。新的输出是可见的。

怎么修?

在此处输入图像描述

video mp4
  • 1 个回答
  • 377 Views
Martin Hope
Michael Durrant
Asked: 2017-05-14 04:05:58 +0800 CST

软件更新程序失败,需要在新的 Ubuntu 16.04 安装中安装不受信任的软件包

  • 0

当我点击 在此处输入图像描述

首先我看到

在此处输入图像描述

仅供参考,我绝对在线。

当我单击“确定”时,我得到了这个: 在此处输入图像描述

当我单击立即安装时,我得到了这个: 在此处输入图像描述

当我单击确定时,窗口就会关闭。

如果我单击设置,我必须进行身份验证,然后我会看到: 在此处输入图像描述

如何让软件更新程序正常工作?

package-management
  • 2 个回答
  • 297 Views
Martin Hope
Michael Durrant
Asked: 2016-06-27 05:34:58 +0800 CST

如何使 vim 代码折叠颜色更具可读性

  • 2

我在 vim 中使用代码折叠,例如 za、zc、zR、ZM

但是当代码被折叠时,产生的颜色 - 白色上的浅蓝色对我来说很难阅读,对比度很差

在此处输入图像描述

我尝试更改我的个人资料的浅蓝色

在此处输入图像描述

变红

在此处输入图像描述

并开始新的窗口,但我仍然得到白色的浅蓝色

如何使代码折叠上的白色浅蓝色变为白色上的红色?

gnome-terminal
  • 1 个回答
  • 2232 Views
Martin Hope
Michael Durrant
Asked: 2015-05-21 08:06:53 +0800 CST

我的亮度控制不起作用(Ubuntu 14.04),如何解决?

  • 0

我使用按钮或用户界面,但亮度没有改变。

我需要更改什么才能使亮度正常工作?

如果相关,我正在使用东芝超极本。

brightness
  • 1 个回答
  • 84 Views
Martin Hope
Michael Durrant
Asked: 2014-08-24 09:52:51 +0800 CST

为什么我从 Ubuntu 13 升级后在 Ubuntu 14 中会出现这些 .vimrc 错误?

  • 4

当我尝试使用 vim 时,我收到所有这些命令的错误(尽管 vim 然后工作):

autocmd BufWritePre *.rb :%s/\s\+$//e
set filetype off
filetype plugin on
filetype indent on
syntax on " Turn on syntax highlighting
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
autocmd BufWinLeave * call clearmatches()
let mapleader = ","
set foldmethod=indent   "fold based on indent
set foldnestmax=10      "deepest fold is 10 levels
set nofoldenable        "dont fold by default
set foldlevel=1         "what I use
let loaded_matchparen = 1 " MDD Turn off matching bracket " Ubuntu14 filetype plugin indent on    " required

如果我在我的 .vimrc 中注释掉这些行,我不会收到任何错误。

但我怀疑我现在可能已经“丢失”了这些设置。

在 Ubuntu 13 中,它们或 vim 中是否有不同的形式?

错误:

三类:

  • 抱歉,该命令在此版本中不可用
  • 不支持的选项
  • 未知选项

细节:

$ vi .vimrc
Error detected while processing /home/durrantm/.vimrc:
line   20:
E319: Sorry, the command is not available in this version: autocmd BufWritePre *.rb :%s/\s\+$//e
line   24:
E519: Option not supported: filetype 
line   25:
E319: Sorry, the command is not available in this version: filetype plugin on
line   26:
E319: Sorry, the command is not available in this version: filetype indent on
line   27:
E319: Sorry, the command is not available in this version: syntax on " Turn on syntax highlighting
line   37:
E319: Sorry, the command is not available in this version: match ExtraWhitespace /\s\+$/
line   38:
E319: Sorry, the command is not available in this version: autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
line   39:
E319: Sorry, the command is not available in this version: autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@
<!$/
line   40:
E319: Sorry, the command is not available in this version: autocmd InsertLeave * match ExtraWhitespace /\s\+$/
line   41:
E319: Sorry, the command is not available in this version: autocmd BufWinLeave * call clearmatches()
line   48:
E319: Sorry, the command is not available in this version: let mapleader = ","
line   52:
E518: Unknown option: foldmethod=indent
line   53:
E518: Unknown option: foldnestmax=10
line   54:
E518: Unknown option: nofoldenable
line   55:
E518: Unknown option: foldlevel=1
line   57:
E319: Sorry, the command is not available in this version: let loaded_matchparen = 1 " MDD Turn off matching brac
ket highlighting.
line   58:
E319: Sorry, the command is not available in this version: filetype plugin indent on
14.04
  • 1 个回答
  • 7361 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