People who code: we want your input. Take the Survey

Questions tagged [.profile]

A user-specific (not systemwide) configuration script executed when starting login shells.

Filter by
Sorted by
Tagged with
0
votes
1answer
50 views

.profile suddenly doesn't like comments [duplicate]

I'm running Xubuntu 20.10 on a MBA 2012. I wanted to use my GTK theme on a QT program, so I did a little searching and ended up with adding export QT_QPA_PLATFORMTHEME=gtk2 to my ~/.profile. That ...
0
votes
0answers
25 views

All Input Methods frozen, how to edit .profile file

I was trying to permanently disable the touchscreen on my ubuntu 20 by writing the following code in my .profile file : xinput disable $16 // for my touchscreen device Now after rebooting all of my ...
1
vote
0answers
33 views

Error found while loading /etc/profile, Ubuntu 20.04

Every time I boot up and Sign in to the account, before getting the desktop screen, I get this error message. I tried looking up stackoverflow & askubuntu but all were different from my error. ...
0
votes
0answers
21 views

dot gitconfig file not reflecting when switch user on ubuntu 20.04 lts

gitconfig not reflecting after switching to user Today i have installed Ubuntu20.04LTS . In that i had a user bob and his git config is like user.name=Bob B user.email=bob@example.com alias.unadd=...
0
votes
2answers
37 views

20.04 “Error found when loading /home/user/.profile Failed to write reboot parameter file” after boot

Every time I boot into Ubuntu I get this error message Error found when loading /home/user/.profile Failed to write reboot parameter file: permission denied Everything seems to work normally ...
0
votes
0answers
44 views

Error found when loading /home/[username]/.profile, tput: No value for $TERM and no -T specified

When I login to my system, I got this popup: Error found when loading /home/[username]/.profile: tput: No value for $TERM and no -T specified As a result the session will not be configured correctly....
0
votes
1answer
279 views

Remove brew completely from my system

I interrupted the execution of homebrew while installing. Consequently, I ran into a problem mentioned here Error found when loading /home/user/.profile:. I had to comment eval statements in the ...
0
votes
1answer
170 views

Error found when loading /home/user/.profile:

Previously, I was needed to install homebrew. I opened the terminal and executed the command for it. However, it was taking to long and I was also short on the data limit. So, I interupted the ...
0
votes
0answers
23 views

I Change my display resulation But When I open gedit ~/.profile it's show me no permission

When I put gedit ~/.profile After put the gedit ~/.profile it's open the file but I can not edit it
0
votes
1answer
37 views

How do I run a command with uxterm after running ~/.bashrc lines in Ubuntu 18.04?

My ~/.profile file has the following code source ~/.bashrc When I run the following command, uxterm firefox I do not see any log of the lines of the file ~/.bashrc on the corresponding uxterm window ...
0
votes
0answers
29 views

How do I get rid of the following error on Ubuntu 18-04.5's login? error found sourcing .sh file

I had the problem explained on https://forums.xilinx.com/t5/Vitis-Acceleration-SDAccel-SDSoC/How-do-I-get-rid-of-the-following-error-on-Ubuntu-18-04-5-s/td-p/1203178 Anyway, considering it is a ...
4
votes
3answers
449 views

Which bash profile file should I use for each scenario?

I have seen many detailed explanations on how .bashrc, .bash_profile and the various other profile files interact, so I'm not after an explanation of how they fit together (I've read many such ...
0
votes
0answers
33 views

Where are profile files sourced?

I am setting PATH LD_LIBRARY_PATH in my ~/.profile and expect these variables to bet set system-wide (for my user at least). However, upon inspection I find PATH is set correctly but LD_LIBRARY_PATH ...
0
votes
1answer
28 views

Can I run apt apt-mark in .profile script?

Can I run an apt-mark command in home/.profile? I added the line as it works in the terminal (apt-mark showmanual >> ~/installed_packages.txt) but after I logged out and tried to log back in, ...
0
votes
1answer
86 views

Ubuntu 18.04 Login Loop .- bashrc and .profiles edited

When I enter my password on the login-screen, the screen goes black for a couple of seconds before it returns to the login-screen. I.e. login loop. I can log-in through remote desktop and SSH (puTTy). ...
0
votes
0answers
43 views

How do I set an environment variable in my profile script?

I'm using MIXBUS 32C for audio production and need to change the OpenGL version from "Max compat profile version: 3.0" to "Max compat profile version: 3.2" to run the GUI on AVA ...
0
votes
1answer
106 views

