Tag Info

Hot answers tagged

53

~/.bash_profile is only sourced by bash when started in interactive login mode. That is typically only when you login at the console (Ctrl+Alt+F1..F6), or connecting via ssh. When you log in graphically, ~/.profile will be specifically sourced by the script that launches gnome-session (or whichever desktop environment you're using). So ~/.bash_profile is ...


15

You really don't want to download the source code for all of Ubuntu. That's millions and millions of pages of text – literally. Instead, you'll get the source code for specific packages you're interested in, and that's very easy. Ubuntu is written in lots and lots of different languages. C, C++, Vala and Python are highly popular, but all kinds of languages ...


13

You can check if your Bash shell is started as a login-shell by running: shopt login_shell If the reply is off you are not running a login shell. Read the Bash manual's invocation section on how Bash reads (or does not read) different configuration files. Excerpt from man bash: When bash is invoked as an interactive login shell, or as a ...


13

First, find out what package the df command comes from. This will turn out to be coreutils. Then run the command apt-get source coreutils to get the source code for the package containing the df command.


6

You don't need anything except the binaries. Those should already be copied to another location by make install. The rest can be removed. If you're unsure make a backup before removal. Remove, test if still working, if still working remove the backup. Note: As ændrük pointed out: Using checkinstall over make install has the virtue of enabling Ubuntu to ...


6

If you enable the source code repositories in "Software sources" application (software-properties-gtk), you can download the latest python source that is related to the package: apt-get source python You can do that for any ubuntu/debian package. You can always google your way to the source code: http://www.python.org/download/releases/


5

Usually when you build software from source, it will be for one of several reasons: You want to help with the development of the software. Obviously if you're going to develop the software, you need a copy of the source, and a way to test your changes. You absolutely can't tolerate a certain problem with the latest stable version of the software. In this ...


5

Main tool on Ubuntu/Launchpad to manage SW version controls and SW changes is Bazaar. You can find a wiki here. In summary, to submit a change you should: Install bazaar: sudo apt-get install bzr Generate a SSH key and register it to you launchpad user ID (see the wiki mentioned above); Look for the package you want to fix. As an example let's say the ...


4

Most of the applets is provided by the packages gnome-panel and gnome-panel-data apt-get source gnome-panel-data The exception is applet 2. Panel 1: This is the Menu Bar (custom menu) - the code is in the folder gnome-panel-3.4.1/applets/wncklet Source files: window-menu* Panel 2: This is provided by the package indicator-applet-complete Panel 3: ...


4

When you install from source, there is nothing (like dpkg) that will track the newly installed files for you (what files and where they were placed). Unless you explicitly use a tool. How to know where the files were installed I use Git to track installations in my /usr/local. Here is how it looks: cd /usr/local git init git add . git commit -m "Starting ...


4

While Ubuntu is an operating system, it is actually comprised of several different aspects. One aspect is the kernel, the extreme back-end of the operating system. Another aspect is the desktop manager, window manager, etc. Then of course there's the programs. Generally speaking, the source for all of these aspects is all open, and freely available. ...


4

There's a single method of doing copy and paste in an X window system environment (GNOME, KDE .etc), namely Ctrl+C and Ctrl+V. How this 'copy and paste' works? The whole scenario involves two parties: client applications and clipboard manager. their behavior is specified in the freedesktop standard: 1. ...


3

~ doesn't appear to be expanding properly. When I run your script with an intentionally fake path, the error doesn't say ~, but expands the path (i.e. /home/sparhawk/fakepath not ~/fakepath. You could try using $HOME instead of ~, or using the full path in the script instead. (I'm not sure why ~ doesn't work on your system, as your script works fine for ...


3

You have two options: compile from source (which is easy if you follow the instructions) or use a precompiled package for 12.04 with your 12.10 version. In both cases you will get aegisub 3.0.1. Install from precompiled package On this page someone provides precompiled packages of aegisub and wxWidgets (install both packages) for Ubuntu 12.04. Despite the ...


3

Firstly, can you confirm that you are using the PPA at https://launchpad.net/~abogani/+archive/ppa ? Do you have both lines in your sources.list, the deb and the deb-src, ie (for 11.10): deb http://ppa.launchpad.net/abogani/ppa/ubuntu oneiric main deb-src http://ppa.launchpad.net/abogani/ppa/ubuntu oneiric main If so, that should work - and does, for ...


3

The Ubuntu One file synchronization daemon, ubuntuone-syncdaemon and the related commandline utility u1sdtool, are python programs and as such don't need “building” in the traditional sense (the parts of ubuntuone-client that need building are the nautilus extension—which you don't want—and the icons used by it). At runtime u1sdtool simply talks to ...


2

If you installed files using make install, the only way to know where they went later on if you want to uninstall them is to inspect the source files. You may want to archive a copy of the source for this purpose. A better alternative is to use checkinstall instead of make install. This allows Ubuntu's package manager to track each of the installed files in ...


2

Generally once you got your binaries installed you can remove the directory containing source code, unless you want to compile them again, possibly with other compilation options. Sometimes you could find particularly useful to keep the source directory, for example when upgrading Apache. You can decide what's your best, in my opinion keep the source ...


2

If you open a terminal or run su the shell is not executed as a login shell but as a normal interactive shell. So it reads ~/.bashrc but not ~/.bash_profile. You can run su with the -l option to make it run your shell as a login shell. When you are working with a GUI the shell is usually never run as a login shell so it's usually fine to put all yout stuff ...


2

I went into synaptic ("Ubuntu Software Center") icon. I went into the Ubuntu top bar indicator (not the winow, the one at the top of your screen) and went into preferences and unchecked the second duplicate (shown here when both were still checked): Then I was able to sudo apt-get update at the command line again.


2

Packages explicitly list what they depend on in a special file in the package itself (more information here). That's what the package manager uses to figure out the full set of dependencies. And yes, it downloads them from the repository. You can only use it for valid package names that are known to your package manager (since it needs to access the file ...


2

Please refrain from using downloads when the software you want can be installed with Ubuntu Software Center using a normal debian installer. This will install Stencyl 2.1.0 (and yes you can install the 12.04 version in 12.10) sudo add-apt-repository ppa:upubuntu-com/games sudo apt-get update sudo apt-get install stencyl This might be required as a post ...


2

It's not clear to me what source you are asking for. Python is installed by default on Ubuntu and the 2.7 version is installed on Ubuntu 12.04 (and I believe earlier versions). Is it python 2.7 that you installed with synaptic? Ubuntu uses CPython, so named because it is written in C. Therefore its source is not put on your computer unless you ask for it. ...


2

I have to ask, why do you need gedit to save every second? Gedit's autosave interval seemingly can only be adjusted at a one-minute resolution. I can give you commands to do it on the command line, but you'll still be only able to set a 1-minute autosave timer.  gsettings set org.gnome.gedit.preferences.editor auto-save true gsettings set ...


2

Ok I finally found a solution to this problem. When I create a new user that new user will have less functionality in command line. He wont be able to use UP arrow keys or copy and paste from the shell or commands like source and autocomplete. The reason for this is that the new user will be using default shell /bin/sh and all these functionality exists in ...


2

Looks like a major breakage to me. There are meta-packages that don't work at all, some link to the old 3.2.0 kernel. For example, doing apt-get source linux-image-$(uname -r) will fail, as it tries to use linux-lts-quantal instead, and then fails as that package cannot be found. We've been trying around for two hours, before resorting to using their kernel ...


2

Here are what seems to be the latest directions: mkdir ~/unity fetch Unity 8 source: sudo apt-get install bzr bzr branch lp:unity/8.0 ~/unity/unity8 cd ~/unity/unity8 The directions are from this page, which is relatively new. I just tried it and it produced the bazaar unity8 repo in the my ~/unity/unity8 directory, including the whole tree of source ...


2

at this time, the version of ffmpeg you compiled only supports decoding, not encoding. From the output of your command : D.V.L. hevc H.265 / HEVC (High Efficiency Video Coding) Codecs: D..... = Decoding supported .E.... = Encoding supported ..V... = Video codec ..A... = Audio codec ..S... = Subtitle codec ...I.. = Intra frame-only ...


2

Just download it from sourceforge extract .zip using the following command line at terminal : unzip ~/Downloads/TubeMaster%2B%2B.2.5_Source.zip open eclipse (install it if already not installed: sudo apt-get install eclipse) go to eclipse menu: open project and select the directory ~/Downloads/TubeMaster++.2.5_Source Then build I hope that helps


2

Why is there a html page in your sources? deb http://docs.openstack.org/havana/install-guide/install/apt/content/basics-packages.html This does not belong in sources.list since it is not of a normal format. Compare it to the other 2 and you will see the sources.list needs 4 sections and there are only 2 on this like. It is missing precise-updates/havana ...



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