.xprofile broken in Ubuntu 18.04


up vote
0
down vote
favorite
Today I upgraded to latest Ubuntu 18.04 from 17.10, but computer says ~/.xprofile
has syntax error, and could not use desktop. Only a movable mouse icon on a violet color blank screen.
When I checked the .xprofile in home directory, it only contains 4 lines, seems broken. But where could I find a complete .xprofile to replace the old one? Please help.
My .xprofile only have these four lines:
#setup XIM environment
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
.profile
add a comment |Â
up vote
0
down vote
favorite
Today I upgraded to latest Ubuntu 18.04 from 17.10, but computer says ~/.xprofile
has syntax error, and could not use desktop. Only a movable mouse icon on a violet color blank screen.
When I checked the .xprofile in home directory, it only contains 4 lines, seems broken. But where could I find a complete .xprofile to replace the old one? Please help.
My .xprofile only have these four lines:
#setup XIM environment
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
.profile
Can we see the four lines therein?
â George Udosen
Apr 30 at 12:31
sure, I edit the problem, add the .xprofile, as you could see
â Paul Chen
Apr 30 at 12:38
I'd suggest you to create a new user, login with his credentials once, so you will have a reference profile. Then have a look at his.xprofile
.
â Andrejs Cainikovs
Apr 30 at 13:14
@AndrejsCainikovs In the very beginning, I use Unity. when in 17.10 I updated to gnome. Now for simplicity, I remove Gnome, replace with Unity. I guess the problem must caused by their differences.
â Paul Chen
Apr 30 at 14:22
@GeorgeUdosensure, I edit the problem, add the .xprofile, as you could see âÂÂ
â Paul Chen
Apr 30 at 14:23
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Today I upgraded to latest Ubuntu 18.04 from 17.10, but computer says ~/.xprofile
has syntax error, and could not use desktop. Only a movable mouse icon on a violet color blank screen.
When I checked the .xprofile in home directory, it only contains 4 lines, seems broken. But where could I find a complete .xprofile to replace the old one? Please help.
My .xprofile only have these four lines:
#setup XIM environment
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
.profile
Today I upgraded to latest Ubuntu 18.04 from 17.10, but computer says ~/.xprofile
has syntax error, and could not use desktop. Only a movable mouse icon on a violet color blank screen.
When I checked the .xprofile in home directory, it only contains 4 lines, seems broken. But where could I find a complete .xprofile to replace the old one? Please help.
My .xprofile only have these four lines:
#setup XIM environment
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
.profile
edited Apr 30 at 12:37
asked Apr 30 at 12:21
Paul Chen
74
74
Can we see the four lines therein?
â George Udosen
Apr 30 at 12:31
sure, I edit the problem, add the .xprofile, as you could see
â Paul Chen
Apr 30 at 12:38
I'd suggest you to create a new user, login with his credentials once, so you will have a reference profile. Then have a look at his.xprofile
.
â Andrejs Cainikovs
Apr 30 at 13:14
@AndrejsCainikovs In the very beginning, I use Unity. when in 17.10 I updated to gnome. Now for simplicity, I remove Gnome, replace with Unity. I guess the problem must caused by their differences.
â Paul Chen
Apr 30 at 14:22
@GeorgeUdosensure, I edit the problem, add the .xprofile, as you could see âÂÂ
â Paul Chen
Apr 30 at 14:23
add a comment |Â
Can we see the four lines therein?
â George Udosen
Apr 30 at 12:31
sure, I edit the problem, add the .xprofile, as you could see
â Paul Chen
Apr 30 at 12:38
I'd suggest you to create a new user, login with his credentials once, so you will have a reference profile. Then have a look at his.xprofile
.
â Andrejs Cainikovs
Apr 30 at 13:14
@AndrejsCainikovs In the very beginning, I use Unity. when in 17.10 I updated to gnome. Now for simplicity, I remove Gnome, replace with Unity. I guess the problem must caused by their differences.
â Paul Chen
Apr 30 at 14:22
@GeorgeUdosensure, I edit the problem, add the .xprofile, as you could see âÂÂ
â Paul Chen
Apr 30 at 14:23
Can we see the four lines therein?
â George Udosen
Apr 30 at 12:31
Can we see the four lines therein?
â George Udosen
Apr 30 at 12:31
sure, I edit the problem, add the .xprofile, as you could see
â Paul Chen
Apr 30 at 12:38
sure, I edit the problem, add the .xprofile, as you could see
â Paul Chen
Apr 30 at 12:38
I'd suggest you to create a new user, login with his credentials once, so you will have a reference profile. Then have a look at his
.xprofile
.â Andrejs Cainikovs
Apr 30 at 13:14
I'd suggest you to create a new user, login with his credentials once, so you will have a reference profile. Then have a look at his
.xprofile
.â Andrejs Cainikovs
Apr 30 at 13:14
@AndrejsCainikovs In the very beginning, I use Unity. when in 17.10 I updated to gnome. Now for simplicity, I remove Gnome, replace with Unity. I guess the problem must caused by their differences.
â Paul Chen
Apr 30 at 14:22
@AndrejsCainikovs In the very beginning, I use Unity. when in 17.10 I updated to gnome. Now for simplicity, I remove Gnome, replace with Unity. I guess the problem must caused by their differences.
â Paul Chen
Apr 30 at 14:22
@GeorgeUdosensure, I edit the problem, add the .xprofile, as you could see âÂÂ
â Paul Chen
Apr 30 at 14:23
@GeorgeUdosensure, I edit the problem, add the .xprofile, as you could see âÂÂ
â Paul Chen
Apr 30 at 14:23
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
I just got around to upgrading from 16.04 to 18.04 today and ran into the same issue. It seems that I had some settings from some older software that I stopped using but never removed from the .xprofile
. Anyhow, long story short, I simple mv .xprofile .xprofile_BAK
and restarted which happened to remove the errors. You will need to figure out exactly how to migrate things over from that .xprofile if you need them migrated, other than that you can live without it.
I appreciete your advice, however I simply changed the desktop environment, that really works.According to my poor understanding, this is because of conflicts between Gnome and Unity. Thus, I choose to change the default desktop environment. For example, you can install KDE plasma, this problem will be solved.
â Paul Chen
Aug 7 at 9:11
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
I just got around to upgrading from 16.04 to 18.04 today and ran into the same issue. It seems that I had some settings from some older software that I stopped using but never removed from the .xprofile
. Anyhow, long story short, I simple mv .xprofile .xprofile_BAK
and restarted which happened to remove the errors. You will need to figure out exactly how to migrate things over from that .xprofile if you need them migrated, other than that you can live without it.
I appreciete your advice, however I simply changed the desktop environment, that really works.According to my poor understanding, this is because of conflicts between Gnome and Unity. Thus, I choose to change the default desktop environment. For example, you can install KDE plasma, this problem will be solved.
â Paul Chen
Aug 7 at 9:11
add a comment |Â
up vote
0
down vote
accepted
I just got around to upgrading from 16.04 to 18.04 today and ran into the same issue. It seems that I had some settings from some older software that I stopped using but never removed from the .xprofile
. Anyhow, long story short, I simple mv .xprofile .xprofile_BAK
and restarted which happened to remove the errors. You will need to figure out exactly how to migrate things over from that .xprofile if you need them migrated, other than that you can live without it.
I appreciete your advice, however I simply changed the desktop environment, that really works.According to my poor understanding, this is because of conflicts between Gnome and Unity. Thus, I choose to change the default desktop environment. For example, you can install KDE plasma, this problem will be solved.
â Paul Chen
Aug 7 at 9:11
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I just got around to upgrading from 16.04 to 18.04 today and ran into the same issue. It seems that I had some settings from some older software that I stopped using but never removed from the .xprofile
. Anyhow, long story short, I simple mv .xprofile .xprofile_BAK
and restarted which happened to remove the errors. You will need to figure out exactly how to migrate things over from that .xprofile if you need them migrated, other than that you can live without it.
I just got around to upgrading from 16.04 to 18.04 today and ran into the same issue. It seems that I had some settings from some older software that I stopped using but never removed from the .xprofile
. Anyhow, long story short, I simple mv .xprofile .xprofile_BAK
and restarted which happened to remove the errors. You will need to figure out exactly how to migrate things over from that .xprofile if you need them migrated, other than that you can live without it.
answered Aug 6 at 18:22
Hatem Jaber
25129
25129
I appreciete your advice, however I simply changed the desktop environment, that really works.According to my poor understanding, this is because of conflicts between Gnome and Unity. Thus, I choose to change the default desktop environment. For example, you can install KDE plasma, this problem will be solved.
â Paul Chen
Aug 7 at 9:11
add a comment |Â
I appreciete your advice, however I simply changed the desktop environment, that really works.According to my poor understanding, this is because of conflicts between Gnome and Unity. Thus, I choose to change the default desktop environment. For example, you can install KDE plasma, this problem will be solved.
â Paul Chen
Aug 7 at 9:11
I appreciete your advice, however I simply changed the desktop environment, that really works.According to my poor understanding, this is because of conflicts between Gnome and Unity. Thus, I choose to change the default desktop environment. For example, you can install KDE plasma, this problem will be solved.
â Paul Chen
Aug 7 at 9:11
I appreciete your advice, however I simply changed the desktop environment, that really works.According to my poor understanding, this is because of conflicts between Gnome and Unity. Thus, I choose to change the default desktop environment. For example, you can install KDE plasma, this problem will be solved.
â Paul Chen
Aug 7 at 9:11
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030094%2fxprofile-broken-in-ubuntu-18-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Can we see the four lines therein?
â George Udosen
Apr 30 at 12:31
sure, I edit the problem, add the .xprofile, as you could see
â Paul Chen
Apr 30 at 12:38
I'd suggest you to create a new user, login with his credentials once, so you will have a reference profile. Then have a look at his
.xprofile
.â Andrejs Cainikovs
Apr 30 at 13:14
@AndrejsCainikovs In the very beginning, I use Unity. when in 17.10 I updated to gnome. Now for simplicity, I remove Gnome, replace with Unity. I guess the problem must caused by their differences.
â Paul Chen
Apr 30 at 14:22
@GeorgeUdosensure, I edit the problem, add the .xprofile, as you could see âÂÂ
â Paul Chen
Apr 30 at 14:23