Posts

Showing posts from April, 2014

Sublime Slack 1.4.3 Changelog

Image
Fixed some bugs
Implemented avatar support. By default the avatar icon is this :

but you can change it with settings:

{
"team_tokens": {
"Team 1": "team-1-token-goes-here",
"Team 2": "team-2-token-goes-here",
},
"username": "ST",
"avatar_url": "http://simionbaws.ro/icons/sublime-48.png",
"show_plaform_and_name": true
}


Result:

Ubuntu 14.04 ctrl+alt+del shutdown dialog

Image
Currently , in Ubuntu 14.04 if you press Ctrl+Alt+Del, it pops out the logout or lock dialog.
Many of us were used to have the shutdown/restart dialog prompted on Ctrl+Alt+Del.

Here's how you get the shutdown dialog:

open System Settings -> Keyboard, click on the second tab "Shortcuts",  and then click on the "+" icon to add a new shortcut.

Give it a name (ex: "Shutdown dialog") and in the command field enter gnome-session-quit --reboot .


After creating the shortcut, you need to assign it a keybind. Click on "Disabled" in the right side of the shortcut, then press "Ctrl+Alt+Del". A conflict dialog will show up. Click on "Reassign".


Now, when pressing Ctrl + Alt + Del, you will have this dialog shown:





Alternatively, you want to have all the "quit" options in one dialog (lock, suspend, restart, shutdown) you can replace the command with gnome-session-quit --power-off  and get this result:



Wine - Diablo 3 via Battle.net launcher error on Ubuntu 14.04

Image
This error occurs on ubuntu 14.04 when trying to run Diablo III from battle.net launcher:
Wine - Diablo 3 via Battle.net launcher error: Please try again after logging on as an administrator


To avoid this error, you must launch Diablo 3 using the following command:
setarch i386 -3 -L -B -R wine '/path/to/Diablo III.exe' -launch -opengl
Alternatively, if you want to create a shortcut, run:
sudo gedit /usr/share/applications/diablo.desktop
and paste the following content (don't forget to update the path to diablo .exe file, and the icon file)
[Desktop Entry]
Name=Diablo III
Comment=Run Blizzard Diablo III via Wine
Exec=setarch i386 -3 -L -B -R wine '/path/to/Diablo III.exe' -launch -opengl
Icon=/path/to/d3.png
Terminal=false
Type=Application
Categories=Application;
You can download the icon file here: https://dl.dropboxusercontent.com/u/99980406/2014/04/d3.png , save it somewhere and point the location in diablo.desktop file created previously.

Fix ugly Skype theme on Ubuntu 14.04

Image
Because Skype is a 32bit app and the GTK theme engine is not installed by default for 32bit, skype uses Clearlooks theme instead of the ubuntu's gtk Ambiance theme.

To fix this, install the following:
sudo apt-get install gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386
Before:

[caption id="attachment_293" align="alignnone" width="620"] Before fixing skype[/caption]

After:

[caption id="attachment_292" align="alignnone" width="620"] After[/caption]

Ubuntu 14.04 installing external .deb fails "Package operation Failed"

Image
For some reason, installing external .deb files from ubuntu software center fails. The bug is reported on launchpad.

It doesn't really matter why it is not working, because the Ubuntu Software Center itself is slow and heavy.

The workaround given on launchpas is to use "dpkg -i <file.deb>" but the issue with this is that it does not resolve dependencies.

My recommendation is to use "Gdebi" as an alternative. It's extremly fast and lightweight, and it comes with a command line tool, and a GUI tool.

Once you install Gdebi (sudo apt-get install gdebi ), edit the default applications file:
sudo gedit /usr/share/gnome/applications/defaults.list
find the following lines:
application/x-deb=ubuntu-software-center.desktop
application/x-debian-package=ubuntu-software-center.desktop
and replace with
application/x-deb=gdebi.desktop
application/x-debian-package=gdebi.desktop

Ubuntu 14.04 lock screen asking password twice

Image
So, everyone loves the new Ubuntu 14.04 lock screen, which looks exactly as the login screen.

But there is an issue with it. If you lock your screen manually (Ctrl + Alt + L) and leave your computer a couple of minutes (untill it locks the screen automatically), when you unlock it, it will ask for your password twice.

Workaround: Go to Settings -> Brightness and Lock -> Lock [OFF] (switch it to off).