If I create a Live CD/USB and boot from that, is there any way that an existing system on the hard drive can be upgraded by use of the command line, and not the Ubiquity installer?
kiri's questions
When I play Minecraft, the icon in the Unity Launcher for it is always a grey question mark. This has persisted from Minecraft 1.6.2 to 1.7.4.
See this screenshot:
How can this be fixed?
I have tried to create a .desktop file to launch the Minecraft launcher, however this only gives the launcher an icon and the game still shows as a grey question mark.
The .desktop file attempted was (adapted from this asnwer):
[Desktop Entry]
Name=Minecraft TEST
Comment=
Exec=java -jar /opt/Minecraft/Minecraft_launcher.jar
Icon=/usr/share/icons/Minecraft_Block.svg
Terminal=false
Type=Application
StartupNotify=true
I've also tried creating a file with gnome-desktop-item-edit --create-new
however that doesn't work either.
With either method, if I specify an icon in the .desktop file, the icon is given to the Minecraft launcher, not the game (I want the game to have an icon as well).
I was using Ubuntu 13.04; I've since upgraded (via a fresh install) to 13.10 with the same issue persisting.
I use a lot of PPA's. I'd like to check if all of them have packages for Saucy before updating.
Is there a program which checks whether my PPAs have packages for a different version of Ubuntu?
I'm trying to limit the bandwidth of a virtual machine running via VirtualBox.
trickle -d 5 virtualbox
doesn't work, I believe because of an issue with child processes
(trickle -d 5 sudo apt-get upgrade
doesn't work either)
How can I limit the download/upload bandwidth of VirtualBox's VMs?
Is it possible to use variables (like $JAVA_HOME
) in the Nautilus location bar?
I think this will be useful to access certain locations easily.
When my computer is locked, I am presented with the default Ubuntu lockscreen. When I enter my password and unlock it, I am presented with the Cinnamon 2 lock screen and I have to enter my password again.
How can I disable the Cinnamon 2 lock screen?
Note: I've installed Cinnamon 2 with these commands:
sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
sudo apt-get update
sudo apt-get install cinnamon
How can I get the name of the default font (and default monospace font), in the format:
Ubuntu Mono:size=12:antialias=false
I'm aware of fc-list
which gives me a list of all the fonts, but how can I know which one is the default font?
Use: I'm trying to launch xterm
like this: xterm -fa Ubuntu Mono:size=12:antialias=false
and auto-detect the default monospace font.
How can I execute a program (specifically a bash alias) with the default environment variables?
Consider this example:
export test="something I dont want to exist"
alias _xterm='xterm -fn 7x13 -fa "Ubuntu Mono:size=12:antialias=false"'
_xterm
In the spawned xterm
instance, the variable $test
shouldn't be set.
Is it possible to leave Gparted on the system after installation, seeing as it is already on the LiveUSB? As a related question, why is it removed from the final system in the first place?
How can I execute a file without giving myself execute permissions (with chmod u+x
) for it?
If I try and tick the 'Allow executing file as program' checkmark, the checkmark is immediately removed.
How can I disable manual window resizing (by grabbing the edge of the window or otherwise) for one specific window?
CCSM seems to only have rules for setting window sizes, not this.
How can I get a 'verbose' exit code for apt-get
so that errors like this
Package google-chrome is a virtual package provided by:
google-chrome-stable 29.0.1547.76-r223446
google-chrome-beta 30.0.1599.47-1
You should explicitly select one to install.
E: Package 'google-chrome' has no installation candidate
have a different exit code than download errors like this
Err http://dl.google.com/linux/chrome/deb/ stable/main google-chrome-stable amd64 29.0.1547.76-r223446
Something wicked happened resolving 'dl.google.com:http' (-11 - System error)
Currently, both errors exit with 100
Basically, I'd like to have download errors exit with a different code than errors like the first. If possible, I'd like each specific error to have a different exit code, but the above example is the minimum I need. How can I do this in a vanilla Ubuntu install without additional software (with the exception of aptitude
)?
I am not asking how to boot the LiveCD from a USB.
I have 2 Ubuntu installations, one on my computer's internal hard drive and another on a USB drive.
Is there a way to add a GRUB2 menu entry (to the GRUB on my internal hard drive) to boot the Ubuntu OS which I have installed to the USB flash drive and have this same menu entry still work after I've upgraded the Linux kernel on the USB installation?
How can I get some details about a package without installing it, (eg. the description and version number) like in Synaptic or Aptitude. The command
dpkg -s PACKAGE
does not work, with this error. It works for installed packages, though
dpkg-query: package 'PACKAGE' is not installed and no information is available
How can I make manpages (from the man
command) open in a web browser for easier navigation?
When running Aptana Studio 3, the icon in the Unity launcher is a grey square with a question mark. The icon is present in the Dash.
AptanaStudio3.desktop:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Aptana Studio 3
GenericName=Integrated Development Environment
Comment=Aptana Strudio 3 Integrated Development Environment
Exec=/opt/Aptana_Studio_3/AptanaStudio3 %F
TryExec=/opt/Aptana_Studio_3/AptanaStudio3
Icon=aptana.xpm
StartupNotify=true
StartupWMClass="Aptana Studio 3"
Terminal=false
Type=Application
MimeType=text/xml;application/xhtml+xml;application/x-javascript;application/x-php;application/x-java;text/x-javascript;text/html;text/plain
Categories=GNOME;Development;IDE;
When I maximise a window and hover my mouse where the window controls should be, they do not appear however if I hover my mouse over the file menu bar, they do appear but as soon as I move my mouse back, it disappears as if my mouse was elsewhere. This is only on maximised windows and I'm using Ubuntu 13.04.
Mouse over menu:
Mouse over window controls:
I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.
Should I do it with Wubi, or through the Live USB/DVD?
What steps do I need to take to correctly install Ubuntu?
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will be closed per the help center.
I installed Ubuntu 11.04 on one of my systems and I am using the Unity interface. Unity is working quite well so far but I really miss panel applets for net speed, cpu temp, and system monitor.
These applets are useful for viewing quick info. Unlike 10.10, there is no other way to get this info onto the panel or unity launcher. There are solutions like screenlets and conky but they don't feel appropriate for a clean desktop look.
If you know one then please list out any third party indicators with links so that they can be found.