shell-extension
生活随笔
收集整理的這篇文章主要介紹了
shell-extension
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
01、 安裝gnome3 tweak tool工具
fedora 15 采用gnome3之后,gnome-tweak-tool為配置桌面必不可少的工具。
終端中輸入命令:$ sudo yum install gnome-tweak-tool
安裝完成。
02、 修改標題欄的寬度
GNOME3 為了適應平板觸屏的要求,默認的標題欄太寬了,如果想是標題欄變窄,請用下面的命令去修改:
sed -i "/title_vertical_pad/s/value=\"[0-9]\{1,2\}\"/value=\"0\"/g" /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
Alt+F2->r 重啟gnome-shell后效果生效。
03、 添加窗口最小化按鈕
打開tweak tool工具,在shell項中的Arrangement of Buttons on the titlebar選all。
Alt+F2->r 重啟gnome-shell后效果生效。
04、 在頂部面板上顯示日期
打開tweak tool工具,在shell項中的Show data in clock選on。
或者在終端中輸入命令:$ gsettings set org.gnome.shell.clock show-date true
05、 安裝鼠標主題
在終端中輸入命令:$ sudo yum search cursor-theme
會出現下列結果:
adwaita-cursor-theme.noarch : Adwaita cursor theme
bluecurve-cursor-theme.noarch : Bluecurve cursor theme
dmz-cursor-themes.noarch : X cursors themes
meego-cursor-theme.noarch : MeeGo X cursors theme
oxygen-cursor-themes.noarch : Oxygen cursor themes
這就是yum源中提供的鼠標主題,其中adwaita-cursor-theme為系統默認安裝的鼠標主題。選擇鼠標主題安裝后,在tweak tool工具Interface欄中的Cursor theme選項中可以選擇鼠標主題。其中bluecurve-inverse與windows鼠標主題最為接近。
06、 安裝圖標主題
與安裝鼠標主題一樣,在終端中輸入命令:$ sudo yum search icon-theme
會列出很多圖標主題,選擇圖標主題安裝后,在tweak tool工具Interface欄中的Icon theme選項中可以選擇鼠標主題,其中faenza-icon-theme效果不錯。
07、 接下來介紹一些比較有用的gnome3擴展
在終端中輸入命令:$ sudo yum search gnome-shell-extension
顯示如下結果(一部分):
......
gnome-shell-extension-remove-volume-icon.noarch : A gnome-shell extension for removing the volume icon
gnome-shell-extension-theme-selector.noarch : Gnome shell user theme selector
gnome-shell-extension-workspacesmenu.noarch : A gnome-shell extension for fast switching work spaces
gnome-shell-extensions-alternate-tab.noarch : Classic Alt+Tab behavior. Window based instead of app based
gnome-shell-extensions-alternative-status-menu.noarch : For those who want a power off item visible at all the time
gnome-shell-extensions-auto-move-windows.noarch : Assign specific workspaces to applications
......
下面介紹其中幾個比較有用的擴展:
a) cpu-temperature:顯示當前CPU溫度;
b) gpaste:GPaste是一款剪貼板管理工具,使用GNOME shell擴展可以記錄復制到剪切板的歷史記錄并能方便的調用;
c) mediaplayers:方便的控制音樂播放,可控制Banshee、Rhytmbox、Clementine、Quodlibet音樂播放器;
d) noim:移除用戶菜單欄中的用戶名與狀態;
e) pomodoro:在頂部面板顯示倒計時;
f) presentation-mode:添加電源相關選項,默認情況下當用戶在一定時間內無任何操作時,系統會自動鎖定屏幕,在看視頻時非常不方便。安裝此擴展后,用戶點擊面板上的電池圖標時會有Presentation mode的開關,打開時屏幕將不會自動關閉;
g) remove-accessibility-icon:移除“通用性設置”圖標,頂部面板老是顯示“通用性設置”,這對大多數人來說作用不大,此擴展可以移除“通用性設置”圖標。
h) alternative-status-menu:系統安裝好后默認用戶菜單中是沒有關機命令的,用戶想要關機需要按住Alt鍵才能顯示關機。此擴展可以在用戶菜單中顯示關機命令。
i) user-theme:可以選擇用戶自己的主題,安裝完成此擴展后,用戶將下載好的主題放到~/.theme目錄下,就可以在tweak tool工具Shell欄中的Shell Theme項中選擇對應的主題。
j) drive-menu:在頂部面板添加可顯示系統掛載的磁盤菜單項,可快速卸載掛載的磁盤驅動。
k) native-window-placement:默認情況下系統的窗口縮略圖排列是對齊的,遇到小窗口時感覺會浪費好多屏幕空間,此擴展會更加智能的排列窗口的縮略圖來節省屏幕空間。
l) places-menu:可以顯示家目錄下文件夾的快速鏈接,效果與gnome2下的places菜單一樣。
其他擴展可依據自己情況自行選擇。
接下來再介紹幾款不在yum庫中的擴展
m) noa11y:?移除“通用性設置”圖標,頂部面板老是顯示“通用性設置”,這對大多數人來說作用不大,使用noa11y擴展可以移除“通用性設置”圖標,與remove-accessibility-icon功能一樣。
從http://www.fpmurphy.com/gnome-shell-extensions/可以下載noa11y-1.0.tar.gz
解壓縮文件,得到noa11y@fpmurphy.com文件夾,復制文件夾到~/.local/share/gnome-shell/extensions/目錄下。
n) gnome-shell-system-monitor-applet:在頂部面板實時顯示系統運行狀態,包括CPU、內存使用率以及網絡訪問量等信息。
訪問https://github.com/paradoxxxzero ... stem-monitor-applet
具體安裝步驟都有說明。
o) activitiesbutton:在面板左上角文本“活動(Activities)”旁邊顯示Fedora logo。
下載activitiesbutton.tar.gz文件:?http://www.fpmurphy.com/gnome-sh ... vitiesbutton.tar.gz
解壓縮文件,得到activitiesbutton@fpmurphy.com文件夾,復制文件夾到~/.local/share/gnome-shell/extensions/目錄下。
p) GNOME Shell frippery:?把gnome3的外觀改造成gnome2的樣子,包含六個擴展,它們分別是:
??Move the clock:把時間從面板中間移到右邊;
??Favourites in panel:在頂部面板中添加常用程序的快捷方式,像gnome2里的一樣;
??Applications menu in panel:用Applications代替Activities,像gnome2里的一樣;
??Disable dynamic workspaces:禁止動態桌面;
??Shut Down menu:在用戶菜單中添加關機命令;
??Bottom panel:底部面板,包含窗口列表、工作區間切換器、消息通知,像gnome2里的一樣。
具體信息以及下載訪問網站:?http://intgat.tigress.co.uk/rmy/extensions/index.html
q) Window List:在頂部面板展示打開到窗口列表。
效果圖以及下載請參考:http://www.linuxidc.com/Linux/2011-08/40314.htm
最后介紹一個網站,里面給出了許多擴展:?http://www.fpmurphy.com/gnome-shell-extensions/
最后需要說明的是想要使安裝的gnome-shell擴展生效,在安裝完成后必須重啟gnome-shell,方法是Alt+F2->r(按住Alt+F2,然后輸入r)。
所安裝的擴展在tweak tool工具Shell Extensions欄中都可以看到,可以方便的啟用與關閉任意的擴展。
原創文章,部分內容參考www.bentutu.com有關文章。轉載請注明出處:http://www.linuxdiyf.com/bbs/thread-205290-1-1.html
fedora 15 采用gnome3之后,gnome-tweak-tool為配置桌面必不可少的工具。
終端中輸入命令:$ sudo yum install gnome-tweak-tool
安裝完成。
02、 修改標題欄的寬度
GNOME3 為了適應平板觸屏的要求,默認的標題欄太寬了,如果想是標題欄變窄,請用下面的命令去修改:
sed -i "/title_vertical_pad/s/value=\"[0-9]\{1,2\}\"/value=\"0\"/g" /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
Alt+F2->r 重啟gnome-shell后效果生效。
03、 添加窗口最小化按鈕
打開tweak tool工具,在shell項中的Arrangement of Buttons on the titlebar選all。
Alt+F2->r 重啟gnome-shell后效果生效。
04、 在頂部面板上顯示日期
打開tweak tool工具,在shell項中的Show data in clock選on。
或者在終端中輸入命令:$ gsettings set org.gnome.shell.clock show-date true
05、 安裝鼠標主題
在終端中輸入命令:$ sudo yum search cursor-theme
會出現下列結果:
adwaita-cursor-theme.noarch : Adwaita cursor theme
bluecurve-cursor-theme.noarch : Bluecurve cursor theme
dmz-cursor-themes.noarch : X cursors themes
meego-cursor-theme.noarch : MeeGo X cursors theme
oxygen-cursor-themes.noarch : Oxygen cursor themes
這就是yum源中提供的鼠標主題,其中adwaita-cursor-theme為系統默認安裝的鼠標主題。選擇鼠標主題安裝后,在tweak tool工具Interface欄中的Cursor theme選項中可以選擇鼠標主題。其中bluecurve-inverse與windows鼠標主題最為接近。
06、 安裝圖標主題
與安裝鼠標主題一樣,在終端中輸入命令:$ sudo yum search icon-theme
會列出很多圖標主題,選擇圖標主題安裝后,在tweak tool工具Interface欄中的Icon theme選項中可以選擇鼠標主題,其中faenza-icon-theme效果不錯。
07、 接下來介紹一些比較有用的gnome3擴展
在終端中輸入命令:$ sudo yum search gnome-shell-extension
顯示如下結果(一部分):
......
gnome-shell-extension-remove-volume-icon.noarch : A gnome-shell extension for removing the volume icon
gnome-shell-extension-theme-selector.noarch : Gnome shell user theme selector
gnome-shell-extension-workspacesmenu.noarch : A gnome-shell extension for fast switching work spaces
gnome-shell-extensions-alternate-tab.noarch : Classic Alt+Tab behavior. Window based instead of app based
gnome-shell-extensions-alternative-status-menu.noarch : For those who want a power off item visible at all the time
gnome-shell-extensions-auto-move-windows.noarch : Assign specific workspaces to applications
......
下面介紹其中幾個比較有用的擴展:
a) cpu-temperature:顯示當前CPU溫度;
b) gpaste:GPaste是一款剪貼板管理工具,使用GNOME shell擴展可以記錄復制到剪切板的歷史記錄并能方便的調用;
c) mediaplayers:方便的控制音樂播放,可控制Banshee、Rhytmbox、Clementine、Quodlibet音樂播放器;
d) noim:移除用戶菜單欄中的用戶名與狀態;
e) pomodoro:在頂部面板顯示倒計時;
f) presentation-mode:添加電源相關選項,默認情況下當用戶在一定時間內無任何操作時,系統會自動鎖定屏幕,在看視頻時非常不方便。安裝此擴展后,用戶點擊面板上的電池圖標時會有Presentation mode的開關,打開時屏幕將不會自動關閉;
g) remove-accessibility-icon:移除“通用性設置”圖標,頂部面板老是顯示“通用性設置”,這對大多數人來說作用不大,此擴展可以移除“通用性設置”圖標。
h) alternative-status-menu:系統安裝好后默認用戶菜單中是沒有關機命令的,用戶想要關機需要按住Alt鍵才能顯示關機。此擴展可以在用戶菜單中顯示關機命令。
i) user-theme:可以選擇用戶自己的主題,安裝完成此擴展后,用戶將下載好的主題放到~/.theme目錄下,就可以在tweak tool工具Shell欄中的Shell Theme項中選擇對應的主題。
j) drive-menu:在頂部面板添加可顯示系統掛載的磁盤菜單項,可快速卸載掛載的磁盤驅動。
k) native-window-placement:默認情況下系統的窗口縮略圖排列是對齊的,遇到小窗口時感覺會浪費好多屏幕空間,此擴展會更加智能的排列窗口的縮略圖來節省屏幕空間。
l) places-menu:可以顯示家目錄下文件夾的快速鏈接,效果與gnome2下的places菜單一樣。
其他擴展可依據自己情況自行選擇。
接下來再介紹幾款不在yum庫中的擴展
m) noa11y:?移除“通用性設置”圖標,頂部面板老是顯示“通用性設置”,這對大多數人來說作用不大,使用noa11y擴展可以移除“通用性設置”圖標,與remove-accessibility-icon功能一樣。
從http://www.fpmurphy.com/gnome-shell-extensions/可以下載noa11y-1.0.tar.gz
解壓縮文件,得到noa11y@fpmurphy.com文件夾,復制文件夾到~/.local/share/gnome-shell/extensions/目錄下。
n) gnome-shell-system-monitor-applet:在頂部面板實時顯示系統運行狀態,包括CPU、內存使用率以及網絡訪問量等信息。
訪問https://github.com/paradoxxxzero ... stem-monitor-applet
具體安裝步驟都有說明。
o) activitiesbutton:在面板左上角文本“活動(Activities)”旁邊顯示Fedora logo。
下載activitiesbutton.tar.gz文件:?http://www.fpmurphy.com/gnome-sh ... vitiesbutton.tar.gz
解壓縮文件,得到activitiesbutton@fpmurphy.com文件夾,復制文件夾到~/.local/share/gnome-shell/extensions/目錄下。
p) GNOME Shell frippery:?把gnome3的外觀改造成gnome2的樣子,包含六個擴展,它們分別是:
??Move the clock:把時間從面板中間移到右邊;
??Favourites in panel:在頂部面板中添加常用程序的快捷方式,像gnome2里的一樣;
??Applications menu in panel:用Applications代替Activities,像gnome2里的一樣;
??Disable dynamic workspaces:禁止動態桌面;
??Shut Down menu:在用戶菜單中添加關機命令;
??Bottom panel:底部面板,包含窗口列表、工作區間切換器、消息通知,像gnome2里的一樣。
具體信息以及下載訪問網站:?http://intgat.tigress.co.uk/rmy/extensions/index.html
q) Window List:在頂部面板展示打開到窗口列表。
效果圖以及下載請參考:http://www.linuxidc.com/Linux/2011-08/40314.htm
最后介紹一個網站,里面給出了許多擴展:?http://www.fpmurphy.com/gnome-shell-extensions/
最后需要說明的是想要使安裝的gnome-shell擴展生效,在安裝完成后必須重啟gnome-shell,方法是Alt+F2->r(按住Alt+F2,然后輸入r)。
所安裝的擴展在tweak tool工具Shell Extensions欄中都可以看到,可以方便的啟用與關閉任意的擴展。
原創文章,部分內容參考www.bentutu.com有關文章。轉載請注明出處:http://www.linuxdiyf.com/bbs/thread-205290-1-1.html
總結
以上是生活随笔為你收集整理的shell-extension的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C++ 补全插件
- 下一篇: Oracle数据导入导出imp/exp