Posts

Showing posts with the label Ubuntu

Locking screen from command line

I use gnome and so far I've been happy with my Ctrl+Alt+L shortcut in gnome. It used to lock up the screen when I was away from the desktop. However, recently, I've started to use XFCE and sometimes ratpoison, which didn't have this shortcut. Anyways, the simpler way to lock your screen is from command line and it seems to work everywhere I've tried so far. $xscreensaver-command -lock I just kept in here so that I don't forget. Maybe this little tip would be useful for some. I just found an alternate method that can work too. $gnome-screensaver $gnome-screensaver-command -l

Wine

Ehh.. it didn't take a lot of time to rediscover wine after I made a huge switch to ubuntu last month. After all, there isn't any reason now to keep running windows. I've managed to run the following softwares so far: 1. Adobe Photoshop 7 2. Macromedia Flash 8 3. Macromedia Dreamweaver 8 4. Winrar 5. Flashget but there was a little problem with Picasa 2.6!... Basically I couldn't use the web upload feature... It just wasn't recognizing that I had an internet connection. Damn that sucks. After reinstalling, looking into database and all, I found the error wasn't in Picasa at all but in wine itself due to a bug in wininet library... after some trial, I found that the default wine on the ubuntu repository was slightly older wine 0.9.22 I tried updating and it worked.. the commands? 1. Getting the apt-get list $sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list -O /etc/apt/sources.list.d/winehq.list 2. getting it updated $ sudo apt-get update 3. ...