lofi icon indicating copy to clipboard operation
lofi copied to clipboard

No indicator displayed

Open finitelife opened this issue 1 year ago • 6 comments

Xubuntu 22.10 Lofi v2.0.0

worked in v1.6

finitelife avatar Apr 24 '23 06:04 finitelife

What do you mean by Indicator? The loading spinner upon launch?

stamoun avatar Apr 24 '23 12:04 stamoun

in the status bar/indicator area of the panel. while the program is running. not referring to the "display in taskbar" option

finitelife avatar May 04 '23 02:05 finitelife

I'll have to investigate on my Linux distro (it's Ubuntu), if you have a screenshot that could help, I'd appreciate that 🙏

stamoun avatar May 04 '23 13:05 stamoun

screenshot

Note I have some indicators displayed multiple times- I am using multiple similar indicator plugins to test each:

plugins

finitelife avatar May 08 '23 03:05 finitelife

note: all issues opened by me are using a self compiled version like so:

hash yarn 2>/dev/null || sudo apt install yarn #install yarn
git clone https://github.com/dvx/lofi.git
cd lofi ||:
yarn install
NODE_OPTIONS=--openssl-legacy-provider yarn run dist
sudo rm -rf /opt/lofi
sudo mkdir /opt/lofi
sudo cp -r dist/linux-unpacked/* /opt/lofi/ # install lofi
sudo cp icon*png /opt/lofi/ # move icons to install dir
# create desktop/start menu icon
rm -rf lofi.desktop
touch lofi.desktop
sudo desktop-file-install --set-name="LoFi" --set-generic-name="a tiny Spotify player" \
 --remove-key=X-Desktop-File-Install-Version --add-category=Application -m 644 --delete-original \
 --set-icon="/opt/lofi/icon.png" --set-key=Type --set-value=Application --set-key=Exec \
 --set-value="/opt/lofi/lofi --disable-gpu-sandbox" \
 --set-key=Version --set-value=1.0 --set-key=Terminal --set-value=false \
 --set-comment="a tiny Spotify player" lofi.desktop
cd .. ||: # back out
rm -rf lofi* # clean up our dev env

finitelife avatar May 08 '23 03:05 finitelife

Ok, figured indicator was akin to Windows' system tray or Mac's Menu bar. Not sure how that would work in Linux, feels like this could be an Electron issue though.

stamoun avatar May 08 '23 12:05 stamoun