Skip to main content

Posts

Showing posts from January 24, 2021

How to deal with dmesg timestamps

  By default dmesg command print kernel ring buffer using the timestamp for each logged message. It is easy to change this behavior and display date/time in a human-readable form using just one additional parameter. Still, sometimes it is not supported, so I will shortly touch upon this topic. $ dmesg [...] [ 1.028871] Linux agpgart interface v0.103 [ 1.028940] agpgart-intel 0000:00:00.0: Intel Sandybridge Chipset [ 1.028999] agpgart-intel 0000:00:00.0: detected gtt size: 2097152K total, 262144K mappable [ 1.029857] agpgart-intel 0000:00:00.0: detected 65536K stolen memory [...] How to convert timestamps to human-readable form? The easiest way is to use -T or --ctime parameter. $ dmesg -T [...] [Sat Oct 19 12:43:26 2013] Linux agpgart interface v0.103 [Sat Oct 19 12:43:26 2013] agpgart-intel 0000:00:00.0: Intel Sandybridge Chipset [Sat Oct 19 12:43:26 2013] agpgart-intel 0000:00:00.0: detected gtt size: 2097152K total, 262144K mappable [Sat Oct 19 12:43:26

标 题: 我非常讨厌slack

 发信人: newbies0001 (newbies), 信区: JobHunting 标  题: 我非常讨厌slack 发信站: BBS 未名空间站 (Wed Jan 27 13:30:49 2021, 美东) 以前大家用邮件,或者skype什么的,还能给人一个喘息的机会。一个邮件半小时再回 不是什么问题。一条单独的IM回复起来也完全可以handle。现在slack, 五个人恨不能 能拉出来十五个channel, 此起彼伏的notification,这个@完那个@, 有时候@here, 整 个人不得喘息。一天天的,光处理slack里的事情都处理不完。而且这种软件设计的就 是让你立刻马上现在就要有回应。现在居家工作更是如此,上厕所要带着手机,洗澡的 时候旁边也要开着notification。非常疲惫极度厌烦。以前说technology set you free, 我觉得现在高科技带来了很多低生活。cyberpunk本是一个未来概念,现在提前 了太多太多了。

How to change capslock and other keymapping in deepin linux

 0. Background I am new to Deepin Linux, and I am a Vim user. The capslock key annoys me, I just learned how to re-map it in the Deepin way. 1. To change mapping of Caps Lock, do this fist: gsettings set com.deepin.dde.keybinding.mediakey capslock '[]' Copy the Code 2. Then, you can re-map capslock with prefered layout-options. Swap Caps Lock and Esc: gsettings set com.deepin.dde.keyboard layout-options '["caps:swapescape"]' Copy the Code Map Caps Lock to Esc: gsettings set com.deepin.dde.keyboard layout-options '["caps:escape"]' Copy the Code Disable Caps Lock: gsettings set com.deepin.dde.keyboard layout-options '["caps:none"]' Copy the Code It works immediately on my Thinkpad X1 Carbon, without logout or restart.If you want to learn more about this topic, keep reading. 3. Get all layout-options: localectl list-x11-keymap-options Copy the Code 4. Get all layout-options for capslock only: