In my Studio2Go, which is a remastered version of Smithy's first version of Music2Go Artful which is a derivative of Artful Puppy, I discovered a strange thing.

Code:

"`pidof X`"

returns an empty string!

Even though, X is obviously running and active, since I'm posting from Studio2Go right now. This is really annoying, as my Puppies are executing scripts at boot up. Some of them are going to sleep until X is active. So, since pidof X returns an empty string they sleep forever.

Did I break anything on remaster?

Would anyone else please check this in the your Puppies and return the results here?

Since pidof X doesn't return anything in Xenial, I suspect this is the default in Puppies beyond Tahr Puppy, as in my ArtStudio (Tahr based) pidof X works pretty well.

i was, a couple years ago, working on a project that would detect things like this in a variety of puppy distros. i should consider bringing it back.

at the risk of being obvious, ps aux | grep X would help with this. ps | grep X if youre using a version of ps that doesnt do aux. this isnt for the script, its for determining what string to use in the script._________________communities (sometimes) care what youre going through as a user. big for-profit corporations never do.

So, I can solve this without to edit all of my scripts and changing them for the newer Puppies.

Since I can execute any code I want to execute at boot up without to remaster, or to use a save file or save directory, I'm just checking for the existing of X. If not found simply creating a symbolic link /usr/bin/X pointing to /usr/bin/Xorg (or even xwin, if pidof Xorg wouldn't work either).

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum