[03:27] bjsnider: there's a variable you can set [03:28] yes, UBUNTU_MENUPROXY [03:28] is that not working for you? [03:28] well, it's a long story [03:28] how about removing indicator-appmenu? [03:29] let's forget about removing packages or unsetting envs [03:29] i use gnome-shell [03:29] all of this stuff is present but not being used [03:30] so i was looking for a foolproof way of checking that wihtout removing packages or unsetting envs [03:31] http://code.google.com/p/gnome-mplayer/source/diff?spec=svn2385&old=2384&r=2385&format=unidiff&path=%2Ftrunk%2Fsrc%2Fmain.c [03:31] if you look at that single column you can see the code currently being used. right now it seems to work [03:31] but is that the best way to check? [03:32] oh, so tldr, you want to make sure gnome-mplayer matches the environment the person is in so it does the right thing? [03:33] exactly [03:33] one sec [03:33] it's another variable [03:33] see, i haven't tested this code in unity yet, so maybe it doesn't work there [03:34] it's supposed to switch on globalmenu support in unity obviously [03:34] ah dude! [03:34] it's an xdg variable [03:34] http://askubuntu.com/questions/72549/determine-what-window-manager-or-desktop-is-running [03:34] XDG_CURRENT_DESKTOP [03:35] ok, so that is Gnome for me [03:35] in unity would it be Ubuntu or Unity? [03:36] though, I am pretty sure the menu thing is supposed to export it automatically, I don't think the application is supposed to do extra work [03:36] XDG_CURRENT_DESKTOP=Unity [03:36] how do you mean? [03:37] i'm just going to copy-paste this code for Kevin to look at, so add as much detail as possible [03:37] this conversation i mean, not code [03:37] sure. [03:37] you might want to doublecheck though, maybe post on the desktop list. [03:38] <--- neither an expert nor a programmer, but happened to be around when app authors needed help with indicators/menus [03:38] have you seen this kind of issue before with any other apps? [03:38] custom apps [03:38] like, do they all have this check somewhere? [03:38] like java, eclipse, non-gtk/qt stuff [03:38] but for normal gtk/qt apps, it should just work [03:38] I am pretty sure we didn't patch every gtk/qt app to export the menu [03:39] yeah, i don't understand that part of it [03:39] one problem is that he doesn't like globalmenus at all. i n fact, i am understating that [03:39] that's why he refuses to use osx i think he said [03:40] so maybe he's just not familiar with it or whatever [03:40] does the app use like custom things in the menu? [03:40] something outside normal gtk stuff? [03:40] the menubar is... [03:40] that's usually why it wouldn't work [03:40] file/edit/view/help [03:41] within those menus there is custom stuff [03:41] yeah, that's probably why [03:41] i mean just about every app has edit>preferences but not many have edit>select subtitles language [03:43] so maybe the best idea would be if unity ==yes globalmenu is enabled else it is not [03:43] yeah [03:43] there could be other workarounds other apps are using that might be best practice, but that seems pretty sane [03:43] well, totem ahs custom stuff too. why wouldn't totem need a check like this? [03:43] I was just checking totem now [03:43] but I don't seem to have a file to check for the sub language [03:44] totem has a sound menu and a go [03:44] totem has also switched to the gnome whatever it's called [03:44] application menu? [03:44] I think they do buttons now or something [03:45] but I'm on raring and I think I'm a version behind [03:45] whatever, anyway some stuff is in the icon on the gnome-shell top bar [03:45] wouldn't just about every app have at least one custom item in the menubar? [03:49] if there is a best practice in this case i'd definitely like to know what it is though [03:57] no clue [03:57] someone on the list would know (normally irc but a bunch of people are on holiday) [03:59] which list? [04:01] is someone using unity always going to be using the globalmenu, going back as far in the past as possible? [04:20] unless they explicitly remove it, yeah === tkamppeter__ is now known as tkamppeter === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha