Open tmo793 opened 2 years ago
This is a repeat of #14, but #14 is marked as resolved - should it be marked resolved, if the issue still exists? Can the suggest fix be rolled into this project? I'm happy to follow the instructions in #14 to fix the issue at my end, but it's strange only a small number of people are being affected.
To add to this, even when the icons are working, in .config/rofi/powermenu/powermenu.sh
there is this entry
# Confirmation
confirm_exit() {
rofi -dmenu\
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
-theme $dir/confirm.rasi
}
# Message
msg() {
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
}
which causes using power options to fail as there is no message.rasi
file in the dir.
In issue 14 it does give a solution but this should be fixed in the code and not something the end user needs to troubleshoot if it's a known issue.
https://github.com/ChrisTitusTech/Debian-titus/issues/14#issuecomment-989878075
Here is how I fixed mine... It's just the first few lines that need tweaking.
dir="$HOME/.config/rofi/"
theme="$dir/powermenu/drop_square"
confirm="$dir/applets/styles/confirm.rasi"
rofi_command="rofi -theme $dir/$theme"
# Options
shutdown=""
reboot=""
lock=""
suspend=""
logout=""
# Confirmation
confirm_exit() {
rofi -dmenu\
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
-theme $confirm
}
# Message
msg() {
rofi -theme "$confirm" -e "Available Options - yes / y / no / n"
}
Question @ChrisTitusTech what is the packages.txt
for? Are those packages that should be installed on the system after? Is there a way to ensure this all gets install if they should?
I'm having trouble to see what's inside the " " () For me, it appears like a hollow box with a few numbers inside. I'm using firefox to see this webpage, on my script I also can't see what's happening inside the " " so my polybar doesn't show a lot of symbols... Is there a way to fix this?
@Tchutcha87, that is because of the fonts you use, those are "special" characters. The original repo is here with examples of what hey look like in the GUI: https://github.com/adi1090x/rofi
Basically this is how it plays out:
shutdown="" =
reboot="" =
lock="" =
suspend="" =
logout="" =
I was able to get the icons loading by going to https://github.com/adi1090x/rofi and running their setup script. Then I went to ~/.config and moved rofi
to rofi.back
and then rofi.old
to rofi
and reloaded the window manager. After that, it looks like things load accordingly.
Also experiencing this issue.
Fresh install following the youtube video instructions, on bare metal laptop (3rd Gen i5-3317U). Seems to be going great by default, I didn't notice any errors running the root and user scripts. I'm new to sddm & bspwm so I'm a bit lost, but really love it so far.
My issue: The "magnifying glass" symbol on the polybar top-left menu is showing as a square box with hex values in it - i.e. missing unicode in font. Just comparing visually between Chris' menu and mine, they appear to be the same font used. The only fonts I saw installing were the MS-TTF fonts, and they all seemed to install correctly. I'm not sure what exactly is wrong/missing.
Same issue when I click the power icon (top-right) - all 5 symbols are missing hex boxes.
Reboot doesn't fix it.
PS - this feels more like a noob-in-distress problem than a real "issue" - is there a better place for me to ask questions like this?
EDIT: Corrected my misunderstanding of bspwm vs polybar