Merge pull request #113 from JaKooLit/Ubuntu-24.04-LTS

Ubuntu 24.04 lts main to dev
This commit is contained in:
Ja.KooLit 2024-06-21 04:28:05 +09:00 committed by GitHub
commit 49c3f02ea2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 61 additions and 24 deletions

View File

@ -37,13 +37,12 @@ labels: "Something isn't working"
[Please add any other relevant information about the bug and remove the unnecessary lines.]
e.g.,
### show output of `inxi -CGIsSMnr` install package `inxi` if not exist
show output here
```
- Linux Distro: [e.g., Debian 13, SID , Ubuntu 23.10, etc]
- Linux Version, output of `uname -a`:
- Hyprland Version, output of `hyprctl version`:
- Installation Environment: [e.g., On The Main Hardware, On A Virtual Machine]
- Other info: [e.g., Display Resolution, Resolution, etc]
```
### Additional Information

View File

@ -40,3 +40,10 @@ labels: "custom"
### Additional Information
[Add any other information about the issue or request here. For example, you might include links to similar features in other projects, or screenshots or diagrams to help explain your idea.]
### show output of `inxi -CGIsSMnr` install package `inxi` if not exist
show output here
```
```

View File

@ -1,5 +1,11 @@
## Changelogs
## 11 June 2024
- adjusted script to install only Hyprland-Dots v2.2.14
## 10 June 2024
- changed behaviour of rofi-wayland.sh. To redownload a new rofi-wayland from repo instead of pulling changes. (It proves giving issue)
## 04 June 2024
- switched over to source install for imagemagick
- removal of fzf for Debian and Ubuntu (headache)

View File

