crystal icon indicating copy to clipboard operation
crystal copied to clipboard

Missing desktop.json

Open mxzmn opened this issue 2 years ago • 10 comments

Clean Nix installation results in Awesome refusing to load. After creating the json folder as directed here it stops complaining over settings.json (which it creates) however Awesome then spits out an error over desktop.json (which does not exist and is not created). What is supposed to be in this file? Simply creating an empty json doesn't solve it.

I would show the full error if I could but as I'm not entirely sure how to get Zephyr to work on Nix and as the notification styling - which seem to limit the number of letters allowed - does load, all I can see is the first few lines:

/home/namish/.config/awesome/ui/desktop/init.lua: 394:.cache/awesome/json/desktop.j is all that's shown but presumably it is because the file is missing.

mxzmn avatar Jan 07 '24 05:01 mxzmn

creating an empty json shouldnt solve it, it should be automatically created on startup if .cache/awesome/json is made

namishh avatar Jan 07 '24 06:01 namishh

creating an empty json shouldnt solve it, it should be automatically created on startup if .cache/awesome/json is made

It is not created. Awesome creates the settings.json file after creating the folder but does not create desktop.json. I wiped the entire awesome config and re-ran home-manager switch several times but the desktop.json file is never created.

mxzmn avatar Jan 07 '24 06:01 mxzmn

I got the same error too

HynDuf avatar May 09 '24 15:05 HynDuf

Yup also getting the same error.. doesn't seem to want to generate settings.json :(

hsheikhali1 avatar Jun 13 '24 02:06 hsheikhali1

you need to make sure the folder .cache/awesome/json exists

namishh avatar Jun 13 '24 12:06 namishh

you need to make sure the folder .cache/awesome/json exists

Hmm I've done this -- but let me try from the beginning again and make sure all dependencies are installed as well

hsheikhali1 avatar Jun 13 '24 13:06 hsheikhali1

you need to make sure the folder .cache/awesome/json exists

You know what.. after i got this working I kept running into an issue with the ruled package on nixos.. apparently I have awesome4.3 with the ruled package but its not ffinding it?? not sure whats going on..

If you have a some steps or a guide on how to get this working on nixos I'd appreciate it :)

hsheikhali1 avatar Jun 13 '24 23:06 hsheikhali1

you need the git version of awesome not the stable version.

namishh avatar Jun 14 '24 05:06 namishh

I've tried but it keeps failing to compile awesome :( I know this is not a problem with your dots but would appreciate some guidance I'm new to nix!

hsheikhali1 avatar Jun 14 '24 11:06 hsheikhali1