You are not logged in.
Hi,
I followed the wiki on how to install/configure dwm. Every thing works right. I tried to edit the config.h in emacs, but whenever i try to run makepkg inside emacs, i get this:
==> ERROR: An unknown error has occurred. Exiting...Inside emacs means executed from emacs shell(M-x shell) or compile command(M-x compile)
And an other question not really related to the topic: how to restart dwm from the command line?
Offline
I can't help you with the Emacs question, but restarting dwm depends on how you set it up: if you used the ABS method, you should be able to recompile and then either kill the current running process and restart (ugly) or start it in a while loop and bind restart to a key, like so:
Offline
ok, i didn't tought about this this way.
does makepkg need any thing special in a terminal that emacs shell doesn't have?
Last edited by maroxe (2010-07-22 00:28:04)
Offline
Sorry, I don't know. But you could always try building something else and see if that also throws the same errors.
Offline
it's not related to any package. I tried running makepkg in an empty directory, i get the same error message.
Offline
I also noticed that when i restart dwm(by killing it), my apps are still there but are all in tag1 in screen1. That's annoying!
Offline
it's not related to any package. I tried running makepkg in an empty directory, i get the same error message.
Try running it in xterm or some other shell to see if it is Emacs-related, or not.
I also noticed that when i restart dwm(by killing it), my apps are still there but are all in tag1 in screen1. That's annoying!
Yes, it would be. Have you set up rules for the apps in your config.h so they only appear in certain tags?
Offline
Try running it in xterm or some other shell to see if it is Emacs-related, or not.
It works in any other term except emacs
Yes, it would be. Have you set up rules for the apps in your config.h so they only appear in certain tags?
You don't understand. For example if i open firefox on screen1:tag3 and xterm in screen2:tag9 and restart dwm, they all go to screen1:tag1
Offline
It works in any other term except emacs
Sorry - beyond my ken.
You don't understand. For example if i open firefox on screen1:tag3 and xterm in screen2:tag9 and restart dwm, they all go to screen1:tag1
Oh, I do. If you set Firefox to only open in tag 3, then when you restart, that's where Firefox will be - see my configs for examples of the rules...
# edit You might want to change the title of your post as this is not about dwm (which means you will attract a wider audience) and it is about Emacs and makepkg (which might attract a more knowledgeable one...
Last edited by jasonwryan (2010-07-22 02:59:38)
Offline
i don't want firefox to always be in tag3, but i want it to stay in the same tag before i restart dwm.
(i forgot to say it earlier, do THANK YOU for yur help, what a great community
)
Offline
No problem. You might be out of luck. dwm will allow you to confine an application to a certain tag, but beyond that you would need more sophisiticated functionality.
FWIW, dwm is designed so that apps have their own tag(s) and you pull them into view - the screen/workspace model doesn't really apply here...
Offline
Even the information about the tag are ommited! all applications go to tag1!
I think i must create a bash script that save those information and restore them later.
Offline