diff options
-rwxr-xr-x | util/fluxbox-generate_menu.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in index 33b0153..085d622 100755 --- a/util/fluxbox-generate_menu.in +++ b/util/fluxbox-generate_menu.in | |||
@@ -1522,7 +1522,7 @@ if find_it_options $MY_BROWSER; then | |||
1522 | else | 1522 | else |
1523 | [ -n "$MY_BROWSER" ] && echo "Warning: you chose an invalid browser." >&2 | 1523 | [ -n "$MY_BROWSER" ] && echo "Warning: you chose an invalid browser." >&2 |
1524 | #The precise order is up for debate. | 1524 | #The precise order is up for debate. |
1525 | for browser in firefox mozilla-firefox mozilla-firebird MozillaFirebird opera skipstone mozilla seamonkey galeon konqueror dillo netscape w3m amaya links lynx; do | 1525 | for browser in firefox mozilla-firefox chrome chromium google-chrome mozilla-firebird MozillaFirebird opera skipstone mozilla seamonkey galeon konqueror dillo netscape w3m amaya links lynx; do |
1526 | if find_it_options $browser; then | 1526 | if find_it_options $browser; then |
1527 | DEFAULT_BROWSER=$browser | 1527 | DEFAULT_BROWSER=$browser |
1528 | break | 1528 | break |
@@ -1586,6 +1586,8 @@ append "[exec] (${DEFAULT_TERMNAME}) {${DEFAULT_TERM}}" | |||
1586 | case "$DEFAULT_BROWSERNAME" in | 1586 | case "$DEFAULT_BROWSERNAME" in |
1587 | links|w3m|lynx) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_TERM} -e ${DEFAULT_BROWSER} ${HOMEPAGE}}" ;; | 1587 | links|w3m|lynx) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_TERM} -e ${DEFAULT_BROWSER} ${HOMEPAGE}}" ;; |
1588 | firefox|firebird|mozilla|seamonkey|phoenix|galeon|dillo|netscape|amaya) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_BROWSER}}" ;; | 1588 | firefox|firebird|mozilla|seamonkey|phoenix|galeon|dillo|netscape|amaya) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_BROWSER}}" ;; |
1589 | chrome|chromium) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_BROWSER}}" ;; | ||
1590 | google-chrome) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_BROWSER}}" ;; | ||
1589 | konqueror) append "[exec] (konqueror) {kfmclient openProfile webbrowsing}" ;; | 1591 | konqueror) append "[exec] (konqueror) {kfmclient openProfile webbrowsing}" ;; |
1590 | opera) append "[exec] (opera) {env QT_XFT=true opera}" ;; | 1592 | opera) append "[exec] (opera) {env QT_XFT=true opera}" ;; |
1591 | MozillaFirebird) append "[exec] (firebird) {MozillaFirebird}" ;; | 1593 | MozillaFirebird) append "[exec] (firebird) {MozillaFirebird}" ;; |
@@ -1604,7 +1606,7 @@ append_menu_end | |||
1604 | 1606 | ||
1605 | append_submenu "${NETMENU}" | 1607 | append_submenu "${NETMENU}" |
1606 | append_submenu "${BROWSERMENU}" | 1608 | append_submenu "${BROWSERMENU}" |
1607 | normal_find firefox mozilla-firefox MozillaFirefox galeon mozilla seamonkey dillo netscape vncviewer | 1609 | normal_find chrome chromium firefox google-chrome mozilla-firefox MozillaFirefox galeon mozilla seamonkey dillo netscape vncviewer |
1608 | find_it links append "[exec] (links-graphic) {links -driver x ${HOMEPAGE}}" | 1610 | find_it links append "[exec] (links-graphic) {links -driver x ${HOMEPAGE}}" |
1609 | find_it opera append "[exec] (opera) {env QT_XFT=true opera}" | 1611 | find_it opera append "[exec] (opera) {env QT_XFT=true opera}" |
1610 | find_it konqueror append "[exec] (konqueror) {kfmclient openProfile webbrowsing}" | 1612 | find_it konqueror append "[exec] (konqueror) {kfmclient openProfile webbrowsing}" |