@ -3,7 +3,7 @@
## 💌 JaKooLit's Ubuntu Hyprland Install Script 💌
#### For Ubuntu 24.04 Noble Numbat
![GitHub Repo stars](https://img.shields.io/github/stars/JaKooLit/Debian-Hyprland?style=for-the-badge&color=cba6f7) ![GitHub last commit](https://img.shields.io/github/last-commit/JaKooLit/Debian-Hyprland?style=for-the-badge&color=b4befe) ![GitHub repo size](https://img.shields.io/github/repo-size/JaKooLit/Debian-Hyprland?style=for-the-badge&color=cba6f7) <a href="https://discord.gg/V2SJ92vbEN"> <img src="https://img.shields.io/discord/1151869464405606400?style=for-the-badge&logo=discord&color=cba6f7&link=https%3A%2F%2Fdiscord.gg%2V2SJ92vbEN"> </a>
![GitHub Repo stars](https://img.shields.io/github/stars/JaKooLit/Debian-Hyprland?style=for-the-badge&color=cba6f7) ![GitHub last commit](https://img.shields.io/github/last-commit/JaKooLit/Debian-Hyprland?style=for-the-badge&color=b4befe) ![GitHub repo size](https://img.shields.io/github/repo-size/JaKooLit/Debian-Hyprland?style=for-the-badge&color=cba6f7) <a href="https://discord.gg/9JEgZsfhex"> <img src="https://img.shields.io/discord/1151869464405606400?style=for-the-badge&logo=discord&color=cba6f7&link=https%3A%2F%2Fdiscord.gg%9JEgZsfhex"> </a>
<br/>
</div>
@ -12,6 +12,20 @@
- With latest Hyprland v0.40.0 released, it wont build on Ubuntu 24.04 LTS. Reason is that Ubuntu did not update their wayland-protocol. Its the reason why it wont build.
- This is the reason why I have to set a specific release version on Hyprland packages including its eco-system as it is most likely wayland protocol wont be updated since its an LTS version.
<div align="center">
#### 👇 KOOL's Hyprland-Dots related Links 👇
<br/>
</div>
<div align="center">
<br>
<a href="https://github.com/JaKooLit/Hyprland-Dots"><kbd><br>Hyprland-Dots repo<br></kbd></a>&ensp;&ensp;
<a href="https://www.youtube.com/playlist?list=PLDtGd5Fw5_GjXCznR0BzCJJDIQSZJRbxx"><kbd><br>Youtube<br></kbd></a>&ensp;&ensp;
<a href="https://github.com/JaKooLit/Hyprland-Dots/wiki"><kbd><br>Wiki<br></kbd></a>&ensp;&ensp;
<a href="https://github.com/JaKooLit/Hyprland-Dots/wiki/Keybinds"><kbd><br>Keybinds<br></kbd></a>&ensp;&ensp;
<a href="https://github.com/JaKooLit/Hyprland-Dots/wiki/FAQ"><kbd><br>FAQ<br></kbd></a>&ensp;&ensp;
<a href="https://discord.gg/9JEgZsfhex"><kbd><br>Discord<br></kbd></a>
</div><br>
<h3 align="center">
<img src="https://github.com/JaKooLit/Telegram-Animated-Emojis/blob/main/Activity/Sparkles.webp" alt="Sparkles" width="38" height="38" />
KooL Hyprland-Dotfiles Showcase
@ -126,7 +140,7 @@ https://github.com/JaKooLit/Hyprland-Dots/assets/85185940/50d53755-0f11-45d6-991
> [!IMPORTANT]
> If you want to use nouveau driver, choose N when asked if you have nvidia gpu. This is because the nvidia installer part, it will blacklist nouveau. Hyprland will still be installed but it will skip blacklisting nouveau.
# ✨ to run or Use this script
## ✨ to use this script
> clone this repo (latest commit only) by using git. Change directory, make executable and run the script
```bash
git clone --depth=1 -b Ubuntu-24.04-LTS https://github.com/JaKooLit/Debian-Hyprland.git ~/Ubuntu-Hyprland
@ -201,7 +215,7 @@ source ~/.zshrc
#### 🛣️ Roadmap:
- [ ] possibly adding gruvbox themes, cursors, icons
#### ❗ some known issues
#### ❗ some known issues for nvidia
- reports from members of my discord, states that some users of nvidia are getting stuck on sddm login. credit to @Kenni Fix stated was
```
while in sddm press ctrl+alt+F2 or F3
@ -211,10 +225,19 @@ log into your account
`ls -l /dev/dri/by-path` to check where the symlink points to
)
```
- add "env = WLR_DRM_DEVICES,/dev/dri/cardX" to the ENVvariables config (.config/hypr/UserConfigs/ENVariables.conf) ; X being where the symlink of the gpu points to
- add "env = WLR_DRM_DEVICES,/dev/dri/cardX" to the ENVvariables config `~/.config/hypr/UserConfigs/ENVariables.conf` ; X being where the symlink of the gpu points to
- more info from the hyprland wiki [`Hyprland Wiki Link`](https://wiki.hyprland.org/FAQ/#my-external-monitor-is-blank--doesnt-render--receives-no-signal-laptop)
- reports from a member of discord for Nvidia for additional env's
- remove # from the following env's on
```
env = GBM_BACKEND,nvidia-drm
env = WLR_RENDERER_ALLOW_SOFTWARE,1
```
#### ❗ other known issues
> [!NOTE]
> Auto start of Hyprland after login (no SDDM or GDM or any login managers)
- This was disabled a few days ago. (19 May 2024). This was because some users, after they used the Distro-Hyprland scripts with other DE (gnome-wayland or plasma-wayland), if they choose to login into gnome-wayland for example, Hyprland is starting.

View File

@ -16,6 +16,7 @@ hypr_package=(
grim
gvfs
gvfs-backends
inxi
kitty
nano
pavucontrol

View File

@ -3,7 +3,7 @@
# Hyprland-Dots to download a specific release #
# Define the specific release version to download
specific_version="v2.2.13-1"
specific_version="v2.2.14"
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##

View File

@ -45,8 +45,8 @@ printf "${NOTE} Installing hyprlock...\n"
if git clone --recursive -b $lock_tag https://github.com/hyprwm/hyprlock.git; then
cd hyprlock || exit 1
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
if sudo cmake --install build 2>&1 | tee -a "$MLOG" ; then
printf "${OK} hyprlock installed successfully.\n" 2>&1 | tee -a "$MLOG"
else
echo -e "${ERROR} Installation failed for hyprlock." 2>&1 | tee -a "$MLOG"

View File

@ -55,17 +55,17 @@ printf "${NOTE} Installing rofi-wayland...\n"
# Check if rofi folder exists
if [ -d "rofi" ]; then
printf "${NOTE} rofi folder exists. Pulling latest changes...\n"
printf "${NOTE} rofi folder exists. Removing existing directory...\n"
rm -rf rofi
fi
# cloning rofi-wayland
printf "${NOTE} Cloning rofi-wayland repository...\n"
if git clone https://github.com/lbonn/rofi.git; then
cd rofi || exit 1
git pull origin master 2>&1 | tee -a "$MLOG"
else
printf "${NOTE} Cloning rofi repository...\n"
if git clone https://github.com/lbonn/rofi.git; then
cd rofi || exit 1
else
echo -e "${ERROR} Download failed for rofi-wayland." 2>&1 | tee -a "$LOG"
exit 1
fi
fi
# Proceed with the installation steps

View File

@ -4,7 +4,7 @@
depend=(
librust-jpeg-decoder-dev
rustup
cargo
)
#specific branch or release

View File

@ -212,7 +212,8 @@ fi
if [ "$rog" == "Y" ]; then
execute_script "rog.sh"
fi
# re-install rofi-wayland
execute_script "rofi-wayland.sh"
execute_script "InputGroup.sh"
if [ "$dots" == "Y" ]; then