Reputation
770
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
Badges
5 14
Impact
~57k people reached

1d
accepted Unsuspend process that was not launched from terminal
Apr
24
comment How do I write an application install shell script?
Plus it's going to run update for every program to install, time-consuming. And it needs sudo.
Apr
15
comment Unsuspend process that was not launched from terminal
I was confused because I sometimes run emacs inside a terminal (no X frame) and C-z does suspend then. I hadn't realized that emacs itself started the suspend, but obviously it does.
Apr
15
comment Unsuspend process that was not launched from terminal
@EliahKagan: see the result of ps aux | grep emacs in my post, it's Sl. I pressed ctrl+z in emacs itself. Oh... C-z is (suspend-frame), says emacs help, and in this case it does call to (iconify-or-deiconify-frame) since it's called from an X frame. Only that my WM (xmonad) does not iconify. I guess that's it, thanks! Make it an answer and I'll accept it.
Apr
15
comment Unsuspend process that was not launched from terminal
See my new comment, apparently a redraw from the WM is needed to wake up.
Apr
15
comment Unsuspend process that was not launched from terminal
Sorry I was wrong. Just clicking on the window does not help, it has somehow to be redrawn by the window manager.
Apr
15
comment Unsuspend process that was not launched from terminal
I was really hoping this would work, but it does not. Emacs is still asleep. I tried running that with sudo, but nope.
Apr
15
comment Unsuspend process that was not launched from terminal
@heemayl: jobs shows only the processes started from the terminal in which you type it.
Apr
15
comment Unsuspend process that was not launched from terminal
Oh, actually. Clicking on the emacs frame worked. I have focus on mouse hover, but somehow only hovering did not work. I'm not used to clicking to give focus, and changing focus with the keyboard did not help either. Anyway, I'm still interested in knowing how to unsuspend the process from the terminal, as an academic exercise.
Apr
15
asked Unsuspend process that was not launched from terminal
Apr
14
comment No crontab for user, yet cron jobs are running
@moon.musick, @muru: Thanks for the hints. No luck though. I keep a log of what I do when I set up this kind of things (yes, I do, can you believe it? And I have traces of what I did there). Apparently, I did set the job with crontab -e. What could possibly have happened is that I fiddled with UID afterwards. sudo ls /var/spool/cron/crontabs is empty, or so it seems.
Apr
14
comment No crontab for user, yet cron jobs are running
@zhongfu: right, I should have mentioned that. There is no such file (the directory exists).
Apr
13
asked No crontab for user, yet cron jobs are running
Mar
19
awarded  Popular Question
Mar
10
awarded  Custodian
Mar
10
reviewed Approve Cannot unlock session if user has no password
Feb
13
asked Run only parts of a script as sudo, entering password only once
Feb
12
comment Enter password only once for script making many sudo calls
"I don't want this because then, eg., many files and folders get created that can't be deleted without root access"
Jan
14
comment Cannot unlock session if user has no password
I use version 14.10.
Jan
13
asked Cannot unlock session if user has no password