This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Repository navigation
Ubuntu 26.04 Compatibility #600
Closed
Closed
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e8868cb
Update space-bar schemas for Ubuntu 26.06
Kasui92 c058427
Refactor space-bar schema installation to handle missing files gracef…
Kasui92 cd94806
Remove redundant flags
Kasui92 a2db16d
Update manual link
Kasui92 b84d6c4
Enhance dev language installation scripts and make php more robust
Kasui92 3fc2872
Use apt cli
Kasui92 bf60e8f
Use a more recent version of asdcontrol
Kasui92 5ed4eaa
Use array for selected languages
Kasui92 3fbcd83
Align with installation logic
Kasui92 5d3a71f
Move to deb file for asdcontrol installation
Kasui92 4c8047f
Ensure space-bar schemas exist
Kasui92 2d5714d
Ensure temporary directory change before asdcontrol installation
Kasui92 efddbe9
Apply some fixes
Kasui92 00270b3
Avoid errors
Kasui92 9293070
Use mise for uv
Kasui92 32763a8
Remove extra space
Kasui92 87ec6ab
Fix wrong flag
Kasui92 c2fb76a
Use internal composer package
Kasui92 646e99a
Optimize php extension installation
Kasui92 191a327
Ensure remove composer
Kasui92 b2194ad
Improve PHP extension availability
Kasui92 f9941d7
Separate reboot from desktop process
Kasui92 59a0d63
Fix word
Kasui92 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| #!/bin/bash | ||
|
|
||
| xdg-open "https://manual.omakub.org" &>/dev/null | ||
| xdg-open "https://learn.omacom.io/1/read" &>/dev/null | ||
| source $OMAKUB_PATH/bin/omakub-sub/menu.sh |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,4 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Run desktop installers | ||
| for installer in ~/.local/share/omakub/install/desktop/*.sh; do source $installer; done | ||
|
|
||
| # Logout to pickup changes | ||
| gum confirm "Ready to reboot for all settings to take effect?" && sudo reboot || true | ||
| for installer in ~/.local/share/omakub/install/desktop/*.sh; do source $installer; done |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,7 +25,17 @@ gext install AlphabeticalAppGrid@stuarthayhurst | |
| sudo cp ~/.local/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.tactile.gschema.xml /usr/share/glib-2.0/schemas/ | ||
| sudo cp ~/.local/share/gnome-shell/extensions/just-perfection-desktop\@just-perfection/schemas/org.gnome.shell.extensions.just-perfection.gschema.xml /usr/share/glib-2.0/schemas/ | ||
| sudo cp ~/.local/share/gnome-shell/extensions/blur-my-shell\@aunetx/schemas/org.gnome.shell.extensions.blur-my-shell.gschema.xml /usr/share/glib-2.0/schemas/ | ||
| sudo cp ~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.gschema.xml /usr/share/glib-2.0/schemas/ | ||
| if [ -f ~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.gschema.xml ]; then | ||
| sudo cp ~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.gschema.xml /usr/share/glib-2.0/schemas/ | ||
| else | ||
| space_bar_schema_glob=~/.local/share/gnome-shell/extensions/space-bar\@luchrioh/schemas/org.gnome.shell.extensions.space-bar.*.gschema.xml | ||
| if ls $space_bar_schema_glob >/dev/null 2>&1; then | ||
| sudo cp $space_bar_schema_glob /usr/share/glib-2.0/schemas/ | ||
| else | ||
| echo "Error: No Space Bar schema files were found under ~/.local/share/gnome-shell/extensions/space-bar@luchrioh/schemas/" >&2 | ||
| exit 1 | ||
| fi | ||
| fi | ||
| sudo cp ~/.local/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.tophat.gschema.xml /usr/share/glib-2.0/schemas/ | ||
| sudo cp ~/.local/share/gnome-shell/extensions/AlphabeticalAppGrid\@stuarthayhurst/schemas/org.gnome.shell.extensions.AlphabeticalAppGrid.gschema.xml /usr/share/glib-2.0/schemas/ | ||
| sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Reboot to pick up changes | ||
| gum confirm "Ready to reboot for all settings to take effect?" && sudo systemctl reboot -i || true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,36 +8,58 @@ else | |
| languages=$(gum choose "${AVAILABLE_LANGUAGES[@]}" --no-limit --height 10 --header "Select programming languages to uninstall") | ||
| fi | ||
|
|
||
| if [[ -n $languages ]]; then | ||
| for language in $languages; do | ||
| if [[ -n "$languages" ]]; then | ||
| mapfile -t selected_languages <<< "$languages" | ||
| for language in "${selected_languages[@]}"; do | ||
| case $language in | ||
| Ruby) | ||
| mise uninstall [email protected] | ||
| mise x ruby -- gem uninstall rails | ||
| "Ruby on Rails") | ||
| echo -e "Removing Ruby on Rails...\n" | ||
| mise uninstall ruby --all | ||
| mise rm -g ruby | ||
|
Kasui92 marked this conversation as resolved.
Resolved
Kasui92 marked this conversation as resolved.
Resolved
Kasui92 marked this conversation as resolved.
Resolved
|
||
| rm -f ~/.gemrc | ||
|
Kasui92 marked this conversation as resolved.
Resolved
|
||
| ;; | ||
| Node.js) | ||
| mise uninstall node@lts | ||
| "Node.js") | ||
| echo -e "Removing Node.js...\n" | ||
| mise uninstall node --all | ||
| mise rm -g node | ||
| ;; | ||
| Go) | ||
| mise uninstall go@latest | ||
| "Go") | ||
| echo -e "Removing Go...\n" | ||
| mise uninstall go --all | ||
| mise rm -g go | ||
| ;; | ||
| PHP) | ||
| sudo apt -y purge php php-{curl,apcu,intl,mbstring,opcache,pgsql,mysql,sqlite3,redis,xml,zip} | ||
| sudo apt -y autoremove | ||
| sudo rm /usr/local/bin/composer | ||
| "PHP") | ||
| echo -e "Removing PHP...\n" | ||
|
Kasui92 marked this conversation as resolved.
Resolved
|
||
| mapfile -t php_packages < <(dpkg-query -W -f='${binary:Package}\n' 'php-*' 2>/dev/null || true) | ||
| if ((${#php_packages[@]})); then | ||
| sudo apt-get remove -y php "${php_packages[@]}" composer | ||
| else | ||
| sudo apt-get remove -y php composer | ||
| fi | ||
|
Kasui92 marked this conversation as resolved.
Resolved
|
||
| sudo rm -f /usr/local/bin/composer | ||
| sudo apt-get autoremove -y | ||
| ;; | ||
| Python) | ||
| mise uninstall python@latest | ||
| "Python") | ||
| echo -e "Removing Python...\n" | ||
| mise uninstall python --all | ||
| mise rm -g python | ||
|
Kasui92 marked this conversation as resolved.
Resolved
Kasui92 marked this conversation as resolved.
Resolved
Kasui92 marked this conversation as resolved.
Resolved
Kasui92 marked this conversation as resolved.
Resolved
|
||
| rm -rf ~/.local/bin/uv ~/.local/bin/uvx ~/.cargo/bin/uv 2>/dev/null || true | ||
| ;; | ||
| Elixir) | ||
| mise uninstall elixir@latest | ||
| mise uninstall erlang@latest | ||
| "Elixir") | ||
| echo -e "Removing Elixir...\n" | ||
| mise uninstall elixir --all | ||
| mise uninstall erlang --all | ||
| mise rm -g elixir | ||
| mise rm -g erlang | ||
| ;; | ||
| Rust) | ||
| rustup self uninstall -y | ||
| "Rust") | ||
| echo -e "Removing Rust...\n" | ||
| rustup self uninstall -y 2>/dev/null || true | ||
| ;; | ||
| Java) | ||
| mise uninstall java@latest | ||
| "Java") | ||
| echo -e "Removing Java...\n" | ||
| mise uninstall java --all | ||
| mise rm -g java | ||
| ;; | ||
| esac | ||
| done | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.