-
Improve font rendering for IntelliJ IDEA / Pycharm in Ubuntu
Stock font rendering in Pycharm / Intelliji IDEA is horrible on Ubuntu. To improve it, change the following: First of all, we need to install Infinality fonts:
Shell1234567891011sudo add-apt-repository ppa:no1wantdthisname/ppasudo apt-get updatesudo apt-get upgradesudo apt-get install fontconfig-infinalitysudo /etc/fonts/infinality/infctl.sh setstyle linuxsudo gedit /etc/profile.d/infinality-settings.sh# and setUSE_STYLE="UBUNTU"Installed the patched OpenJDK with fontfix:
Shell12345sudo apt-add-repository -y ppa:no1wantdthisname/openjdk-fontfixsudo apt-get updatesudo apt-get install openjdk-7-jdkIn $IDEA_HOME/bin/*.vmoptions add the following: (PS: $IDEA_HOME is the path to IntelliJIdea or Pycharm)
bin/*.vmoptions12345-Dawt.useSystemAAFontSettings=lcd-Dswing.aatext=true-Dsun.java2d.xrender=trueand in $IDEA_HOME/bin/pycharm.sh or idea.sh change the following line
Shell123eval "$JDK/bin/java" $ALL_JVM_ARGS -Djb.restart.code=88 $MAIN_CLASS_NAME "$@"[…]
-
Ubuntu – Fix large fonts for Google Chrome in Address Bar and Bookmarks bar
Since version 35, chrome switched to Aura framework and does not follow GTK theme anymore. This leads to large font size in address bar, and bookmarks bar. However, it grabs font size settings from org.gnome.desktop.interface “font-name” property. To fix this, run the following command:
Shell123456gsettings set org.gnome.desktop.interface font-name 'Ubuntu 10'# orgsettings set org.gnome.desktop.interface font-name 'Ubuntu 11'# depending on your preferencesYou must restart chrome for this to work. FacebookTwitterGoogle+
-
Ubuntu 14.04 ctrl+alt+del shutdown dialog
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 […]
-
Wine – Diablo 3 via Battle.net launcher error on Ubuntu 14.04
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:
Shell123setarch i386 -3 -L -B -R wine '/path/to/Diablo III.exe' -launch -openglAlternatively, if you want to create a shortcut, run:
Shell123sudo gedit /usr/share/applications/diablo.desktop[…]
-
Fix ugly Skype theme on Ubuntu 14.04
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:
Shell123sudo apt-get install gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386Before: Before fixing skype After: After FacebookTwitterGoogle+
-
Ubuntu 14.04 installing external .deb fails “Package operation Failed”
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 […]
-
Ubuntu 14.04 lock screen asking password twice
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 […]
-
Ubuntu – resize window with alt-right click
To enable this functionality in ubuntu, install gconf-editor:
123sudo apt-get install gconf-editorrun it, and navigate to apps/metacity/general and enable "resize_with_right_button" key. In Ubuntu 14.04
123sudo apt-get install compizconfig-settings-manager123ccsmClick Window Management and Resize Window. Set the key to “<Alt>Button3″ For Linux Mint (version now: 17):
123gsettings set org.cinnamon.desktop.wm.preferences resize-with-right-button trueFacebookTwitterGoogle+
-
Slow SSH login on Ubuntu
I have recently experienced a slow ssh login issue on ubuntu 13.10 (xubuntu actually). Tried all kind of solutions from internet, nothing worked, except this: Edit the following file:
123sudo nano /etc/nsswitch.confFind the following line: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 replace with hosts: files dns Voilà! Ssh authentication working like a charm! FacebookTwitterGoogle+
Categories
- CSS (2)
- Django (7)
- Javascript (1)
- Linux (12)
- Other stories (5)
- PHP (1)
- Pics (1)
- Plugins (5)
- Programming (10)
- Python (7)
- Sublime Slack (2)
Recent posts
- Improve font rendering for IntelliJ IDEA / Pycharm in Ubuntu
- Ubuntu – Fix large fonts for Google Chrome in Address Bar and Bookmarks bar
- Django `CheckboxSelectMultiple` with `ModelMultipleChoiceField` generates too many queries (solution)
- South migrations and MariaDB
- Command/Shortcut to Lock Screen with “away message prompt” in Linux Mint 17 / Cinnamon
- Install Skype 4.3 in Arch Linux / Manjaro
- Sublime slack – preformatted text
- Django get current user globally in the project
- Invalidate template fragment cache in Django 1.5
- Sublime Slack 1.4.3 Changelog
- Ubuntu 14.04 ctrl+alt+del shutdown dialog
- Wine – Diablo 3 via Battle.net launcher error on Ubuntu 14.04
- Fix ugly Skype theme on Ubuntu 14.04
- Ubuntu 14.04 installing external .deb fails “Package operation Failed”
- Ubuntu 14.04 lock screen asking password twice
- Sublime Slack 1.4.0 released
- Sublime Slack 1.3.3 bugfixes
- Sublime Slack 1.3.2 changelog
- Sublime Slack 1.3 released
- Manually generate Django password reset token