Including ssh-agent in .profile at boot

I am using 20:04 desktop and have added some code to .profile to start ssh-agent. If this code is present, I get what appears to be a spurious error message saying that an error occurred. The script ...
0
votes
0answers
50 views

Using window's thunderbird profile on ubuntu from drive with automount

I'm using a dual boot system with windows 7 and Ubuntu 18.04. Both systems are on the same SDD but on different partitions. I've pointed my Ubuntu's profile to the path on the windows partition. When ...
5
votes
1answer
701 views

`alias` command in `.profile` not recognized until `source .profile` is called

I have the following line in my .profile file in my home directory: alias flux='redshift -O 2500' But whenever I login and type flux I get a flux is not a recognized command. I then do a source ....
0
votes
0answers
41 views

Start up issue with brew directory

I have found other people talking about this issue, but the solutions did not work for me, so I am here posting about it. I have Ubuntu 20.04 on a Mid-2009 MBP 8GB Ram, Intel i5 MBP model is a1286 ...
2
votes
1answer
559 views

Is ~/.profile read? [duplicate]

I'm quite a newbie, but I know every time you start Terminal, some files are taken into account; and among those there is ~/.profile, which contains the following lines: if [ -d "$HOME/bin" ]...
1
vote
1answer
160 views

.profile not beeing sourced

some time ago I installed byobu and ran byobu-enable and it still didn't started automatically, I just ignored it since I could just press super and open up byobu terminal directly. But now I tried to ...
0
votes
0answers
57 views

Help me find the source of this item in my $PATH

When I start a new shell, I end up with the following $PATH: /home/ldt/.local/bin:/home/ldt/bin:/home/ldt/.pyenv/plugins/pyenv-virtualenvwrapper/shims:/home/ldt/.pyenv/libexec:/home/ldt/.pyenv/...
1
vote
1answer
478 views

Set global environment variables from a custom file

I am trying to execute a file containing environment variables so that whenever I log in, those variables are immediately accessible. The $PATH variable is defined in /etc/environment so underneath ...
0
votes
1answer
83 views

how to retrieve profile in ubuntu 18.04 [duplicate]

I accidentally deleted the .profile in my Ubuntu 18.04 today. How to retrieve this. regards,
4
votes
3answers
2k views

How to fix ~/.profile and ~/.bashrc syntax errors

Ubuntu 18.04.4 (automatic upgrade from 18.04.3 just a few weeks ago) /bin/bash After I log in from the Gnome shell, this message appears while the screen is just plain purple and before the desktop ...
2
votes
2answers
411 views

The same string twice in the $PATH environmental variable

When I run $PATH on my terminal in Ubuntu 18.04.3, it displays the following: /home/ubuntu/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/...
1
vote
0answers
2k views

how to run or re-load /etc/profile.d/ scripts?

From within the GUI, I'm seeing this result: My problem is exactly that this does not happen in the terminal run under the graphical user interface; neither in Ubuntu 16.04.3 or 18.04. – Thomas ...
0
votes
1answer
170 views

Ubuntu 18.04 boot error: syntax error :unexpected end of file when loading .profile

I am unable to do anything after this dialog box appears: /home/hp/.profile: line 31:syntax error :unexpected end of file As a result the session will not be configured correctly. You should fix the ...
0
votes
0answers
60 views

All of my data, files and settings in application are missing after removing Wine and re-installing Wine 4 [duplicate]

I'm really in a bad situation here. I uninstalled and purged all instances of Wine in my system, including the .wine directory, and proceeded to install the latest Wine Stable 4. However, after the ...
3
votes
1answer
732 views

Syntax error when signing onto the bash subsystem (WSL)

