1. 程式人生 > >轉載:ubuntu防止看電影時螢幕鎖屏

轉載:ubuntu防止看電影時螢幕鎖屏

https://blog.ghostry.cn/technique/627.html


sudo add-apt-repository ppa:caffeine-developers/ppa

sudo apt-get update

sudo apt-get install caffeine

超酷的小程式.
安裝後有兩個程式可用.
一個是caffeine.當他執行的時候會自動看有沒有全屏程式.如果有就阻止鎖屏.
另一個是caffeine-indicator,他會在托盤顯示一個圖示.提供手動切換功能.