十年前的32位笔记本使用平铺桌面管理工具i3跑得飞快

旧笔记本

  • 家里有一台配置很低的笔记本,买了已经有将近十年了。

    • cpu还是32位的。
    • 系统目前安装的是manjaro32,目前这个系统已经不支持更新了。
    • 桌面管理系统用的i3。
  • 这台电脑目前能够胜任我日常的以下主要用:
    • 写写文章
    • 远程linux、windows
    • 用vim写写代码
    • 用chromium看看电影
    • 偶尔用用web版本聊天工具
    • 听听音乐

分享一下旧笔记本的i3wm配置

$ cat config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
## i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!set $mod Mod4
#set $mod Mod1# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-appletexec --no-startup-id fcitx# exec --no-startup-id compton -b #开机自启# polybar
#exec_always --no-startup-id $HOME/.config/polybar/launch.sh# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod# start a terminal
bindsym $mod+Return exec i3-sensible-terminal# flameshot for screenshot
bindsym Print --release exec /usr/bin/flameshot gui
for_window[class="flameshot"] floating enable# kill focused window
bindsym $mod+Shift+q kill# start dmenu (a program launcher)
#bindsym $mod+d exec dmenu_run
bindsym $mod+d exec rofi -show run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop# change focus
# bindsym $mod+j focus left
# bindsym $mod+k focus down
# bindsym $mod+l focus up
# bindsym $mod+semicolon focus rightbindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right# move focused window
# bindsym $mod+Shift+j move left
# bindsym $mod+Shift+k move down
# bindsym $mod+Shift+l move up
# bindsym $mod+Shift+semicolon move rightbindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right# split in horizontal orientation
# bindsym $mod+h split h
bindsym $mod+n split h# split in vertical orientation
bindsym $mod+v split v# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split# toggle tiling / floating
bindsym $mod+Shift+space floating toggle# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle# focus the parent container
bindsym $mod+a focus parent# focus the child container
#bindsym $mod+d focus child# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
# set $ws1 "1"
# set $ws2 "2"
# set $ws3 "3"
# set $ws4 "4"
# set $ws5 "5"
# set $ws6 "6"
# set $ws7 "7"
# set $ws8 "8"
# set $ws9 "9"
# set $ws10 "10"
set $ws1 "1:doc"
set $ws2 "2:terminal"
set $ws3 "3:project"
set $ws4 "4:chromium"
set $ws5 "5:dev"
set $ws6 "6:rdesktop"
set $ws7 "7:video"
set $ws8 "8:music"
set $ws9 "9:email"
set $ws10 "10:temp"# Open applications on specific workspaces
assign [class="emacs"] $ws1
assign [class="libreoffice"] $ws1
assign [class="firefox"] $ws4
assign [class="chromium"] $ws4
assign [class="Chrome"] $ws4
assign [class="chrome"] $ws4
assign [class="google-chrome-stable"] $ws4
assign [class="vlc"] $ws7# switch to workspace
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym $mod+5 workspace number $ws5
bindsym $mod+6 workspace number $ws6
bindsym $mod+7 workspace number $ws7
bindsym $mod+8 workspace number $ws8
bindsym $mod+9 workspace number $ws9
bindsym $mod+0 workspace number $ws10# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number $ws1
bindsym $mod+Shift+2 move container to workspace number $ws2
bindsym $mod+Shift+3 move container to workspace number $ws3
bindsym $mod+Shift+4 move container to workspace number $ws4
bindsym $mod+Shift+5 move container to workspace number $ws5
bindsym $mod+Shift+6 move container to workspace number $ws6
bindsym $mod+Shift+7 move container to workspace number $ws7
bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"# resize window (you can also use the mouse for that)
mode "resize" {# These bindings trigger as soon as you enter the resize mode# Pressing left will shrink the window’s width.# Pressing right will grow the window’s width.# Pressing up will shrink the window’s height.# Pressing down will grow the window’s height.# bindsym j resize shrink width 10 px or 10 ppt# bindsym k resize grow height 10 px or 10 ppt# bindsym l resize shrink height 10 px or 10 ppt# bindsym semicolon resize grow width 10 px or 10 pptbindsym h resize shrink width 10 px or 10 pptbindsym j resize grow height 10 px or 10 pptbindsym k resize shrink height 10 px or 10 pptbindsym l resize grow width 10 px or 10 ppt# same bindings, but for the arrow keysbindsym Left resize shrink width 10 px or 10 pptbindsym Down resize grow height 10 px or 10 pptbindsym Up resize shrink height 10 px or 10 pptbindsym Right resize grow width 10 px or 10 ppt# back to normal: Enter or Escape or $mod+rbindsym Return mode "default"bindsym Escape mode "default"bindsym $mod+r mode "default"
}bindsym $mod+r mode "resize"# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {status_command i3status
}

i3status配置

$ cat .i3status.conf
# i3status configuration file.
# see "man i3status" for documentation.# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!general {colors = trueinterval = 5color_good = "#2AA198"color_bad = "#586E75"color_degraded = "#DC322F"
}#order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
#cpu温度状态
order += "cpu_temperature 0"
#cpu使用率
order += "cpu_usage"
order += "battery all"
order += "disk /"
order += "load"
order += "memory"
order += "tztime local"
wireless _first_ {format_up = "W:(%quality at %essid) %ip"format_down = "W:down"
}ethernet _first_ {format_up = "E:%ip(%speed)"format_down = "E:down"
}battery all {format = "B:%status %percentage %remaining"
}disk "/" {format = "%avail"
}load {format = "%1min"
}memory {
#   format = "%used | %available"
#    format = "%used/%total"format = "%available/%total"threshold_degraded = "500M"
#    threshold_degraded = "1G"format_degraded = "MEMORY<%available"
}tztime local {format = "%Y-%m-%d %H:%M:%S %A"
}cpu_usage {format = "C:%usage"
}cpu_temperature 0 {
#   format = "T:%degrees °C"format = "T:%degrees°C"max_threshold = 65
#   path = "/sys/devices/platform/coretemp.0/temp1_input"path = "/sys/class/thermal/thermal_zone0/temp"
}

