我正在使用 Ubuntu 14.04,我希望强制特定程序以预定的屏幕分辨率运行,并在关闭程序后让屏幕恢复到我的默认分辨率。该程序是Brackets 文本编辑器,当我以 1024*768 运行 Brackets 时,扩展管理器未完全显示,如下图所示。
它在 1280*1024 下显示良好,但对我的眼睛来说非常不舒服。
这是我的xrandr命令输出:
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
VGA1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 340mm x 255mm
1600x1200 74.8
1280x1024 85.0 75.0
1024x768 85.0 75.1* 70.1 60.0
1024x768i 87.1
832x624 74.6
800x600 85.1 72.2 75.0 60.3 56.2
640x480 85.0 75.0 72.8 66.7 60.0
720x400 87.8 70.1
VIRTUAL1 disconnected (normal left inverted right …Run Code Online (Sandbox Code Playgroud) 我试图控制 Ubuntu 14.4.1 Launcher 的行为。我希望它在每次我有像 firefox maxmaized 这样的浏览器窗口时自动隐藏。我找到了这个解决方案:
#!/bin/bash
## Change value of "hide" to the command which worked for you to hide the panel
hide='gsettings set com.canonical.Unity2d.Launcher hide-mode 1;'
## Change value of "show" to the command which worked for you to show the panel when it was hidden
show='gsettings set com.canonical.Unity2d.Launcher hide-mode 0;'
## Look for the grep value, add a new browser or application name followed by "\|" eg: 'firefox\|google\|chromium'
while [ 1 ]
do z=$(wmctrl -l …Run Code Online (Sandbox Code Playgroud) 安装新显卡(Radeon HD 3450)后,Ubuntu 14.04 不断随机注销,例如,当我使用命令时它会注销:
unity --replace && setsid unity
我尝试安装 propitiatory 驱动程序,但它崩溃了我的统一桌面,我的系统在命令行模式下运行,所以我不得不重新安装系统。
scripts ×2
14.04 ×1
bash ×1
command-line ×1
display ×1
drivers ×1
gnome-shell ×1
icons ×1
launcher ×1
logout ×1
resolution ×1
screen ×1
shortcuts ×1
unity ×1
window ×1