Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[alacarte] ne veut plus jouer (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
pti-rem
Guru
Guru


Joined: 14 Oct 2011
Posts: 309
Location: Aquitaine FRANCE

PostPosted: Tue Dec 08, 2015 9:14 am    Post subject: [alacarte] ne veut plus jouer (résolu) Reply with quote

Bonjour !

alacarte, que j'utilise pour adapter mon menu Xfce4 ne marche plus :

Code:
rem@n73sm ~ $ alacarte

(alacarte:25192): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:25192): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
/usr/lib64/python2.7/site-packages/Alacarte/MainWindow.py:43: Warning: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
  self.tree.add_from_file(os.path.join(config.pkgdatadir, 'alacarte.ui'))
/usr/lib64/python2.7/site-packages/Alacarte/MainWindow.py:43: Warning: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
  self.tree.add_from_file(os.path.join(config.pkgdatadir, 'alacarte.ui'))
/usr/lib64/python2.7/site-packages/Alacarte/MainWindow.py:43: Warning: The property GtkTreeView:rules-hint is deprecated and shouldn't be used anymore. It will be removed in a future version.
  self.tree.add_from_file(os.path.join(config.pkgdatadir, 'alacarte.ui'))
/usr/lib64/python2.7/site-packages/Alacarte/MainWindow.py:43: Warning: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
  self.tree.add_from_file(os.path.join(config.pkgdatadir, 'alacarte.ui'))
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/alacarte", line 24, in <module>
    main()
  File "/usr/lib64/python2.7/site-packages/Alacarte/MainWindow.py", line 463, in main
    app.setMenuBasename(basename)
  File "/usr/lib64/python2.7/site-packages/Alacarte/MainWindow.py", line 61, in setMenuBasename
    self.editor = MenuEditor(menu_basename)
  File "/usr/lib64/python2.7/site-packages/Alacarte/MenuEditor.py", line 36, in __init__
    self.load()
  File "/usr/lib64/python2.7/site-packages/Alacarte/MenuEditor.py", line 49, in load
    if not self.tree.load_sync():
GLib.Error: g-io-error-quark: Failed to look up menu_file for "applications.menu"
 (0)
rem@n73sm ~ $

Je l'aime bien même si il doit exister un éditeur de menus plus adapté pour Xfce4.

J'ai aussi, sans savoir si c'est en rapport :

Code:
rem@n73sm ~ $ eselect python list
Available Python interpreters:
  [1]   python2.7
  [2]   python3.4 *

J'ai essayé de le réinstaller (-1) mais sans que ça le fasse remarcher.
Merci pour votre aide

C'est vers Gtk le problème ?


Last edited by pti-rem on Tue Dec 22, 2015 4:12 am; edited 2 times in total
Back to top
View user's profile Send private message
pti-rem
Guru
Guru


Joined: 14 Oct 2011
Posts: 309
Location: Aquitaine FRANCE

PostPosted: Wed Dec 09, 2015 12:47 pm    Post subject: Reply with quote

J'ai envoyé un troupeau d'éléphants écraser une souris :

Code:
# emerge -vae alacarte

281 paquets en réinstall et avec un --sync d'hier
Back to top
View user's profile Send private message
pti-rem
Guru
Guru


Joined: 14 Oct 2011
Posts: 309
Location: Aquitaine FRANCE

PostPosted: Wed Dec 09, 2015 6:17 pm    Post subject: Reply with quote

Pas bon ; La souris est passée à travers le troupeau d'éléphants (assez facile aussi faut dire) : alacarte donne la même erreur.

J'ai lu un post :
Jristz 2011-08-30 00:17:28 wrote:
How to edit the xfce4 menu...
https://forum.xfce.org/viewtopic.php?id=6245
I sugest try lxmed (lxmenueditor, use java) for those task is mor easi, but requiere gksu and edit al from a gksu
and "compile" the lxmed
http://lxmed.sourceforge.net/
the alacarte tecnicaly is a dead proyect

J'ai essayé lxmed et il fonctionne apparemment mais il n'est vraiment pas joli et de plus il lui faut une machine Java pour tourner ; c'est pas l'idéal...

Je n'arrive pas à trouver un éditeur de menus pour Xfce4 assez joli et sans des dépendances énormes.

Et j'ai utilisé alacarte bien après fin 2011

Bref, j'ai besoin d'aide ou plutôt de conseil.
Back to top
View user's profile Send private message
Zentoo
Apprentice
Apprentice


Joined: 18 Nov 2002
Posts: 194
Location: /dev/console

PostPosted: Sat Dec 19, 2015 11:44 am    Post subject: Reply with quote

As tu essayé x11-misc/menulibre ? (An advanced menu editor that provides modern features in a clean, easy-to-use interface)
_________________
Kernel 4.14.13-ck| Gcc 7.2 | Glibc 2.26
Core i7 6700K @ 4.6GHz | 32Gb
ACCEPT_KEYWORDS="~amd64"
CFLAGS="-march=native -O2 -pipe"
Back to top
View user's profile Send private message
pti-rem
Guru
Guru


Joined: 14 Oct 2011
Posts: 309
Location: Aquitaine FRANCE

PostPosted: Sat Dec 19, 2015 5:18 pm    Post subject: Reply with quote

Bonsoir et merci Zentoo

Je n'ai vraiment pas de bol :

Quote:
rem@n73sm ~ $ menulibre
Traceback (most recent call last):
File "/usr/lib/python-exec/python2.7/menulibre", line 46, in <module>
import menulibre
File "/usr/lib64/python2.7/site-packages/menulibre/__init__.py", line 25, in <module>
from menulibre import MenulibreWindow
File "/usr/lib64/python2.7/site-packages/menulibre/MenulibreWindow.py", line 27, in <module>
from menulibre_lib import Window, IconTheme, Applications
File "/usr/lib64/python2.7/site-packages/menulibre_lib/IconTheme.py", line 18, in <module>
from gi._glib import GError
ImportError: No module named _glib
rem@n73sm ~ $
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8073
Location: ~Brussels - Belgique

PostPosted: Sun Dec 20, 2015 8:14 pm    Post subject: Reply with quote

Apparemment il te manque un module, glib.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
pti-rem
Guru
Guru


Joined: 14 Oct 2011
Posts: 309
Location: Aquitaine FRANCE

PostPosted: Tue Dec 22, 2015 4:11 am    Post subject: Reply with quote

menulibre-13.04.17 fonctionne avec x11-libs/gtksourceview-3.16.1 en nouveau slot.

Il y a aussi XAME (XFCE Applications Menu Editor) qui fonctionne (avec gambas) mais dont la fenêtre reste à une taille fixe et il est moins joli que menulibre.
http://www.redsquirrel87.com/XAME.php
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum