cannot access gnome shell after editing gdm3.css











up vote
0
down vote

favorite












while trying to change the background colour of the applications panel:



How can I change the background colour for the applications panel in Ubuntu 18.04?



i edited gdm3.css and after rebooting, it cannot go into gnome shell.



i went to recovery console, executed:



sudo ln -sf /usr/share/gnome-shell/theme/ubuntu.css /etc/alternatives/gdm3.css


rebooted but still same problem.



i also tried:



sudoedit /etc/alternatives/gdm3.css



but error: editing symbolic links is not permitted



and:



sudo apt-get install gnome-shell-common --reinstall



but error: unable to resolve domain "....bionic..."



any ideas? thanks










share|improve this question
























  • do you have the backup content of gdm3.css file in a separate text file?
    – PRATAP
    Nov 25 at 12:03












  • i too several times messed up like this due to small comma, curled brackets etc.. i do logon to console tty2 3 4 etc, and then sudo nano /etc/alternatives/gdm3.css and correct the mistakes. if i dont remember the mistakes or corrections..i will logon with live usb.. and copy paste the backup content in /usr/share/gnome-shell/theme/ubuntu.css file. shutdown, reboot, console tty2 3 4 etc, sudo rm /etc/alternatives/gdm3.css then sudo ln -sf /usr/share/gnome-shell/theme/ubuntu.css /etc/alternatives/gdm3.css
    – PRATAP
    Nov 25 at 12:09












  • alternatively when you logon with tty2 3 4 etc, run startx mostly it will take you to desktop
    – PRATAP
    Nov 25 at 12:10










  • sudo nano /etc/alternatives/gdm3.css worked. thanks .now back to the original problem
    – lenovolobo
    Nov 25 at 13:38










  • i commented in your other question. about original problem. have a look.
    – PRATAP
    Nov 25 at 13:39















up vote
0
down vote

favorite












while trying to change the background colour of the applications panel:



How can I change the background colour for the applications panel in Ubuntu 18.04?



i edited gdm3.css and after rebooting, it cannot go into gnome shell.



i went to recovery console, executed:



sudo ln -sf /usr/share/gnome-shell/theme/ubuntu.css /etc/alternatives/gdm3.css


rebooted but still same problem.



i also tried:



sudoedit /etc/alternatives/gdm3.css



but error: editing symbolic links is not permitted



and:



sudo apt-get install gnome-shell-common --reinstall



but error: unable to resolve domain "....bionic..."



any ideas? thanks










share|improve this question
























  • do you have the backup content of gdm3.css file in a separate text file?
    – PRATAP
    Nov 25 at 12:03












  • i too several times messed up like this due to small comma, curled brackets etc.. i do logon to console tty2 3 4 etc, and then sudo nano /etc/alternatives/gdm3.css and correct the mistakes. if i dont remember the mistakes or corrections..i will logon with live usb.. and copy paste the backup content in /usr/share/gnome-shell/theme/ubuntu.css file. shutdown, reboot, console tty2 3 4 etc, sudo rm /etc/alternatives/gdm3.css then sudo ln -sf /usr/share/gnome-shell/theme/ubuntu.css /etc/alternatives/gdm3.css
    – PRATAP
    Nov 25 at 12:09












  • alternatively when you logon with tty2 3 4 etc, run startx mostly it will take you to desktop
    – PRATAP
    Nov 25 at 12:10










  • sudo nano /etc/alternatives/gdm3.css worked. thanks .now back to the original problem
    – lenovolobo
    Nov 25 at 13:38










  • i commented in your other question. about original problem. have a look.
    – PRATAP
    Nov 25 at 13:39













up vote
0
down vote

favorite









up vote
0
down vote

favorite











while trying to change the background colour of the applications panel:



How can I change the background colour for the applications panel in Ubuntu 18.04?



i edited gdm3.css and after rebooting, it cannot go into gnome shell.



i went to recovery console, executed:



sudo ln -sf /usr/share/gnome-shell/theme/ubuntu.css /etc/alternatives/gdm3.css


rebooted but still same problem.



i also tried:



sudoedit /etc/alternatives/gdm3.css



but error: editing symbolic links is not permitted



and:



sudo apt-get install gnome-shell-common --reinstall



but error: unable to resolve domain "....bionic..."



any ideas? thanks










share|improve this question















while trying to change the background colour of the applications panel:



How can I change the background colour for the applications panel in Ubuntu 18.04?



i edited gdm3.css and after rebooting, it cannot go into gnome shell.



i went to recovery console, executed:



sudo ln -sf /usr/share/gnome-shell/theme/ubuntu.css /etc/alternatives/gdm3.css


rebooted but still same problem.



i also tried:



sudoedit /etc/alternatives/gdm3.css



but error: editing symbolic links is not permitted



and:



sudo apt-get install gnome-shell-common --reinstall



but error: unable to resolve domain "....bionic..."



