通过终端打开/关闭Mojave的屏幕快照预览缩略图

时间:2019-03-25 07:55:47

标签: bash macos terminal macos-mojave

如何通过终端命令select (sysdate) day_of_current_month, TRUNC(sysdate, 'mm') month_start_date, ADD_MONTHS(sysdate,-1) day_of_last_month, ADD_MONTHS(TRUNC(sysdate, 'mm'),-1) start_of_last_month from dual; / show macOS Mojave屏幕截图预览浮动缩略图?

enter image description here

2 个答案:

答案 0 :(得分:1)

要关闭该功能,请执行:

# from https://docs.python.org/3/library/itertools.html#itertools-recipes
from itertools import zip_longest
def grouper(iterable, n, fillvalue=None):
    "Collect data into fixed-length chunks or blocks"
    # grouper('ABCDEFG', 3, 'x') --> ABC DEF Gxx"
    args = [iter(iterable)] * n
    return zip_longest(*args, fillvalue=fillvalue)

[a1 * b1 for a4, b1 in zip(grouper(a, 4), b) for a1 in a4]

重新打开

defaults write com.apple.screencapture show-thumbnail -bool FALSE

答案 1 :(得分:0)

为使更改在键入命令show-thumbnail -bool FALSE后生效,用户应使用bash命令SystemUIServer重新启动killall服务:

defaults write com.apple.screencapture show-thumbnail -bool FALSE

killall SystemUIServer

希望这会有所帮助。