跳到主要內容

修改視窗的按鈕位置

進入Ubuntu後,按 Alt + F2。開啟命令列視窗。
在命令列裡輸入 gconf-editor










然後依下列順序展開 / => apps => metacity => general => button_layout






















編輯 button_layout 的值

close,minimize,maximize:menu

改成

menu:minimize,maximize,close

就會把按鈕改至右邊,而且順序由右至左也會變成 最小化, 最大化, 關閉
如果不想看到 白色點 的選單,就把 menu 拿掉(冒號要保留)

:minimize,maximize,close

這樣就可以了(如下圖,按鈕移至右邊了)

留言

這個網誌中的熱門文章

Goose - a database migration tool for Go 資料庫遷移工具

Goose Go 語言下,好用的資料庫遷移工具。特別是跟同事協同開發時,做好資料庫版本管理的好幫手。除了用 SQL 外,你也可以自己產生對映的 Go 程式。 Goose is a database migration tool. Manage your database schema by creating incremental SQL changes or Go functions. github repo. (程式庫連結) https://github.com/pressly/goose Install (安裝) $ go get -u github.com/pressly/goose/cmd/goose Usage (語法) kz@KZ ~/Blogger/bloggerfiles (master) $ goose Usage: goose [OPTIONS] DRIVER DBSTRING COMMAND Drivers: postgres mysql sqlite3 redshift Examples: goose sqlite3 ./foo.db status goose sqlite3 ./foo.db create init sql goose sqlite3 ./foo.db create add_some_column sql goose sqlite3 ./foo.db create fetch_user_data go goose sqlite3 ./foo.db up goose postgres "user=postgres dbname=postgres sslmode=disable" status goose mysql "user:password@/dbname" status goose redshift "postgres://user:password@qwerty.us-east-1.redshift.amazonaws.com:5439/db" status Options: -dir string dire...

Google - Cloud SQL for PostgreSQL adds high availability and replication (Google 雲端 PostgreSQL 資料庫新增了 HA & Replicas )

就在本月, 等了好一陣子的 Cloud SQL  for PostgreSQL 終於加上了 High availability & Replicas 機制; 雖然目前還是 beta 版,不過已經讓人開心,想叫老闆跟同事,趕快使用看看。 相關文件 https://cloudplatform.googleblog.com/2017/11/Cloud-SQL-for-PostgreSQL-adds-high-availability-and-replication.html 另外,也今年夏季也加入了 19 項 PostgreSQL extensions 相關文件 https://cloudplatform.googleblog.com/2017/08/Cloud-SQL-for-PostgreSQL-updated-with-new-extensions.html

Linebot 試作

年初在網路上看到 evenlin 大大的 linebot 專案,也跟著仿作一個 參考文章 http://www.evanlin.com/create-your-line-bot-golang/ linebot 名稱:誠實小木偶 Source code@github https://github.com/lin11230/LineBotTemplate.git 實際畫面