any ideas? thanks







gnome 18.04






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 25 at 16:48









PRATAP

1,7921523




1,7921523










asked Nov 25 at 11:56









lenovolobo

162




162












  • do you have the backup content of gdm3.css file in a separate text file?
    – PRATAP
    Nov 25 at 12:03












  • i too several times messed up like this due to small comma, curled brackets etc.. i do logon to console tty2 3 4 etc, and then sudo nano /etc/alternatives/gdm3.css and correct the mistakes. if i dont remember the mistakes or corrections..i will logon with live usb.. and copy paste the backup content in /usr/share/gnome-shell/theme/ubuntu.css file. shutdown, reboot, console tty2 3 4 etc, sudo rm /etc/alternatives/gdm3.css then sudo ln -sf /usr/share/gnome-shell/theme/ubuntu.css /etc/alternatives/gdm3.css
    – PRATAP
    Nov 25 at 12:09












  • alternatively when you logon with tty2 3 4 etc, run startx mostly it will take you to desktop
    – PRATAP
    Nov 25 at 12:10










  • sudo nano /etc/alternatives/gdm3.css worked. thanks .now back to the original problem
    – lenovolobo
    Nov 25 at 13:38










  • i commented in your other question. about original problem. have a look.
    – PRATAP
    Nov 25 at 13:39


















  • do you have the backup content of gdm3.css file in a separate text file?
    – PRATAP
    Nov 25 at 12:03












  • i too several times messed up like this due to small comma, curled brackets etc.. i do logon to console tty2 3 4 etc, and then sudo nano /etc/alternatives/gdm3.css and correct the mistakes. if i dont remember the mistakes or corrections..i will logon with live usb.. and copy paste the backup content in /usr/share/gnome-shell/theme/ubuntu.css file. shutdown, reboot, console tty2 3 4 etc, sudo rm /etc/alternatives/gdm3.css then sudo ln -sf /usr/share/gnome-shell/theme/ubuntu.css /etc/alternatives/gdm3.css
    – PRATAP
    Nov 25 at 12:09












  • alternatively when you logon with tty2 3 4 etc, run startx mostly it will take you to desktop
    – PRATAP
    Nov 25 at 12:10










  • sudo nano /etc/alternatives/gdm3.css worked. thanks .now back to the original problem
    – lenovolobo
    Nov 25 at 13:38










  • i commented in your other question. about original problem. have a look.
    – PRATAP
    Nov 25 at 13:39
















do you have the backup content of gdm3.css file in a separate text file?
– PRATAP
Nov 25 at 12:03






do you have the backup content of gdm3.css file in a separate text file?
– PRATAP
Nov 25 at 12:03














i too several times messed up like this due to small comma, curled brackets etc.. i do logon to console tty2 3 4 etc, and then sudo nano /etc/alternatives/gdm3.css and correct the mistakes. if i dont remember the mistakes or corrections..i will logon with live usb.. and copy paste the backup content in /usr/share/gnome-shell/theme/ubuntu.css file. shutdown, reboot, console tty2 3 4 etc, sudo rm /etc/alternatives/gdm3.css then sudo ln -sf /usr/share/gnome-shell/theme/ubuntu.css /etc/alternatives/gdm3.css
– PRATAP
Nov 25 at 12:09






i too several times messed up like this due to small comma, curled brackets etc.. i do logon to console tty2 3 4 etc, and then sudo nano /etc/alternatives/gdm3.css and correct the mistakes. if i dont remember the mistakes or corrections..i will logon with live usb.. and copy paste the backup content in /usr/share/gnome-shell/theme/ubuntu.css file. shutdown, reboot, console tty2 3 4 etc, sudo rm /etc/alternatives/gdm3.css then sudo ln -sf /usr/share/gnome-shell/theme/ubuntu.css /etc/alternatives/gdm3.css
– PRATAP
Nov 25 at 12:09














alternatively when you logon with tty2 3 4 etc, run startx mostly it will take you to desktop
– PRATAP
Nov 25 at 12:10




alternatively when you logon with tty2 3 4 etc, run startx mostly it will take you to desktop
– PRATAP
Nov 25 at 12:10












sudo nano /etc/alternatives/gdm3.css worked. thanks .now back to the original problem
– lenovolobo
Nov 25 at 13:38




sudo nano /etc/alternatives/gdm3.css worked. thanks .now back to the original problem
– lenovolobo
Nov 25 at 13:38












i commented in your other question. about original problem. have a look.
– PRATAP
Nov 25 at 13:39




i commented in your other question. about original problem. have a look.
– PRATAP
Nov 25 at 13:39















active

oldest

votes











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: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
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%2f1095895%2fcannot-access-gnome-shell-after-editing-gdm3-css%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095895%2fcannot-access-gnome-shell-after-editing-gdm3-css%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ellipse (mathématiques)

Quarter-circle Tiles

Mont Emei