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