2012年1月20日 星期五

Linux Mint Gnome Shell 將資訊列的時鐘置中


Linux Mint Gnome Shell 將上方資訊列的時鐘置中:

編輯下列檔案:
gksu gedit /usr/share/gnome-shell/extensions/notifications@linuxmint.com/extension.js


將下列幾行註解掉
/* Move Clock to the right */
let _children = Main.panel._rightBox.get_children();
Main.panel._centerBox.remove_actor(clock.actor);
Main.panel._rightBox.insert_actor(clock.actor, _children.length-1);
改成
    /* Move Clock to the right */
  //  let _children = Main.panel._rightBox.get_children();    
  //  Main.panel._centerBox.remove_actor(clock.actor);
  //  Main.panel._rightBox.insert_actor(clock.actor, _children.length-1);

沒有留言: