Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing desktop.json #23

Open
mxzmn opened this issue Jan 7, 2024 · 9 comments
Open

Missing desktop.json #23

mxzmn opened this issue Jan 7, 2024 · 9 comments

Comments

@mxzmn
Copy link

mxzmn commented Jan 7, 2024

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.

@chadcat7
Copy link
Owner

chadcat7 commented Jan 7, 2024

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

@mxzmn
Copy link
Author

mxzmn commented Jan 7, 2024

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.

@HynDuf
Copy link

HynDuf commented May 9, 2024

I got the same error too

@hsheikhali1
Copy link

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

@chadcat7
Copy link
Owner

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

@hsheikhali1
Copy link

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
Copy link

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 :)

@chadcat7
Copy link
Owner

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

@hsheikhali1
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants