Choose style:

Author Topic: Lost task bar (SOLVED)  (Read 7587 times)

0 Members and 1 Guest are viewing this topic.

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Lost task bar (SOLVED)
« on: June 23, 2014, 10:07:06 pm »
My machine's been acting oddly recently, eg sometimes taking too long to boot (and working hard at it) and now I've lost the bottom task bar so I can't access files etc. There isn't much on it and I think I'm reasonably backed up so it's no great hardship to start again with P5 but I'd like to make sure. Therefore I need to either restore the task bar or access the files some other way. What seems to have happened is that the whole screen has dropped 3/8", hiding the task bar. I have a 2 1/2 year old who may have been playing on the keyboard.
« Last Edit: June 24, 2014, 02:02:38 pm by Jono »

Offline kendall

  • Developer
  • Member
  • *****
  • Posts: 535
  • Karma: 75
  • Peppermint Dev
    • View Profile
    • http://kendallweaver.com
Re: Lost task bar
« Reply #1 on: June 23, 2014, 10:17:50 pm »
First off, we need to establish whether or not the panel is still running somewhere. Hit Alt+F2 to see if a "run" dialog opens. If so, then the panel is still running somewhere. If not, then it's not still running somewhere.
Co-Founder and CTO of Peppermint. Developer, Photographer, and spicy food lover.

Peppermint is powered by VPS.NET Cloud Servers.

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Lost task bar
« Reply #2 on: June 23, 2014, 11:27:20 pm »
Thanks for the quick reply.  No joy on Alt+F2 I'm sorry to say. I need to get offline now so I can't reply for a while.
Ps I can't shut down either other than with Ctrl+Alt+Del
« Last Edit: June 23, 2014, 11:33:53 pm by Jono »

Offline kendall

  • Developer
  • Member
  • *****
  • Posts: 535
  • Karma: 75
  • Peppermint Dev
    • View Profile
    • http://kendallweaver.com
Re: Lost task bar
« Reply #3 on: June 24, 2014, 12:05:44 am »
In this case I'm going to recommend a bit of a workaround to regain access to your files:

1. Install a standalone window manager

After logging in, obviously you can't really do anything so hit Ctrl+Alt+F2 to get to a tty session (sometimes referred to as a rescue prompt) and log in with your username and password. Once logged in, install Openbox with:
Code: [Select]
apt install openbox

2. Use the standalone window manager instead of the default Peppermint Session

Reboot the computer with:
Code: [Select]
sudo shutdown -r now
and at the login manager, change the session to use "Openbox" rather than "Peppermint". Log in and you should be presented with nothing but a mid-grey screen. This is a good thing.

3. Use terminals in the Openbox session to launch the apps you need.

Right clicking on the screen should now present you with a small menu. From here you should be able to open terminal windows and launch graphical applications. For instance if you want to launch the file manager you can type in "pcmanfm" and press Enter. This should enable you to go so far as to recover any files you need before installing Peppermint Five.
Co-Founder and CTO of Peppermint. Developer, Photographer, and spicy food lover.

Peppermint is powered by VPS.NET Cloud Servers.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26102
  • Karma: 2843
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lost task bar
« Reply #4 on: June 24, 2014, 03:42:40 am »
does the terminal open if you hit Ctrl+Alt+T ?

if so, what happens if you run this in the terminal:
Code: [Select]
lxpanelctl restart
?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Lost task bar
« Reply #5 on: June 24, 2014, 05:26:33 am »
I should have said I can get online from the desktop icon, and regret to say I don't fully understand Kendall's terms.
PCNetSpec, the terminal opens and lxpanelctl restart just gives me a new command prompt. Thanks for the help from the "big guns"!
 

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26102
  • Karma: 2843
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lost task bar
« Reply #6 on: June 24, 2014, 05:56:47 am »
If you open a terminal, what's the output from:
Code: [Select]
ps aux | grep [l]xpanel
output *should* report:-

lxpanel --profile Peppermint

If that reports lxpanel is running and using the correct profile (as above) .. let's try setting the panel profile back to defaults.

