ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I've got some problems after new update!

Mon May 16, 2016 12:47 pm

That looks okay. And the content of ~/.config/lxpanel/LXDE-pi/panels/panel ?

Malman35
Posts: 425
Joined: Sun Nov 30, 2014 4:51 am

Re: I've got some problems after new update!

Mon May 16, 2016 1:08 pm

ShiftPlusOne wrote:That looks okay. And the content of ~/.config/lxpanel/LXDE-pi/panels/panel ?

Code: Select all

# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
  edge=top
  allign=left
  margin=0
  widthtype=percent
  width=100
  height=50
  transparent=1
  tintcolor=#000000
  alpha=126
  autohide=0
  heightwhenhidden=2
  setdocktype=1
  setpartialstrut=1
  usefontcolor=0
  fontsize=12
  fontcolor=#ffffff
  usefontsize=0
  background=0
  backgroundfile=/usr/share/lxpanel/images/background.png
  iconsize=45
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=menu
  Config {
    name=Menu]
    image=/usr/share/raspberrypi-artwork/raspitr.png
    system {
    }
    separator {
    }
    item {
      name=Run...
      image=gnome-run
      command=run
    }
    separator {
    }
    item {
      name=Shutdown...
      image=gnome-logout
      command=logout
    }
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=space
  Config {
    Size=8
  }
}
Plugin {
  type=pager
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=launchbar
  Config {
    Button {
      id=/usr/share/raspi-ui-overrides/applications/lxterminal.desktop
    }
    Button {
      id=/usr/share/raspi-ui-overrides/applications/pcmanfm.desktop
    }
  }
}
Plugin {
  type=space
  Config {
    Size=8
  }
}
Plugin {
  type=taskbar
  expand=1
  Config {
    tooltips=1
    IconsOnly=0
    ShowAllDesks=0
    UseMouseWheel=1
    UseUrgencyHint=1
    FlatButton=1
    MaxTaskWidth=200
    spacing=1
    GroupedTasks=0
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=tray
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=dhcpcdui
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=volumealsa
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=cpu
  Config {
    ShowPercent=1
    Foreground=#10e3ffff0000
    Background=#3bdf3bdf3bdf
  }
}
Plugin {
  type=dclock
  Config {
    ClockFmt=%R
    TooltipFmt=%A %x
    BoldFont=0
    IconOnly=0
    CenterText=0
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=ejecter
  Config {
  }
}

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I've got some problems after new update!

Mon May 16, 2016 1:16 pm

Does alacarte show the menu as expected? If so, try hiding everything and then re-enabling it again.

Otherwise, we're really out of ideas here.

Malman35
Posts: 425
Joined: Sun Nov 30, 2014 4:51 am

Re: I've got some problems after new update!

Mon May 16, 2016 1:20 pm

ShiftPlusOne wrote:Does alacarte show the menu as expected? If so, try hiding everything and then re-enabling it again.
Huh? I'm sorry I don't understand what you mean. What is alacarte? How can I tell if it's showing the menu. How do I hide every thing then re-enable it?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I've got some problems after new update!

Mon May 16, 2016 1:32 pm

Malman35 wrote:
ShiftPlusOne wrote:Does alacarte show the menu as expected? If so, try hiding everything and then re-enabling it again.
Huh? I'm sorry I don't understand what you mean. What is alacarte? How can I tell if it's showing the menu. How do I hide every thing then re-enable it?
It's a menu editor.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I've got some problems after new update!

Mon May 16, 2016 1:59 pm

An idea... Remove ~/.config/menus/lxde-pi-applications.menu if it exists.

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: I've got some problems after new update!

Mon May 16, 2016 3:18 pm

ShiftPlusOne wrote:An idea... Remove ~/.config/menus/lxde-pi-applications.menu if it exists.
I've been having the same problem, the recently added "piclone" and "geany" wouldn't show up in the menu. I tried the above and removed the "lxde-pi-applications.menu", then restarted lxpanel and it works!. Both "Geany" and "SD Card Copier" showed up in the menu list. Thank you very much, I've been playing around with that for days trying to get those two items into the menu.

I then re-ordered the menu list using the menu editor ( I put "Help", "Preferences" at the top rather than bottom since I seldom use them). That created a new "lxde-pi-applications.menu" file. I'll keep an eye on that and if the next thing I install doesn't show up I'll delete that file again to see if it's creating the problem adding new entries to the menu.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I've got some problems after new update!

Mon May 16, 2016 3:46 pm

JimmyN wrote:
ShiftPlusOne wrote:An idea... Remove ~/.config/menus/lxde-pi-applications.menu if it exists.
I've been having the same problem, the recently added "piclone" and "geany" wouldn't show up in the menu. I tried the above and removed the "lxde-pi-applications.menu", then restarted lxpanel and it works!. Both "Geany" and "SD Card Copier" showed up in the menu list. Thank you very much, I've been playing around with that for days trying to get those two items into the menu.

I then re-ordered the menu list using the menu editor ( I put "Help", "Preferences" at the top rather than bottom since I seldom use them). That created a new "lxde-pi-applications.menu" file. I'll keep an eye on that and if the next thing I install doesn't show up I'll delete that file again to see if it's creating the problem adding new entries to the menu.
Do you have a backup of the lxde-pi-applications.menu file you deleted? I am a bit confused why that specific file is causing problems for a few people. We haven't touched anything related to it.

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: I've got some problems after new update!

Mon May 16, 2016 3:55 pm

I sure do, I rarely delete or change a file without making a copy first.

The file I removed

Code: Select all

<?xml version="1.0" ?>
<!DOCTYPE Menu
  PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
  'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
	<Name>Applications</Name>
	<MergeFile type="parent">/etc/xdg/menus/lxde-pi-applications.menu</MergeFile>
	<Layout>
		<Merge type="menus"/>
		<Menuname>Help</Menuname>
		<Separator/>
		<Menuname>DesktopSettings</Menuname>
		<Separator/>
		<Menuname>Development</Menuname>
		<Menuname>Office</Menuname>
		<Menuname>Internet</Menuname>
		<Menuname>Games</Menuname>
		<Menuname>Other</Menuname>
		<Menuname>Accessories</Menuname>
		<Menuname>Education</Menuname>
		<Menuname>Graphics</Menuname>
		<Menuname>Multimedia</Menuname>
		<Menuname>System</Menuname>
		<Menuname>Universal Access</Menuname>
		<Merge type="files"/>
	</Layout>
	<Menu>
		<Name>DesktopSettings</Name>
		<Layout>
			<Merge type="menus"/>
			<Filename>alacarte.desktop</Filename>
			<Filename>rc_gui.desktop</Filename>
			<Filename>pi-packages.desktop</Filename>
			<Filename>pipanel.desktop</Filename>
			<Filename>pimixer.desktop</Filename>
			<Filename>lxsession-default-apps.desktop</Filename>
			<Filename>pcmanfm-desktop-pref.desktop</Filename>
			<Filename>lxsession-edit.desktop</Filename>
			<Filename>lxrandr.desktop</Filename>
			<Filename>lxinput.desktop</Filename>
			<Filename>lxkeymap.desktop</Filename>
			<Filename>openjdk-7-policytool.desktop</Filename>
			<Filename>pi-gpk-prefs.desktop</Filename>
			<Filename>lxappearance.desktop</Filename>
			<Merge type="files"/>
		</Layout>
		<Include>
			<Filename>lxsession-default-apps.desktop</Filename>
		</Include>
		<AppDir>/home/jimmy/.local/share/applications</AppDir>
		<Include>
			<Filename>pcmanfm-desktop-pref.desktop</Filename>
		</Include>
	</Menu>
	<Menu>
		<Name>Development</Name>
		<Layout>
			<Merge type="menus"/>
			<Filename>geany.desktop</Filename>
			<Filename>bluej.desktop</Filename>
			<Filename>greenfoot.desktop</Filename>
			<Filename>idle-python2.7.desktop</Filename>
			<Filename>idle-python3.4.desktop</Filename>
			<Filename>Node-RED.desktop</Filename>
			<Filename>idle.desktop</Filename>
			<Filename>idle3.desktop</Filename>
			<Filename>python2.7.desktop</Filename>
			<Filename>python3.4.desktop</Filename>
			<Filename>sonic-pi.desktop</Filename>
			<Merge type="files"/>
		</Layout>
		<AppDir>/home/jimmy/.local/share/applications</AppDir>
		<Exclude>
			<Filename>sonic-pi.desktop</Filename>
		</Exclude>
		<Include>
			<Filename>geany.desktop</Filename>
		</Include>
	</Menu>
	<Menu>
		<Name>Accessories</Name>
		<AppDir>/home/jimmy/.local/share/applications</AppDir>
		<Include>
			<Filename>piclone.desktop</Filename>
		</Include>
		<Include>
			<Filename>gksu.desktop</Filename>
		</Include>
	</Menu>
</Menu>

When I re-ordered the menu items and exited the menu editor this is the new "lxde-pi-applications.menu file it created.

Code: Select all

<?xml version="1.0" ?>
<!DOCTYPE Menu
  PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
  'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
	<Name>Applications</Name>
	<MergeFile type="parent">/etc/xdg/menus/lxde-pi-applications.menu</MergeFile>
	<Layout>
		<Merge type="menus"/>
		<Menuname>Help</Menuname>
		<Menuname>DesktopSettings</Menuname>
		<Separator/>
		<Menuname>Development</Menuname>
		<Menuname>Office</Menuname>
		<Menuname>Internet</Menuname>
		<Menuname>Games</Menuname>
		<Menuname>Other</Menuname>
		<Menuname>Accessories</Menuname>
		<Menuname>Education</Menuname>
		<Menuname>Graphics</Menuname>
		<Menuname>Multimedia</Menuname>
		<Menuname>System</Menuname>
		<Menuname>Universal Access</Menuname>
		<Separator/>
		<Merge type="files"/>
	</Layout>
	<Menu>
		<Name>Universal Access</Name>
		<DirectoryDir>/home/jimmy/.local/share/desktop-directories</DirectoryDir>
	</Menu>
</Menu>

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I've got some problems after new update!

Mon May 16, 2016 4:14 pm

JimmyN wrote:I sure do, I rarely delete or change a file without making a copy first.

The file I removed

Code: Select all

<?xml version="1.0" ?>
<!DOCTYPE Menu
  PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
  'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
	<Name>Applications</Name>
	<MergeFile type="parent">/etc/xdg/menus/lxde-pi-applications.menu</MergeFile>
	<Layout>
		<Merge type="menus"/>
		<Menuname>Help</Menuname>
		<Separator/>
		<Menuname>DesktopSettings</Menuname>
		<Separator/>
		<Menuname>Development</Menuname>
		<Menuname>Office</Menuname>
		<Menuname>Internet</Menuname>
		<Menuname>Games</Menuname>
		<Menuname>Other</Menuname>
		<Menuname>Accessories</Menuname>
		<Menuname>Education</Menuname>
		<Menuname>Graphics</Menuname>
		<Menuname>Multimedia</Menuname>
		<Menuname>System</Menuname>
		<Menuname>Universal Access</Menuname>
		<Merge type="files"/>
	</Layout>
	<Menu>
		<Name>DesktopSettings</Name>
		<Layout>
			<Merge type="menus"/>
			<Filename>alacarte.desktop</Filename>
			<Filename>rc_gui.desktop</Filename>
			<Filename>pi-packages.desktop</Filename>
			<Filename>pipanel.desktop</Filename>
			<Filename>pimixer.desktop</Filename>
			<Filename>lxsession-default-apps.desktop</Filename>
			<Filename>pcmanfm-desktop-pref.desktop</Filename>
			<Filename>lxsession-edit.desktop</Filename>
			<Filename>lxrandr.desktop</Filename>
			<Filename>lxinput.desktop</Filename>
			<Filename>lxkeymap.desktop</Filename>
			<Filename>openjdk-7-policytool.desktop</Filename>
			<Filename>pi-gpk-prefs.desktop</Filename>
			<Filename>lxappearance.desktop</Filename>
			<Merge type="files"/>
		</Layout>
		<Include>
			<Filename>lxsession-default-apps.desktop</Filename>
		</Include>
		<AppDir>/home/jimmy/.local/share/applications</AppDir>
		<Include>
			<Filename>pcmanfm-desktop-pref.desktop</Filename>
		</Include>
	</Menu>
	<Menu>
		<Name>Development</Name>
		<Layout>
			<Merge type="menus"/>
			<Filename>geany.desktop</Filename>
			<Filename>bluej.desktop</Filename>
			<Filename>greenfoot.desktop</Filename>
			<Filename>idle-python2.7.desktop</Filename>
			<Filename>idle-python3.4.desktop</Filename>
			<Filename>Node-RED.desktop</Filename>
			<Filename>idle.desktop</Filename>
			<Filename>idle3.desktop</Filename>
			<Filename>python2.7.desktop</Filename>
			<Filename>python3.4.desktop</Filename>
			<Filename>sonic-pi.desktop</Filename>
			<Merge type="files"/>
		</Layout>
		<AppDir>/home/jimmy/.local/share/applications</AppDir>
		<Exclude>
			<Filename>sonic-pi.desktop</Filename>
		</Exclude>
		<Include>
			<Filename>geany.desktop</Filename>
		</Include>
	</Menu>
	<Menu>
		<Name>Accessories</Name>
		<AppDir>/home/jimmy/.local/share/applications</AppDir>
		<Include>
			<Filename>piclone.desktop</Filename>
		</Include>
		<Include>
			<Filename>gksu.desktop</Filename>
		</Include>
	</Menu>
</Menu>

When I re-ordered the menu items and exited the menu editor this is the new "lxde-pi-applications.menu file it created.

Code: Select all

<?xml version="1.0" ?>
<!DOCTYPE Menu
  PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
  'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
	<Name>Applications</Name>
	<MergeFile type="parent">/etc/xdg/menus/lxde-pi-applications.menu</MergeFile>
	<Layout>
		<Merge type="menus"/>
		<Menuname>Help</Menuname>
		<Menuname>DesktopSettings</Menuname>
		<Separator/>
		<Menuname>Development</Menuname>
		<Menuname>Office</Menuname>
		<Menuname>Internet</Menuname>
		<Menuname>Games</Menuname>
		<Menuname>Other</Menuname>
		<Menuname>Accessories</Menuname>
		<Menuname>Education</Menuname>
		<Menuname>Graphics</Menuname>
		<Menuname>Multimedia</Menuname>
		<Menuname>System</Menuname>
		<Menuname>Universal Access</Menuname>
		<Separator/>
		<Merge type="files"/>
	</Layout>
	<Menu>
		<Name>Universal Access</Name>
		<DirectoryDir>/home/jimmy/.local/share/desktop-directories</DirectoryDir>
	</Menu>
</Menu>
Sounds like a bug in the menu editor, but it seems like Malman35 hasn't used it. Would be good to hear from him.

Malman35
Posts: 425
Joined: Sun Nov 30, 2014 4:51 am

Re: I've got some problems after new update!

Mon May 16, 2016 10:06 pm

JimmyN wrote:
ShiftPlusOne wrote:An idea... Remove ~/.config/menus/lxde-pi-applications.menu if it exists.
I've been having the same problem, the recently added "piclone" and "geany" wouldn't show up in the menu. I tried the above and removed the "lxde-pi-applications.menu", then restarted lxpanel and it works!. Both "Geany" and "SD Card Copier" showed up in the menu list. Thank you very much, I've been playing around with that for days trying to get those two items into the menu.

I then re-ordered the menu list using the menu editor ( I put "Help", "Preferences" at the top rather than bottom since I seldom use them). That created a new "lxde-pi-applications.menu" file. I'll keep an eye on that and if the next thing I install doesn't show up I'll delete that file again to see if it's creating the problem adding new entries to the menu.
Alright! It worked for me too! :D Everything is back to normal now.
Thanks so much for your help ShiftPlusOne. You're awesome :ugeek:

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I've got some problems after new update!

Tue May 17, 2016 8:58 am

Malman35 wrote:
JimmyN wrote:
ShiftPlusOne wrote:An idea... Remove ~/.config/menus/lxde-pi-applications.menu if it exists.
I've been having the same problem, the recently added "piclone" and "geany" wouldn't show up in the menu. I tried the above and removed the "lxde-pi-applications.menu", then restarted lxpanel and it works!. Both "Geany" and "SD Card Copier" showed up in the menu list. Thank you very much, I've been playing around with that for days trying to get those two items into the menu.

I then re-ordered the menu list using the menu editor ( I put "Help", "Preferences" at the top rather than bottom since I seldom use them). That created a new "lxde-pi-applications.menu" file. I'll keep an eye on that and if the next thing I install doesn't show up I'll delete that file again to see if it's creating the problem adding new entries to the menu.
Alright! It worked for me too! :D Everything is back to normal now.
Thanks so much for your help ShiftPlusOne. You're awesome :ugeek:
You're welcome.

mikluz
Posts: 17
Joined: Thu Mar 31, 2016 11:52 am
Location: Szczecin, Poland

Re: I've got some problems after new update!

Wed May 18, 2016 12:40 pm

I'm having the same problems after recent RPI update.
I used Geany without any problems few days ago, and yesterday I did rpi update and my geany stopped working.
I also can't install it, as '$sudo apt-get install geany' gives me this message:

Code: Select all

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 geany : Depends: geany-common (= 1.24.1+dfsg-1) but 1.27-1~wily is to be installed
E: Unable to correct problems, you have held broken packages.
Any suggestions? Just to clarify, I don't have this file ~/.config/menus/lxde-pi-applications.menu


Thanks for help
Raspberry Pi 3 @ Raspbian

DirkS
Posts: 10347
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: I've got some problems after new update!

Wed May 18, 2016 12:45 pm

mikluz wrote:I'm having the same problems after recent RPI update.
I doubt this problem is directly related to the new kernel installed with rpi-update.
How much space is left on your SD card?
Use

Code: Select all

df -h
to check it.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I've got some problems after new update!

Wed May 18, 2016 12:47 pm

Output of 'apt-cache policy' would help to. I'll leave it here for now, but in the future please start separate threads for new issues. This doesn't seem related to OP's problems at all.

mikluz
Posts: 17
Joined: Thu Mar 31, 2016 11:52 am
Location: Szczecin, Poland

Re: I've got some problems after new update!

Wed May 18, 2016 1:25 pm

@ShiftPlusOne sorry for writing in a wrong thread, I didn't want to create redundant topic.

The output is, and I think this is not the case:
Filesystem Size Used Avail Use% Mounted on
/dev/root 8.0G 5.0G 2.6G 66% /
devtmpfs 427M 0 427M 0% /dev
tmpfs 432M 0 432M 0% /dev/shm
tmpfs 432M 6.3M 425M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 432M 0 432M 0% /sys/fs/cgroup
/dev/mmcblk0p6 63M 20M 43M 32% /boot
tmpfs 87M 0 87M 0% /run/user/109
tmpfs 87M 4.0K 87M 1% /run/user/1000
/dev/mmcblk0p9 5.1G 12M 4.8G 1% /media/pi/f7a99424-3b2f-4efd-8940-9331cee1537d
/dev/mmcblk0p8 512M 117M 395M 23% /media/pi/99CA-A0A8
/dev/mmcblk0p5 30M 2.4M 26M 9% /media/pi/SETTINGS
/dev/mmcblk0p3 4.3G 23M 4.3G 1% /media/pi/MainOS
/dev/mmcblk0p2 64M 4.0K 64M 1% /media/pi/EFIESP
/dev/mmcblk0p14 1003K 17K 915K 2% /media/pi/MBR_META
/dev/mmcblk0p13 3.0G 16M 3.0G 1% /media/pi/Data
/dev/mmcblk0p12 673M 1.2M 623M 1% /media/pi/scratch
/dev/mmcblk0p11 6.1G 694M 5.1G 12% /media/pi/root-rbp21
/dev/mmcblk0p10 79M 20M 59M 26% /media/pi/boot-rbp2


But, I decided to install Geany from the sources, and after some fights with dependencies (as not every lib available in apt-get repository is new) I successfully got it working!
Raspberry Pi 3 @ Raspbian

Return to “Raspberry Pi OS”