General :: Profile Is Not Sourced On Startup?
Mar 1, 2011
I've recently installed virtualenv + virtualenvwrapper on Linux Mint 10 LXDE. For convenience I've added the standard WORKON_HOME settings to my ~/.profile
export WORKON_HOME=$HOME/Envs
source /usr/local/bin/virtualenvwrapper.sh
Then I've noticed that workon does not work after login, which means the above commands were not run. If I source ~/.profile then it works. I'm really not sure what could cause .profile not being run? I've checked and I don't have .bash_profile or .
View 1 Replies
ADVERTISEMENT
Mar 22, 2010
When I SSH to a certain Linux host, although my default shell is tcsh, the .cshrc file under my home directory is not sourced at all. I can't understand why this happens because from my understanding, if I'm using the tcsh, the .cshrc should be sourced anyway!
View 1 Replies
View Related
Feb 11, 2011
I want to assign the path of a sourced sub.bashrc file to an environment variable. E.g. if I type (or execute) from a known relative location
$ source ../../someDir/sub.bashrc
the sub.bashrc should set a variable like
export MyOwnLocation=/home/user1/unknownlocation/someDir
The problem is I can't use $0 as reference because the script is only sourced not executed. I also don't want to hardcode the path because the location might change and there will be more copies. Is there an easy way to create this information from within the the sourced bashrc file? I use Gnu bash 2.05b on Suse Linux 9.
View 6 Replies
View Related
Aug 9, 2011
I have quiet splash disabled so I can see what boot processes are run on startup, and I notice that on every time I boot my computer the Firefox profile is skipped. Here's the message: Code: Skipping profile in /etc/ apparmor.d/disable: usr.bin.firefox,I checked /etc/apparmor.d/disable, and see that there is indeed a link to usr.bin.firefox. So I'm wondering how/why it got there. I haven't touched anything in AppArmor since my clean install of Natty.
View 6 Replies
View Related
Jun 8, 2011
I want to change working directory of my script by another script that has been included.
First script:
#!/bin/bash
pwd
source script2
pwd
Sedond script:
cd ..
pwd
View 5 Replies
View Related
Jul 28, 2010
How do I share default profile file by NIS so that I do not have to setup profile in every NIS clients?
View 3 Replies
View Related
Jan 17, 2010
I am curious since "Run command as a login shell" is UNTICKED (I think for all new users) under Gnome Terminal -> Menu Bar -> Profiles -> Edit -> Title and Command , BUT .bash_profile is sourced. I thought .bashrc should be sourced instead ?
View 6 Replies
View Related
Dec 21, 2010
I've already gotten into the .mozilla folder and found the profiles.ini file. My windows XP system has it's Documents and Settings folder on a seperate drive (D:Documents and settings) And I've located the profile (application datamozillafirefoxprofiles) Now all I need to do is put the path into the profiles.ini file in the .mozilla folder in Ubuntu. The problem is I don't know exactly how to format it.
In windows the path is:
How would I translate this into something ubuntu "follows?" I already have the profile name changed as well.
View 1 Replies
View Related
Oct 12, 2010
How can i edit the environment file?
View 3 Replies
View Related
Jul 12, 2010
how can i upload my pic into my profile.
View 9 Replies
View Related
Apr 24, 2011
I am using red-hat linux-5 version. My profile become corrupt and now I can't see the files, folders I had saved. How can I recover my corrupt profile.when I open my profile there appears no data.
View 1 Replies
View Related
Sep 3, 2010
How to add a new role and profile for new user by using the command "useradd" in linux.In solaris there is an options(useradd -R and useradd -P) for these actions, like this how to add role and profile for new user in linux.
View 3 Replies
View Related
Apr 5, 2010
A cluster with a head node and compute nodes. An application with a couple of env variables (App_HOME, PATH) set in .profile (default shell sh). If I login to the head node/compute nodes on a terminal everything works fine. The correct env variables are set and the application works. However, when my application tries to do it, say ssh <compute node1> <application>, it appears the environment variables are not available. It only looks in the minimal /bin, /usr/bin type PATH. This tells that the .profile is not being read
View 2 Replies
View Related
Mar 24, 2010
Profile is getting called twice for every login change. Interestingly when i use SU, it is invoked once only. how to set profile to be called only once.
View 3 Replies
View Related
Apr 13, 2011
I can't store LD_LIBRARY_PATH in /etc/profile. After restart the variable is empty. All OK with any other variable, for example INFORMIXDIR, but not with LD_LIBRARY_PATH. If I use EXPORT command in the console all OK. I'm using Ubuntu 10.04. What's wrong?
View 13 Replies
View Related
Feb 15, 2010
I have a Finnix live CD. I can customize it by remastering it. When I boot with the live CD I need to make a little change in the boot profileThe boot profile before making the changes islinux apm=power-off vga=791 initrd=minirt quiethe boot profile after making the change become linux apm=power-off vga=791 initrd=minirt quiet root=/dev/sr0Now, I need to make this change (adding root=/dev/sr0) permanent. How can I do that?
View 1 Replies
View Related
Dec 2, 2010
I know the way to create a new firefox profile in Windows.
I want to create a new firefox profile in linux/solaris.
View 1 Replies
View Related
Jan 28, 2011
I'm building the code on remote linux machines, and it takes very long time. Since all the filesystem is on NFS, I suspect the NFS is the bottleneck. Can I profile the build process (make all) down to system read/write calls? Or simply put, what tool do I need to find the bottleneck. Is strace gonna help?
View 1 Replies
View Related
Mar 21, 2011
I want to append following text to my profile file from script:
JAVA_HOME="/usr/lib/jvm/java-6-sun"
CATALINA_HOME="/usr/share/tomcat6"
CATALINA_BASE="/var/lib/tomcat6"
ANT_HOME="/usr/share/ant"
export JAVA_HOME CATALINA_HOME CATALINA_BASE ANT_HOME
Kindly let me know how can I accomplish this?
View 2 Replies
View Related
Apr 15, 2011
I have a monitor with oversaturated red (HP LP2475w). I am able to apply ICC profile to various apps like GIMP and Firefox and Gnome. But I'd like to apply it to everything - because e.g. Flash animations in Firefox are rendered by Flash and don't use ICC. So, can I apply it to whole X?
View 2 Replies
View Related
Mar 15, 2011
my opera browser keep getting reseted every time i open it (i.e the opened tabs , browser settings etc), i am using Debian squeeze on my pc.
View 3 Replies
View Related
Jan 7, 2010
How to profile a multithreaded program using gprof?
View 1 Replies
View Related
Aug 21, 2010
Using Fedora 13, I need to specify the language and keyboard on a per user basis. I am familiar with the necessary changes if editing system-wide /etc/sysconfig/i18n just not sure where the custom settings need to be based on user.
View 1 Replies
View Related
Mar 7, 2010
If I want a script to start with the system, i'd put in profile ? this is on a jaunty box. Its my webserver, i login via NX to fiddle. when i do this webcam starts logout webcam stops. motion is in starting programs.while we're at it where does karmic, and jaunt store its EDITOR varible, i wish to chage the default editor.
cheers
View 1 Replies
View Related
Jul 27, 2011
How do i encrypt & decrypt password in a file for security reason ? is there any shell scripts available to do the same?
OS : aix 5.3
View 3 Replies
View Related
Jul 12, 2011
I've been handed the role of looking after my company ftp server which is running redhat. I've logged on as root & have somehow lost all of the menu items from the grey toolbar. All i now have on the desktop are the disk & partition icons. I haven't changed / added anything, just logged on to the box. The only way i can log out or reboot is to press in the server power button which cannot be right ? Is there anyway of making the menu options visible so that i can at least familiarise myself with the O/S ?
View 3 Replies
View Related
Jan 16, 2011
How do I amend the time zone in my profile please?
I entered "London" but the page reverted back to its probable default -5GMT.
View 2 Replies
View Related
Feb 3, 2011
will someone please be so kind in telling me how I can remove the windows icon on my profile
View 4 Replies
View Related
May 25, 2011
I added a directory to the $PATH variable in /etc/profile. This works for my user account but not for root. It's easy to add it to my /root/.bashrc but I would like to understand whats's wrong. It's a widely unmodified Debian 6 so I think my changes should do the trick.
Here is what my /etc/profile looks like:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
[code]....
Edit: The path I added is the distcc-stuff. Here is what echo $PATH tells me:
$ echo $PATH
/usr/lib/distcc/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
View 1 Replies
View Related
Dec 31, 2009
I'm trying to launch a root terminal with a profile preloaded, but I'm not yet used to the way gnome handles its syntax, so the default link to root terminal:
Code:
Apparently, the method using gnome-terminal is to add a trailing
Code:
But this did not work, probably because in this case I'm not calling directly on gnome's terminal.
View 2 Replies
View Related