桌面截图:

十年前的32位笔记本使用平铺桌面管理工具i3跑得飞快相关推荐

  1. 七日杀16.1 服务器修改器,七日杀三十二项32位修改器_七日杀 a16.1b1多功能三十二项修改器-66街机网...

    资源说明: 七日杀 a16.1b1多功能三十二项修改器32位[潇潇蓝龙],由"潇潇蓝龙"制作,一款全功能修改器,基本上是全能力开关,支持任意调整生物伤害.方块距离.生物距离.体力消 ...

  2. wpf窗口向左向上_PaperWM:GNOME 下的平铺窗口管理

    我使用 Gnome 已有很长时间了,但是我仍然有点想念平铺窗口管理器.六个月前,一个朋友告诉我有关 PaperWM 的消息,它使你可以在 Gnome 中平铺窗口!我立即安装了它,并从那时起我一直在使用 ...

  3. linux如deepin manjaro对笔记本电脑电池的伤害解决方案:TLP:一个可以延长 Linux 笔记本电池寿命的高级电源管理工具

    TLP:一个可以延长 Linux 笔记本电池寿命的高级电源管理工具 笔记本电池是针对 Windows 操作系统进行了高度优化的,当我在笔记本电脑中使用 Windows 操作系统时,我已经意识到这一点, ...

  4. 在32位的linux平台上为Oracle配置1.7GB的SGA

    在没有任何附加改动的情况下,32位linux上Oracle对SGA的默认配置最大为1.7GB .在微小改动的情况下,可以分配最大占用2.7GB RAM空间的SGA.如果大小要超过4GB就要做其他改动. ...

  5. 网页背景平铺_在大约十秒钟内为网页创建无缝平铺背景

    网页背景平铺 Creating a background image for your webpage (or desktop background) isn't challenging at all ...

  6. windows远程桌面管理工具下载_vnc viewer 64位下载,3步实现vnc viewer 64位下载

    因为工作原因,所以经常会使用vnc viewer软件,但由于电脑版本问题,所以很多时候都需要下载64位vnc viewer软件,那如何下载vnc viewer 64位软件呢?现在,让小编教你如何3步实 ...

  7. html5中平铺图片,HTML布局排版2 div的和图片平铺方便管理

    在HTML里,由于浏览器显示器等差异,浏览器的宽度也会有变化,为了适应不同的宽度,需要用到平铺. 例如页面前面的固定的条等,如果是纯色,可以用背景色,如果不是纯色,是渐变等,可以用条状图平铺. 常见的 ...

  8. 联想g510升级换什么cpu好_老兵不死,十年前的联想 Y450 笔记本复活记

    如果你是一个接触笔记本电脑比较早的用户,那么联想小Y的大名你一定不会陌生,作为联想旗下较为成功的产品线,彪悍的小Y在几年前就打出了名堂,而小Y系列笔记本里面又以 Y450 最为经典,Y450 引入 N ...

  9. PE安装Win8纯净版教程【附Win864/32位系统下载地址以及系统激活工具和解压软件安装包】

    Windows8/64位专业版下载地址:http://pan.baidu.com/s/1hrIpDru 密码:aepu

最新文章

  1. 取代MybatisPlus?阿里推出了新 ORM 框架!(两者对比参考)
  2. Flutter从0基础到App上线
  3. Opengl-基本概念-转换矩阵坐标系(最难理解的两章)
  4. QLoo推出用于现有服务的GraphQL接口
  5. 传统产业已死,新的产业在何方?
  6. 如何写出优雅的API
  7. JVM如何判断类相同
  8. LintCode刷题:有效数字
  9. 趣味思考--苹果剩余最大量
  10. uigetfile使用方法
  11. 一文带你搞定AOP切面
  12. 195-Redigo基本操作mget-mset
  13. 联想小新安装windows 7
  14. 阿里iDST NLP负责人司罗:NLP技术怎样一路走到阿里云
  15. 苹果计算机手机号隐藏功能,苹果手机的四大隐藏功能,很多人都不知道,一起来一探究竟...
  16. 浏览器打开默认极速模式
  17. 数据中台技术架构方案
  18. 用HTML/CSS制作个人简历
  19. 解决电商订单与支付大数据量的解决方案
  20. 互联网+下的慧算账体验式营销

热门文章

  1. python中字典类型使用与说明
  2. 【JavaScript】基础教程
  3. PS5又被挑到毛病 这次是HDMI2.1实测残血
  4. 《预训练周刊》第47期:屏蔽自编码器、结构化知识注入预训练、ERNIE 3.0
  5. css建画布,css画布
  6. matlab识别验证码详解,MATLAB简易验证码识别程序介绍
  7. cydia 更新后 进入 显示 “无法加载 不被信任的服务器证书”
  8. God is a 程序猿
  9. stm32h745i 双核工作原理解析
  10. Linux对组的操作(创建/删除/添加成员...)