Experimental- Moksha Desktop

Moderator: Forum moderators

Post Reply
User avatar
trawglodyte
Posts: 237
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 times

Experimental- Moksha Desktop

Post by trawglodyte »

I put a Moksha Desktop on BookwormPup64_10.0.4,
Image

I see a lot of the apps wound up all piled up in Menu>Applications>Other . I don't know what other bugs, quirks, and so forth to expect. Overall, it seems to be very quick, responsive desktop though. If anyone wants to try it, I suggest making a clone of your existing frugal install or doing a new frugal install to experiment with. But here's how I did it on a fresh frugal install of BookwormPup64_10.0.4.

Code: Select all

add "deb [trusted=yes] http://packages.bodhilinux.com/bodhi bookworm b7debbie" to /etc/apt/sources.list

Do following terminal commands
    apt update
    apt install apt-utils manpages manpages-dev libc-devtools xfonts-base
    apt install isoquery libvisual-0.4-plugins gstreamer1.0-tools
    apt install gstreamer1.0-plugins-base terminology
    apt install python3-magic pcmanfm moksha-menu xdg-user-dirs
    apt install bodhi-bins-default libfm-tools qdbus-qt5
    apt install moksha
    apt install bodhi-theme-moksha-green bodhi-theme-moksha-arc-dark bodhi-theme-moksha-ice bodhi-theme-moksha-japan

comment out "deb [trusted=yes] http://packages.bodhilinux.com/bodhi bookworm b7debbie" in /etc/apt/sources.list

edit /etc/windowmanager to one line of text "enlightenment"

create /root/.xsession file with one line of text "enlightenment_start"

edit /root/.xinitrc add the following below other "CURRENTWM=*****" entries
CURRENTWM="`cat /etc/windowmanager`"
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
 exec ck-launch-session enlightenment_start
else
 exec enlightenment_start
fi

reboot

There are other themes, bodhi-theme-moksha-green just seems to be the signature one. Look in the repository for additional themes, modules and so forth. http://packages.bodhilinux.com/bodhi/pool/b7debbie/b/

I don't know the best way to measure the size of it, but I can tell you that I did this on a fresh frugal install, did nothing else, and made a save when I rebooted. That save file is 523mb, so it's smaller than that. Well, the moksha package itself is only 110mb or something, and the 4 themes were 10.1mb.

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

User avatar
trawglodyte
Posts: 237
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 times

Re: Experimental- Moksha Desktop

Post by trawglodyte »

One quirk I noticed is Shutdown or Reboot give a small popup on the screen but doesn't shutdown or reboot. You have to choose LogOut instead and then type reboot or poweroff at command prompt.

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

User avatar
trawglodyte
Posts: 237
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 times

Re: Experimental- Moksha Desktop

Post by trawglodyte »

You don't need packages "terminology" or "pcmanfm" which I showed installing in the O.P. I got them out of curiosity and also some concern that BookwormPup's terminal and file manager wouldn't play nice with the Moksha desktop.

BookwormPup64's Urxvt and LXTerminal are both working fine. Rox-filer also works fine.

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

User avatar
trawglodyte
Posts: 237
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 times

Re: Experimental- Moksha Desktop

Post by trawglodyte »

I made a 1/2 hour desktop video. You can see I don't know what I'm doing and need to read about Moksha here --> https://www.bodhilinux.com/moksha-desktop/ But you can also see what Moksha looks like on BookwormPup64 before doing a lot of tweaking. I gotta admit I thought there would be lots of issues and I was opening a can of worms. But it really seems pretty great so far. A few minor things with apps background/text colors that will be easy to fix. The only real quirk I've found I talk about at 26:40 in the video related to Shutdown and Reboot. If anyone has an idea how to fix that, let me know.

][/media]

Last edited by trawglodyte on Fri Feb 09, 2024 8:33 pm, edited 2 times in total.

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

User avatar
trawglodyte
Posts: 237
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 times

Re: Experimental- Moksha Desktop

Post by trawglodyte »

Here is one solution to the reboot/shutdown gliche.

#cd /root/my-applications/bin
#nano reboot.sh (make this simple script and ctl-s to save and ctl-x to exit back to teminal)
Image
#nano poweroff.sh
Image
#chmod a+x reboot.sh poweroff.sh
#nano /etc/enlightenment/sysactions.conf (edit the halt and reboot lines)
Image
#save2flash

This does integrate a working reboot and poweroff into Moksha Desktop's graphical menu on BookwormPup64_10.0.4. But it will reboot/shutdown without giving the "save" option Puppy Linux users may be used to. You have to make your save before rebooting or shutting down this way. Either with the icon on the desktop or #save2flash in terminal.

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

williwaw
Posts: 1675
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 149 times
Been thanked: 302 times

Re: Experimental- Moksha Desktop

Post by williwaw »

whereis wmpoweroff

(the above is what renders if a # is placed at the left margin today)


at the prompt # whereis wmpoweroff

can you execute a script by clicking on a link created by dragging it to the moksha desktop?

or not as easy but still simple is to write a new .desktop file?
( maybe enlightmenent does not use .desktop files?)

User avatar
trawglodyte
Posts: 237
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 times

Re: Experimental- Moksha Desktop

Post by trawglodyte »

wmpoweroff doesn't work, I think because jwm is not the window manager now, enlightenment is. IDK if a better fix is necessary or not. Like, if it's just going to be people doing this experimentally for fun, then they can use logout, they can reboot/poweroff from terminal, they can follow my instructions to get reboot/shutdown options in Moksha to work (knowing they won't get the normal save options Puppy users are used to). That should be enough choices.

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

Post Reply

Return to “BookwormPup”