I am trying to sign onto the bash Windows Subsystem for Linux when I get this error: -bash: /home/User1/.profile: line 28: syntax error near unexpected token `(' Before getting this error I was ...
0
votes
1answer
128 views

Why doesn't gdbus output work when invoked from ~/.profile?

If I open a terminal and run the below script, it works fine. The values from the gdbus call get written to the lockScreenTest.txt file. The values are true when the screen is locked and the values ...
0
votes
1answer
314 views

Stata installation: how to add stata to the .profile PATH?

I am completely new to Linux and have no idea what to do. What I am trying to do is the following: I want to install Stata 16 on Ubuntu 18.04.3 LTS 64-bit. I followed the stata installation guide and ...
0
votes
1answer
361 views

Error found when loading /etc/profile [mariadb,mysql]

Booting to Ubuntu 19.04 I get black screen (frozen and not able to press the OK button) with this error message popup: Error found when loading /etc/profile find:'/usr/lib/mysql/plugin/...
0
votes
0answers
37 views

Making a file run every time an user account is logged in and also every time the user is switched in ubuntu 18.04

I'm a beginner to Ubuntu, working on a script to save the current user name in a file in /tmp.. Previously I've used /etc/gdm3/PostLogin/Default script to do this #!bin/sh current_user= "$...
0
votes
0answers
134 views

Environmental Variables are not reflected until restarting the machine

I know there are similar questions for mine, but still they weren't helpful with my issue. Scenario: I set a variable in either ~/.bashrc ~/.profile /etc/environment Whether the variable is assigned ...
1
vote
1answer
804 views

Ubuntu 19.04 .bash_profile doesn't exists

I'm trying to setup the WP-CLI completion from their site but I couldn't find the ~/.bash_profile file in my home directory and I tried the instructions with the ~/.bashrc file, I followed the zsh ...
1
vote
2answers
1k views

how to add .sh file or path to .profile to run my app?

In home I have a project folder nomse/bin/main.dart. in terminal. If I use command like, dart nomse/bin/main.dart I can run my app. UPDATE-1: I need to add path to .profile so I can run my app ...
0
votes
1answer
751 views

Error in source ~/.profile [closed]

~/.profile (line 25): Missing end to balance this if statement if [ -d "$HOME/local/bin" ] ; then ^ from sourcing file ~/.profile called on standard input source: Error while reading file “/home/...
1
vote
1answer
821 views

`exec /bin/bash -il` fails in .profile

The Bash manpage says: After reading that file (/etc/profile), it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that ...
0
votes
1answer
1k views

Export path working from terminal but not bash script

If I run export PATH=$PATH:/home/mike/bin/*:/home/mike/app/* from a command line it works fine, but if I put it into a bash script, it doesn't work (even with a restart). I have also tried including ...
0
votes
1answer
307 views

Ubuntu 18.04 on startup error, [-f: command not found

I booted to installed Ubuntu 18.04 on my system and faced the error and pressing Ok button does not work The only thing I did was following the react-native installation instruction: created a ....
0
votes
1answer
707 views

How can I change $ to > in terminal? [duplicate]

In any terminal there is specific meaning of puneet@Puneet-Ubuntu-PC:~$I want to replace '$' symbol with '>'. Please guide me How can I make this change.
0
votes
1answer
1k views

Ubuntu 18.04 boot error: syntax error: unexpected end of file when loading .profile [duplicate]

I can't figure out what is wrong with my Ubuntu 18.04. I was trying to set a path for an application in my .profile and restarted the machine. Since then, I've been getting this error on the screen. I ...
0
votes
1answer
2k views

Error found when loading /home/[user]/.profile at boot

Every time after I login, but before the desktop loads, a dialog box with the error: Error found when loading /home/[user]/.profile enp7s0: Unknown host ifconfig: `--help' gives usage information. I ...
1
vote
2answers
196 views

Ubuntu 16.04: Inability to log in after small modification in .profile file in user home

I have an Ubuntu 16.04 system on my laptop. I had installed the program redshift on it which adjusts the screen light to make it easier on the eyes. Today in a bid to always start it up automatically ...
1
vote
1answer
6k views

How to reload environmental variables in .profile using source for entire session? [duplicate]

So I need to reload my profile after making changes (this time due to a typo). I run source ~/.profile and everything works perfectly fine. However the source command only applies to that terminal ...
0
votes
3answers
3k views

Firefox profile cannot be loaded…profile created but still not able to launch?

I created a new sudoer on my Ubuntu machine and logged in. Now when I launch Firefox it gives the error that Firefox profile cannot be loaded. I looked for the solutions then I got the way to create ...
1
vote
1answer
311 views

How to remove texlive from Path

I want to remove texlive from my PATH after deleting it with rm -rf command and I have deleted the path for texlive in .bashrc but when i run the command: echo $PATH I'm still seeing texlive in my ...
0
votes
0answers
237 views

error loading /etc/profile (xinput property doesn't exist)

After upgrading from Xenial to Bionic, I now receive errors when logging into my desktop: Error found when loading /etc/profile Property 300 doesn't exist, you must specify its type and format ...