LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1149|回复: 6

(已解决)刚装好的arch+lxde,没有出现系统菜单,怎么加回来阿

[复制链接]
发表于 2008-12-29 19:38:44 | 显示全部楼层 |阅读模式
绝对的菜鸟
本来准备装那个美化过得ARCH 没有成功 一怒之下竟然把原版的装好了
机器比较破 所以直接用的是LXDE
速度绝对的快
到目前还没有解决的就是这个没有系统菜单 和windows分区的自动挂载问题了
求高手帮帮忙
发表于 2008-12-29 19:52:29 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-29 20:16:32 | 显示全部楼层
Post by carbonjiao;1931520
http://www.linuxsir.cn/bbs/thread341982.html
不知道是不是上面的问题
http://aur.archlinux.org/packages.php?ID=17813


纯英文阿 那位大哥给整个通俗点的 兄弟实在是非常非常菜的
回复 支持 反对

使用道具 举报

发表于 2008-12-29 20:39:42 | 显示全部楼层
Post by 7rmb;1931535
纯英文阿 那位大哥给整个通俗点的 兄弟实在是非常非常菜的

服了U

1、删除lxpanel
   
  1.     pacman -Rsn lxpanel
  2.    
复制代码
2、编译、安装menu-cache
   
  1.     mkdir ~/Desktop/menu-cache
  2.     cd ~/Desktop/menu-cache
  3.     leafpad ~/Desktop/menu-cache/PKGBUILD
  4.    
复制代码

    将如下内容粘帖过去,保存
   
  1. pkgname=menu-cache
  2. pkgver=0.2.2
  3. pkgrel=1
  4. pkgdesc="Libmenu-cache is a library creating and utilizing caches to speed up
  5. the manipulation for freedesktop.org defined application menus."
  6. arch=('i686' 'x86_64')
  7. license=('GPL2')
  8. url="http://lxde.org/"
  9. groups=('lxde')
  10. depends=('intltool')
  11. makedepends=('pkgconfig')
  12. source=(http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz)
  13. build() {
  14. cd "$srcdir/$pkgname-$pkgver"
  15. ./configure --prefix=/usr --sysconfdir=/etc || return 1
  16. make || return 1
  17. make DESTDIR="$pkgdir" install || return 1
  18. }
  19. md5sums=('2ebce9f1217553112ac35abc35360050')
复制代码
      
  1. makepkg
  2. sudo pamcna -U menu-cache-0.2.2*
复制代码

3、编译安装lxmenu-data:
     类似上一步,PKGBUILD内容:
  1. pkgname=lxmenu-data
  2. pkgver=0.1
  3. pkgrel=1
  4. pkgdesc="This package provides files required to build freedesktop.org
  5. menu spec-compliant desktop menus for LXDE."
  6. arch=('i686' 'x86_64')
  7. license=('GPL2')
  8. url="http://lxde.org/"
  9. groups=('lxde')
  10. makedepends=('pkgconfig')
  11. source=(http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz)
  12. build() {
  13. cd "$srcdir/$pkgname-$pkgver"
  14. ./configure --prefix=/usr --sysconfdir=/etc || return 1
  15. make || return 1
  16. make DESTDIR="$pkgdir" install || return 1
  17. }
  18. md5sums=('1c35ad4bf05cd076ce4a9bb64a246351')
复制代码

4、编译安装lxpanel
     PKGBUILD内容
  1. pkgname=lxpanel
  2. pkgver=0.3.99
  3. pkgrel=1
  4. pkgdesc="Panel of the LXDE Desktop"
  5. arch=('i686' 'x86_64')
  6. license=('GPL2')
  7. url="http://lxde.org/"
  8. groups=('lxde')
  9. depends=('gtk2' 'alsa-lib' 'menu-cache' 'lxmenu-data')
  10. makedepends=('pkgconfig')
  11. source=(http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz)
  12. build() {
  13. cd "$srcdir/$pkgname-$pkgver"
  14. ./configure --sysconfdir=/etc --prefix=/usr || return 1
  15. make || return 1
  16. make DESTDIR="$pkgdir" install || return 1
  17. }
  18. md5sums=('91f020d385ee29dcfff820d5c77a0e4f')
复制代码

重新运行lxpanel应该就可以了
回复 支持 反对

使用道具 举报

发表于 2008-12-29 21:34:05 | 显示全部楼层
这个版本的lxpanel是4.0的beta版,建议别升级先
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-30 12:24:08 | 显示全部楼层
自己编译总是失败,pacman了一个旧版本 3.99的,现在OK了
回复 支持 反对

使用道具 举报

发表于 2009-1-18 12:43:39 | 显示全部楼层
我发现一个新的办法:
Automatically start some applications on login
Both LXSession and LXSession Lite support freedesktop.org Autostart spec. Put *.desktop files of those applications in ~/.config/autostart, and they will get executed when the session starts.

~/.config/autostart/lxpanel.desktop

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=无名称
Exec=lxpanelctl restart
X-GNOME-Autostart-enabled=true
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表