First let's backup your current config file .. open a terminal (Ctrl+Alt+T) and run:
Code: [Select]
cp -v ~/.config/lxpanel/Peppermint/panels/panel ~/.config/lxpanel/Peppermint/panels/panel.bak
Now let's copy the "master" config file, overwriting your current "user" config file:
Code: [Select]
cp -vf /usr/share/lxpanel/profile/Peppermint/panels/panel ~/.config/lxpanel/Peppermint/panels/panel
Now restart the panel (to apply the new config):
Code: [Select]
lxpanelctl restart

is the panel visible now ?
« Last Edit: June 24, 2014, 06:58:50 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26102
  • Karma: 2843
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lost task bar
« Reply #7 on: June 24, 2014, 07:05:17 am »
If indeed you're right about it being the screen having dropped so the panel is running, but off screen ...

a) If this is a desktop, have you tried adjusting the screen position/size using the the controls on the Monitor itself
or
b) adjusting the screen resolution by opening a terminal and running:
Code: [Select]
lxrandr
?
« Last Edit: June 24, 2014, 07:21:09 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Lost task bar
« Reply #8 on: June 24, 2014, 07:33:18 am »
Output from ps aux | grep [l]xpanel is jonathan 1901  0.0  0.1  42120  6244 ?         s    09.08 0.00  lxpanel --peppermint     

Script from  [cp -v ~ ] is cp : missing destination file operand after '/home/jonathan'
Try 'cp -- help for more information

lxrandr is on maximum already.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26102
  • Karma: 2843
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lost task bar
« Reply #9 on: June 24, 2014, 07:57:09 am »
try copying the above commands, and pasting them into the terminal

there is NO space between

~/
and
.config/lxpanel/Peppermint/panels/panel

this is all one string (without spaces)
~/.config/lxpanel/Peppermint/panels/panel
as is
~/.config/lxpanel/Peppermint/panels/panel.bak

For clarity, I'll show you the command with 5 spaces where there should only be one:
Code: [Select]
cp     -v     ~/.config/lxpanel/Peppermint/panels/panel     ~/.config/lxpanel/Peppermint/panels/panel.bak
« Last Edit: June 24, 2014, 08:00:29 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Lost task bar
« Reply #10 on: June 24, 2014, 09:04:10 am »
jonathan@jonathan-CF-W8GWEYZN2 ~ $ cp -v ~/.config/lxpanel/Peppermint/panels/panel ~/.config/lxpanel/Peppermint/panels/panel.bak
cp: cannot stat ‘/home/jonathan/.config/lxpanel/Peppermint/panels/panel’: No such file or directory

This is embarrassing. I'm doing something wrong. Sorry to be a pain. I'm sure I followed your directions faithfully but still get this. I need be off for an hour or two now. 

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26102
  • Karma: 2843
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lost task bar
« Reply #11 on: June 24, 2014, 09:20:43 am »
Maybe the file is missing (which may explain a lot) .. what's the output from:
Code: [Select]
ls -a ~/.config/lxpanel/Peppermint/panels
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Lost task bar
« Reply #12 on: June 24, 2014, 12:25:48 pm »
Back now so here goes.

jonathan@jonathan-CF-W8GWEYZN2 ~ $ ls -a ~/.config/lxpanel/Peppermint/panels
.  ..  top
jonathan@jonathan-CF-W8GWEYZN2 ~ $

Looks a bit vacant to my untutored eye. About to post machine details.











Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26102
  • Karma: 2843
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Lost task bar
« Reply #13 on: June 24, 2014, 12:36:22 pm »
OK, run:
Code: [Select]
cp -v /usr/share/lxpanel/profile/Peppermint/panels/panel ~/.config/lxpanel/Peppermint/panels/panel
then
Code: [Select]
lxpanlectl restart
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Jono

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4+5
Re: Lost task bar
« Reply #14 on: June 24, 2014, 01:16:40 pm »
All seemed ok until I pasted the second command when it asked me if I meant lxpanelectl, so I presumed a typo and redid it and got this:

jonathan@jonathan-CF-W8GWEYZN2 ~ $ lxpanelectl restart
No command 'lxpanelectl' found, did you mean:
 Command 'lxpanelctl' from package 'lxpanel' (universe)
lxpanelectl: command not found
jonathan@jonathan-CF-W8GWEYZN2 ~ $