Hot answers tagged

78

Run Tools —> Create Desktop Entry in top menu of IDE.


70

Use IDE to create launcher. Open Tools -> Create Desktop Entry... Alternate method: You need to create a application launcher first. Installing gnome-panel sudo apt-get install --no-install-recommends gnome-panel To create launcher sudo gnome-desktop-item-edit /usr/share/applications/ --create-new This will open up a "Create Launcher" window ...


62

You can also press alt + ` (the key above Tab) to switch between instances of the current application.


61

Type gnome-shell --version in a terminal


58

Make sure port 3389 is opened on your firewall and router. In Remmina edit your connection, click the "Advanced" tab and choose RDP under the "Security" option and save.


58

Open System Settings -> Keyboard -> Shortcuts Select Custom Shortcuts(you can go to Screenshot-s too and it will work) Click + Fill fields Name to Take a screenshot of area Command to gnome-screenshot -a or shutter -s(if u prefer shutter) Click OK Double-click on what you make and set shortcut Shift+PrtSc — And that's all ... ;)


56

You can easily change the hotkey for the HUD by going to System Settings --> Keyboard --> Short-cuts as in the following picture : Note that: Clicking ALT fast , shows the HUD. But When you click and hold you can use it easily for another function. I use ALT without any problems.


56

Good news: you can have Sticky Notes in Ubuntu 12.04 or 12.10. sudo add-apt-repository ppa:umang/indicator-stickynotes sudo apt-get update sudo apt-get install indicator-stickynotes If you'd also like to try an alternative, I can suggested XPad as well, which should be in the official repositories. Here's more info: http://www.omgubuntu.co.uk/2010/08/...


56

The nginx: unrecognized service error means the startup scripts need to be created. Fortunately the startup scripts have already been written. We can fetch them with wget and set them up following these steps: # Download nginx startup script wget -O init-deb.sh https://www.linode.com/docs/assets/660-init-deb.sh # Move the script to the init.d directory &...


51

You can type in the terminal: cd /home/myUser/some/long/path/to/a/directory and then: nautilus . The above command will open nautilus in the folder /home/myUser/some/long/path/to/a/directory (the period is the current directory) Or in the Terminal just type: nautilus /home/myUser/some/long/path/to/a/directory


51

The second approach mentioned in this link worked for me. Manually download the key and add it. Hope that helps others too. The link above provides detailed explanation with screenshots. It also has some other simple methods that could be tried before doing this manually. Since it is not accessible from some regions let me describe the method that worked ...


48

The same snap feature exists in Ubuntu 12.04, only in Ubuntu you use CTRL+FLAG+UP/DOWN/LEFT/RIGHT. This only works for Unity 3D though. In Unity 2D you'll still have UP and DOWN, but not LEFT and RIGHT. With FLAG I mean the flag/Windows/system/super/... key.


46

Resolved it : /etc/vim/vimrc Already contains necessary feature. Just need to uncomment it: " Uncomment the following to have Vim jump to the last position when " reopening a file if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif (Infact, you can refer to /usr/share/vim/...


45

That shortcut is already built-in: Shift+PrtScr :) The full-list of screenshot keyboard shortcuts is:


42

Apache sudo update-rc.d -f apache2 disable Apache is still using rc.d init script, which is why you must disable it using update-rc.d. MySQL echo manual | sudo tee /etc/init/mysql.override MySQL on the other hand has converted to an upstart configuration file. The recommended way of disabling upstart services is to use an override file.


42

You have to change the computers hostname as well. Edit the hostname file and replace the name gksudo gedit /etc/hostname also change the name in hosts gksudo gedit /etc/hosts Leave the other stuff there untouched. For the username, it would be cleaner if you deleted the old user and created your new one.


41

If we check ownership of site1, we will find something like this, ls -ld /var/www/site1/ drwxr-xr-x 2 root root 4096 Oct 24 21:06 site1/ This means that the directory is owned by user root, group root. While user root has write permission (plus read and execute permissions) to the directory, group root has only read and execute permissions. We will ...


40

Try to press right Ctrl and your keyboard will be fully functional in remote computer. You will be able to use Alt+Tab. Clicking on the "keyboard" icon (which means "Grab all keyboard events") does the same.


38

Instead I think this CPU usage is not normal and is related to the well-known kworker bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/887793 The solution for me and for many others was, first of all, find out the "gpe" that is causing the bad stuff with something like: grep . -r /sys/firmware/acpi/interrupts/ and check for an high value (mine ...


37

Compiz looked like it worked. But it didn't work. So the solution to this is the following. First we check available modes. $ xrandr 1440x900 59.9+* 75.0 1280x1024 75.0 60.0 Then we pick the mode, including resolution and refresh rate. $ xrandr -s 1440x900 -r 75 Or just the refresh rate $ xrandr -r 75 Let's see if it worked $ xrandr ...


37

This worked for me: Add these lines to the bottom of sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 Then run sudo sysctl -p or reboot source: http://www.noobslab.com/2012/05/disable-ipv6-if-your-internet-is.html This of course won't stop bind from blindly trying to use ipv6 ...


37

This is what works for me (Ubuntu 13.10): Reinstall vim as vim-gtk: sudo apt-get install vim-gtk select what you want using the mouse - then type to copy to clipboard: "+y to paste to vim from clipboard type: "+p I don't know why but comparing the output of vim --version shows that the usual vim installation is quite restricted compared to ...


36

By opening System Settings > Displays you can change your "primary" screen by dragging the black little bar to the display you want and hit the Apply button. Restarted my PC and i didn't have to use xrandr anymore ^_^ Better explanation than mine you can find here: http://www.thebinaryidiot.com/archives/2011/11/11/gnome-shell-3-2-and-multiple-monitors/


36

This can be done by adding the following PPA to your system: ppa:canonical-qt5-edgers/ubuntu1204-qt5 (Click here for instructions on using PPAs.) You can usually do this with the following commands: sudo apt-add-repository ppa:canonical-qt5-edgers/ubuntu1204-qt5 sudo apt-get update The next step is to install the necessary packages for Qt5 / QML 2....


35

1) It is NOT about how hard you push the mouse cursor to the screen edge, but how far you push it. To be able to reveal the launcher, you must continuously push the cursor against the edge to reveal it. 2) To fix the launcher reveal sensitivity: a. Install then start "CompizConfig Settings Manager" b. Navigate to "Desktop" -> "Ubuntu Unity Plugin" -> "...


35

"Compiz is a compositing manager, which means that it enhances the overall user interaction by adding fancy effects to your windows, from drop shadows to awesome desktop effects like the Desktop Cube or the Expo view. Compiz can also be a window manager, which means that it is the software between you and your desktop apps. It enables you to move or resize ...


34

The device is most likely attached to user group dialout. Just add your user to the dialout group so you have appropriate permissions on the device. sudo usermod -a -G dialout $USER (You may need to logout and back in for the new group to take effect.) No need to mess around with permissions or udev rules.


34

As I had the same problem and figured out the following solution: Open /etc/default/grub with an editor Add a line with this assignment: GRUB_RECORDFAIL_TIMEOUT=N Set N to the desired timeout in case of a previously failed boot Update Grub: sudo update-grub


34

Quit google-musicmanager. Delete the directory ~/.config/google-musicmanager. Start google-musicmanager again. You'll get an initial setup wizard again - this time, choose an empty directory to upload music. Then the bug will not be there anymore. I found this workaround on ubuntuforums.org.


34

You can make a tar archive of the source, copy that to the other computer using the USB drive, and extract it there. Tar preserves file permissions. 1 - On the source computer: cd /path/to/folder/to/copy tar cvpzf put_your_name_here.tar.gz . 2 - Copy put_your_name_here.tar.gz to the USB drive and then to the other computer 3 - On the destination ...



Only top voted, non community-wiki answers of a minimum length are eligible