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

Fetts Vett's questions

Martin Hope
Fetts Vett
Asked: 2015-02-19 12:23:07 +0800 CST

每个工作空间的屏幕分辨率不同?

  • 5

我在我的 ubuntu 笔记本电脑上使用 i3-wm。我的屏幕尺寸是 3200x1800。这对某些事情来说很棒,但对其他事情来说却很糟糕。(Netflix 与 gvim)。

我想更改我的一个或多个工作空间的分辨率。但我不知道这是否可能......我可以使用康普顿来做这个或其他程序吗?

unity
  • 2 个回答
  • 1884 Views
Martin Hope
Fetts Vett
Asked: 2014-10-11 02:05:43 +0800 CST

将 Openbox 设置为在 QHD 屏幕上可读?

  • 6

我有一台 Samsung ATIV Book 9 Plus,它有一个 Quad HD (3200 x 1800) 屏幕。

不用说,缩放比例使字体变得超小且难以阅读。在 unity 中很容易调整窗口和字体比例。但是,在 openbox 或 i3 中,我不知道如何...

使用 xrandr 更改 DPI 会影响分辨率吗?我可以缩放窗口和字体以使其易于阅读吗?

我曾尝试使用 xrandr 更改帧缓冲区,但这只允许我使用屏幕的上角,这真的很烦人。

resolution
  • 1 个回答
  • 3366 Views
Martin Hope
Fetts Vett
Asked: 2014-10-01 07:29:30 +0800 CST

fluxbox 正在覆盖 nitrogen --restore?

  • 0

我的 ~/.fluxbox/startup 文件

#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.

# Change your keymap:
#xmodmap "/home/rapture/.Xmodmap"

# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
#
# Debian-local change:
#   - fbautostart has been added with a quick hack to check to see if it
#     exists. If it does, we'll start it up by default.
#which fbautostart > /dev/null
#if [ $? -eq 0 ]; then
#    fbautostart
#fi

nitrogen --restore &


# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.

exec fluxbox
# or if you want to keep a log:
# exec fluxbox -log "/home/rapture/.fluxbox/log"

不过,每次我重新启动 fluxbox 时,背景都会更改为默认设置或 fbsetbg 设置的设置。我有两个显示器,所以我真的很想用氮气来设置两个不同的墙纸。

这是我的 ~/.fluxbox/init

session.screen0.titlebar.left:  Stick 
session.screen0.titlebar.right: Minimize Maximize Close 
session.screen0.tabs.usePixmap: true
session.screen0.tabs.maxOver:   false
session.screen0.tabs.intitlebar:    true
session.screen0.iconbar.alignment:  Relative
session.screen0.iconbar.mode:   {static groups} (workspace)
session.screen0.iconbar.iconTextPadding:    10
session.screen0.iconbar.iconWidth:  128
session.screen0.iconbar.usePixmap:  true
session.screen0.toolbar.height: 0
session.screen0.toolbar.alpha:  255
session.screen0.toolbar.widthPercent:   100
session.screen0.toolbar.tools:  prevworkspace, workspacename, nextworkspace, clock, prevwindow, nextwindow, iconbar, systemtray
session.screen0.toolbar.maxOver:    false
session.screen0.toolbar.visible:    true
session.screen0.toolbar.onhead: 1
session.screen0.toolbar.layer:  Dock
session.screen0.toolbar.autoHide:   false
session.screen0.toolbar.placement:  RightTop
session.screen0.slit.acceptKdeDockapps: true
session.screen0.slit.alpha: 255
session.screen0.slit.maxOver:   false
session.screen0.slit.onhead:    0
session.screen0.slit.placement: RightBottom
session.screen0.slit.layer: Dock
session.screen0.slit.autoHide:  false
session.screen0.tab.placement:  TopLeft
session.screen0.tab.width:  64
session.screen0.menu.alpha: 255
session.screen0.window.focus.alpha: 255
session.screen0.window.unfocus.alpha:   255
session.screen0.clientMenu.usePixmap:   true
session.screen0.showwindowposition: false
session.screen0.workspaces: 4
session.screen0.maxDisableResize:   false
session.screen0.allowRemoteActions: false
session.screen0.tooltipDelay:   500
session.screen0.autoRaise:  true
session.screen0.strftimeFormat: %d %b, %a %02k:%M:%S
session.screen0.menuDelay:  200
session.screen0.fullMaximization:   false
session.screen0.focusModel: ClickFocus
session.screen0.tabFocusModel:  ClickToTabFocus
session.screen0.clickRaises:    true
session.screen0.focusSameHead:  false
session.screen0.focusNewWindows:    true
session.screen0.maxIgnoreIncrement: true
session.screen0.maxDisableMove: false
session.screen0.windowMenu: /home/rapture/.fluxbox/windowmenu
session.screen0.edgeSnapThreshold:  10
session.screen0.opaqueMove: true
session.screen0.defaultDeco:    NORMAL
session.screen0.workspaceNames:  1, 2, 3, Let's Jam,
session.screen0.noFocusWhileTypingDelay:    0
session.screen0.rowPlacementDirection:  LeftToRight
session.screen0.colPlacementDirection:  TopToBottom
session.screen0.windowPlacement:    RowMinOverlapPlacement
session.screen0.workspacewarping:   true
session.styleFile:  /usr/share/fluxbox/styles/Makro
session.colorsPerChannel:   4
session.autoRaiseDelay: 250
session.forcePseudoTransparency:    false
session.ignoreBorder:   false
session.appsFile:   /home/rapture/.fluxbox/apps
session.configVersion:  13
session.cacheLife:  5
session.slitlistFile:   /home/rapture/.fluxbox/slitlist
session.cacheMax:   200
session.tabsAttachArea: Window
session.tabPadding: 0
session.keyFile:    ~/.fluxbox/keys
session.menuFile:   ~/.fluxbox/menu
session.styleOverlay:   /home/rapture/.fluxbox/overlay
session.doubleClickInterval:    250

