How to know the return value of a command
Sunday, May 18th, 2008Just do:
$ echo $?
and that’s it.
Just do:
$ echo $?
and that’s it.
So I have a loyal R50e, thing is that resuming from suspend breaks graphics, I had that working back in the days but recent upgrades of drivers and stuff broke it for some months, I didn’t care to fix it since I didn’t have battery anyway.
But now I fixed it again, trick is to edit /usr/share/acpi-support/IBM.config:
# R50e
1834*|1842*|2670*)
ACPI_SLEEP=true;
SAVE_VIDEO_PCI_STATE=true;
# toggled false ->; true
SAVE_VBE_STATE=true;
POST_VIDEO=true;
;;
There! You must make those two vars be true. Maybe some tweaking to /etc/defaults/acpi-support would be needed. Most of time this should be all you need to do.
Just for the records, gmail’s SMTP server uses port 465 for SSL and the 567 (or a similar number, too lazy to search for it) TLS, I had SSL + port 567 and I have been wondering why Evolution didn’t send my mails. Now I found out.
Finding those old crashers on a product is pretty easy if you have this smart bookmark:
this is a huge URL, bookmark it with right click since it has a %s in it
Just type the name of a product “epiphany”, and select the bookmark from the grey area of your completion popup, this smart bookmark will fill the name in that query hence revealing you a lot of bugs needing your love.
Hope it’s useful.
Bad Behavior has blocked 46 access attempts in the last 7 days.