.xprofile broken in Ubuntu 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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"






share|improve this question






















  • 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














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"






share|improve this question






















  • 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












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"






share|improve this question














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"








share|improve this question













share|improve this question




share|improve this question








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
















  • 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










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.






share|improve this answer




















  • 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











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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






























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.






share|improve this answer




















  • 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















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.






share|improve this answer




















  • 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













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.






share|improve this answer












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.







share|improve this answer












share|improve this answer



share|improve this answer










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

















  • 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













 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

`kcmshell` modules relation with `/usr/share/applications`

How to enroll fingerprints to Ubuntu 17.10 with VFS491