Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Move clock to right elementary os

INSTALL

  • Get the latest code of wingpanel: https://github.com/elementary/wingpanel/releases
  • Extract and open terminal in source folder wingpanel-[version]
  • Open file Panel.vala, replace line center_menubar.add (indicator_entry); by right_menubar.insert_sorted (indicator_entry);
  • Open file IndicatorSorter.vala, add line indicator_order[Indicator.DATETIME] = 10; in contruct. Change indicator_order[Indicator.SESSION] = 10; to indicator_order[Indicator.SESSION] = 11;
  • Run command
        meson build --prefix=/usr
    
        cd build
    
        ninja
    
        sudo ninja install
    
        wingpanel or killall wingpanel
    
  • Don't forget install required libs:
    • libgala-dev
    • libgee-0.8-dev
    • libglib2.0-dev
    • libgranite-dev
    • libgtk-3-dev
    • meson
    • libmutter-2-dev
    • valacc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.