From 41591e60da72c8f6c9add8c25cde773bf691dfcc Mon Sep 17 00:00:00 2001 From: fiorile Date: Sun, 25 Aug 2024 13:06:47 -0400 Subject: [PATCH] Stalonetray isn't functional when executed from .xinitrc for now --- neetbsd.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neetbsd.sh b/neetbsd.sh index 949f693..50ac12c 100644 --- a/neetbsd.sh +++ b/neetbsd.sh @@ -50,8 +50,8 @@ else # ^ xdiskusage now acts like the FreeBSD version - probably hacky, but it seems functional # Configure, compile, install, clean ./configure && make CPPFLAGS=-I/usr/pkg/include CPPFLAGS+=-I/usr/X11R7/include && su root -c 'make install clean' - # .desktop - su root -c 'printf "[Desktop Entry]\nType=Application\nName=xdiskusage\nComment=Graphical disk usage program\nTerminal=false\nTryExec=xdiskusage\nExec=/usr/local/bin/xdiskusage\nCategories=Utility" > /usr/share/applications/xdiskusage.desktop' + # .desktop ... apparently redundant with Enlightenment already detecting xdu but well + su root -c 'mkdir /usr/local/share/applications/ && printf "[Desktop Entry]\nType=Application\nName=xdiskusage\nComment=Graphical disk usage program\nTerminal=false\nTryExec=xdiskusage\nExec=/usr/local/bin/xdiskusage\nCategories=Utility" > /usr/local/share/applications/xdiskusage.desktop' cd .. # Go back to /tmp rm -r /tmp/xdiskusage-1.60* # Erase tmp compilation data echo 'Software compilation done' @@ -66,7 +66,7 @@ echo 'Configuring the installed packages...' echo 'Creating ~/.xinitrc' # Back up the previous .xinitrc if it exists mv ~/.xinitrc ~/.xinitrc.old && echo 'Previous .xinitrc backed up as .xinitrc.old' -printf 'exec enlightenment_start\nexec stalonetray\n' > ~/.xinitrc.tmp # Start enlightenment + stalonetray +printf 'exec enlightenment_start\n' > ~/.xinitrc.tmp # Start enlightenment cat ~/.xinitrc.tmp ~/.xinitrc.old > ~/.xinitrc # Merge the command for e. with the old xinitrc rm ~/.xinitrc.tmp # Erase the temporary xinitrc # RESULTING .xinitrc: