ARTS-No.6
Algorithm
27. 移除元素
1 | class Solution { |
执行用时: 0ms, 内存消耗: 35.3MB.
1 | class Solution { |
执行用时: 0ms, 内存消耗: 35.3MB.
1 | class Solution { |
执行用时: 1ms, 内存消耗: 41.5MB.
在 Ubuntu 下我们经常会使用 Wine 或者 Crossover 运行 Windows 应用程序. 当应用程序切换到后台时, 是无法响应预设的全局快捷键的. 比如”打开微信”的快捷键 ctrl + alt + w 在这种情况下就无法响应.
我们可以借助一个小工具 xdotool 来解决这个问题.
注:
直接在命令行运行以下命令即可:
1 | sudo apt install --no-install-recommends xdotool |