Skip to content

Instantly share code, notes, and snippets.

@jonaskahn
Last active March 13, 2024 15:01
Show Gist options
  • Save jonaskahn/d07fe0d57b713995104c5740cc62d324 to your computer and use it in GitHub Desktop.
Save jonaskahn/d07fe0d57b713995104c5740cc62d324 to your computer and use it in GitHub Desktop.
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