.

rapture@rapture:~/.fluxbox$ cat overlay 
! The following line will prevent styles from setting the background.
! background: none

.

rapture@rapture:~/.fluxbox$ cat /usr/share/fluxbox/styles/Makro
# "Makro"
# A Fluxbox theme by: skypher of perplexity
# 2001

toolbar:                             Gradient Vertical Sunken
toolbar.color:                       rgb:CC/CC/AA

toolbar.button:                      Flat Solid
toolbar.button.color:                rgb:AB/90/40
toolbar.button.picColor:             rgb:50/30/10

toolbar.button.pressed:              Sunken Flat
toolbar.button.pressed.color:        rgb:90/70/20

toolbar.clock:                       Flat
toolbar.clock.color:                 rgb:AB/90/40
toolbar.clock.textColor:             rgb:40/20/05

toolbar.label:                       Flat
toolbar.label.color:                 rgb:AB/90/40
toolbar.label.textColor:             rgb:40/20/05

toolbar.windowLabel:                 Flat
toolbar.windowLabel.color:           rgb:AB/90/40
toolbar.windowLabel.textColor:       rgb:40/20/05

toolbar.justify:                     Left

menu.title:                          Raised Flat
menu.title.color:                    rgb:AB/90/40
menu.title.textColor:                rgb:40/20/05
menu.title.justify:                  Left

menu.frame:                          Gradient PipeCross
menu.frame.color:                    rgb:CC/CC/AA
menu.frame.colorTo:                  rgb:AB/AA/90
menu.frame.textColor:                rgb:10/10/01
menu.frame.justify:                  Right

menu.hilite:                         Flat
menu.hilite.color:                   rgb:DF/CF/BF
menu.hilite.textColor:               rgb:00/00/00

menu.bullet:                         Square
menu.bullet.position:                Right


window.title.focus:                  Gradient Vertical Sunken
window.title.focus.color:            rgb:CC/CC/AA

window.title.unfocus:                Gradient Vertical Sunken
window.title.unfocus.color:          rgb:AC/AC/90

window.label.focus:                  Solid Flat
window.label.focus.color:            rgb:AB/90/40
window.label.focus.textColor:        rgb:40/20/05

window.label.unfocus:                Flat Solid
window.label.unfocus.color:          rgb:AA/80/30
window.label.unfocus.textColor:      rgb:45/25/10

window.button.focus:                 Flat Solid
window.button.focus.color:           rgb:AC/99/50
window.button.focus.picColor:        rgb:40/20/05

window.button.unfocus:               Flat Solid
window.button.unfocus.color:         rgb:AA/80/30
window.button.unfocus.picColor:      rgb:45/25/10

window.button.pressed:               Sunken Solid
window.button.pressed.color:         rgb:90/70/20

window.frame.focus:                  Flat
window.frame.focus.color:            rgb:00/00/00
window.frame.unfocus:                Flat
window.frame.unfocus.color:          rgb:10/10/10

window.handle.focus:                 Sunken Solid
window.handle.focus.color:           rgb:AC/99/50
window.handle.unfocus:               Flat Solid
window.handle.unfocus.color:         rgb:AA/80/30

window.grip.focus:                   Sunken Gradient Diagonal Interlaced
window.grip.focus.color:             rgb:AC/99/50
window.grip.focus.colorTo:           rgb:AA/80/30
window.grip.unfocus:                 Raised Gradient Diagonal
window.grip.unfocus.color:           rgb:AA/80/30
window.grip.unfocus.colorTo:         rgb:AC/99/50

! ----------- tab - explicit for fluxbox, the best wm out there[tm] (;
window.tab.justify:                  Center
window.tab.label.unfocus:            Flat Solid
window.tab.label.unfocus.color:      rgb:AA/80/30
window.tab.label.unfocus.textColor:  rgb:45/25/10
window.tab.label.focus:              Solid Flat
window.tab.label.focus.color:        rgb:AB/90/40
window.tab.label.focus.textColor:    rgb:40/20/05
window.tab.borderWidth:              1
window.tab.borderColor:              rgb:10/10/10
! ----------- (fluxbox.sourceforge.net)
window.tab.font:                     -*-helvetica-medium-r-*-*-11-*-*-*-*-*-iso8859-*

window.justify:                      Left

toolbar.font:                        -*-helvetica-medium-r-*-*-11-*-*-*-*-*-iso8859-*
window.font:                         -*-helvetica-bold-r-*-*-11-*-*-*-*-*-iso8859-*
menu.title.font:                     -*-helvetica-bold-r-*-*-11-*-*-*-*-*-iso8859-*
menu.frame.font:                     -*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-*

borderColor:                         rgb:10/10/10

bevelWidth:                          2
borderWidth:                         1
handleWidth:                         3

background: flat
xorg
  • 1 个回答
  • 490 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