ALT Linux Bugzilla
– Attachment 12619 Details for
Bug 45400
xdg-open лажает на .desktop файлах с пробелами
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
дебаг
xdgbug.txt (text/plain), 11.36 KB, created by
wd
on 2023-02-27 12:53:55 MSK
(
hide
)
Description:
дебаг
Filename:
MIME Type:
Creator:
wd
Created:
2023-02-27 12:53:55 MSK
Size:
11.36 KB
patch
obsolete
>% sh -x /usr/bin/xdg-open http://ya.ru >+ check_common_commands http://ya.ru >+ '[' 1 -gt 0 ']' >+ parm=http://ya.ru >+ shift >+ case "$parm" in >+ '[' 0 -gt 0 ']' >+ '[' -z '' ']' >+ unset XDG_UTILS_DEBUG_LEVEL >+ '[' 0 -lt 1 ']' >+ xdg_redirect_output=' > /dev/null 2> /dev/null' >+ '[' x = x ']' >+ '[' -n :0 ']' >+ DE=generic >+ '[' xhttp://ya.ru '!=' x ']' >+ url= >+ '[' 1 -gt 0 ']' >+ parm=http://ya.ru >+ shift >+ case "$parm" in >+ '[' -n '' ']' >+ url=http://ya.ru >+ '[' 0 -gt 0 ']' >+ '[' -z http://ya.ru ']' >+ detectDE >+ unset GREP_OPTIONS >+ '[' -n '' ']' >+ '[' xgeneric = x ']' >+ '[' xgeneric = x ']' >+ '[' xgeneric = x ']' >+ '[' xgeneric = xgnome ']' >+ '[' -f /flatpak-info ']' >+ '[' xgeneric = x ']' >+ DEBUG 2 'Selected DE generic' >+ '[' -z '' ']' >+ return 0 >+ case "${BROWSER}" in >+ case "$DE" in >+ open_generic http://ya.ru >+ is_file_url_or_path http://ya.ru >+ echo http://ya.ru >+ grep -q '^file://' >+ echo http://ya.ru >+ grep -Eq '^[[:alpha:]+\.\-]+:' >+ return 1 >+ has_display >+ '[' -n :0 ']' >+ return 0 >+ open_generic_xdg_x_scheme_handler http://ya.ru >++ echo http://ya.ru >++ sed -n 's/\(^[[:alnum:]+\.-]*\):.*$/\1/p' >+ scheme=http >+ '[' -n http ']' >+ filetype=x-scheme-handler/http >+ open_generic_xdg_mime http://ya.ru x-scheme-handler/http >+ filetype=x-scheme-handler/http >+ xdg_user_dir= >+ '[' -n '' ']' >+ xdg_user_dir=/home/wd/.local/share >+ xdg_system_dirs= >+ '[' -n '' ']' >+ xdg_system_dirs=/usr/local/share/:/usr/share/ >+ DEBUG 3 /home/wd/.local/share:/usr/local/share/:/usr/share/ >+ '[' -z '' ']' >+ return 0 >++ xdg-mime query default x-scheme-handler/http >/usr/bin/xdg-mime: line 299: [: too many arguments >/usr/bin/xdg-mime: line 301: [: too many arguments >++ generic_mime_apps x-scheme-handler/http >++ local mimeapps >++ local d >+++ echo /home/wd/.local/share:/usr/local/share/:/usr/share/ >+++ sed 's/:/ /g' >++ for d in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >++ mimeapps=/home/wd/.local/share/applications/mimeapps.list >++ test -r /home/wd/.local/share/applications/mimeapps.list >++ continue >++ for d in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >++ mimeapps=/usr/local/share//applications/mimeapps.list >++ test -r /usr/local/share//applications/mimeapps.list >++ continue >++ for d in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >++ mimeapps=/usr/share//applications/mimeapps.list >++ test -r /usr/share//applications/mimeapps.list >++ sed -n '\|x-scheme-handler/http|{s/.*=//;s/;/\n/gp}' >+ for default in `xdg-mime query default "$filetype"` `generic_mime_apps "$filetype"` >++ echo /home/wd/.local/share:/usr/local/share/:/usr/share/ >++ sed 's/:/ /g' >+ for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >+ search_desktop_file userapp-Firefox /home/wd/.local/share/applications/ http://ya.ru >+ local default=userapp-Firefox >+ local dir=/home/wd/.local/share/applications/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /home/wd/.local/share/applications//userapp-Firefox ']' >++ echo userapp-Firefox >++ sed -e 's|-|/|' >+ '[' -r /home/wd/.local/share/applications//userapp/Firefox ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d '/home/wd/.local/share/applications//*/' ']' >+ for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >+ search_desktop_file userapp-Firefox /usr/local/share//applications/ http://ya.ru >+ local default=userapp-Firefox >+ local dir=/usr/local/share//applications/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /usr/local/share//applications//userapp-Firefox ']' >++ echo userapp-Firefox >++ sed -e 's|-|/|' >+ '[' -r /usr/local/share//applications//userapp/Firefox ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d '/usr/local/share//applications//*/' ']' >+ for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >+ search_desktop_file userapp-Firefox /usr/share//applications/ http://ya.ru >+ local default=userapp-Firefox >+ local dir=/usr/share//applications/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /usr/share//applications//userapp-Firefox ']' >++ echo userapp-Firefox >++ sed -e 's|-|/|' >+ '[' -r /usr/share//applications//userapp/Firefox ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d /usr/share//applications//kf5/ ']' >+ search_desktop_file userapp-Firefox /usr/share//applications//kf5/ http://ya.ru >+ local default=userapp-Firefox >+ local dir=/usr/share//applications//kf5/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /usr/share//applications//kf5//userapp-Firefox ']' >++ echo userapp-Firefox >++ sed -e 's|-|/|' >+ '[' -r /usr/share//applications//kf5//userapp/Firefox ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d '/usr/share//applications//kf5//*/' ']' >+ for default in `xdg-mime query default "$filetype"` `generic_mime_apps "$filetype"` >++ echo /home/wd/.local/share:/usr/local/share/:/usr/share/ >++ sed 's/:/ /g' >+ for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >+ search_desktop_file Developer /home/wd/.local/share/applications/ http://ya.ru >+ local default=Developer >+ local dir=/home/wd/.local/share/applications/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /home/wd/.local/share/applications//Developer ']' >++ echo Developer >++ sed -e 's|-|/|' >+ '[' -r /home/wd/.local/share/applications//Developer ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d '/home/wd/.local/share/applications//*/' ']' >+ for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >+ search_desktop_file Developer /usr/local/share//applications/ http://ya.ru >+ local default=Developer >+ local dir=/usr/local/share//applications/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /usr/local/share//applications//Developer ']' >++ echo Developer >++ sed -e 's|-|/|' >+ '[' -r /usr/local/share//applications//Developer ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d '/usr/local/share//applications//*/' ']' >+ for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >+ search_desktop_file Developer /usr/share//applications/ http://ya.ru >+ local default=Developer >+ local dir=/usr/share//applications/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /usr/share//applications//Developer ']' >++ echo Developer >++ sed -e 's|-|/|' >+ '[' -r /usr/share//applications//Developer ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d /usr/share//applications//kf5/ ']' >+ search_desktop_file Developer /usr/share//applications//kf5/ http://ya.ru >+ local default=Developer >+ local dir=/usr/share//applications//kf5/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /usr/share//applications//kf5//Developer ']' >++ echo Developer >++ sed -e 's|-|/|' >+ '[' -r /usr/share//applications//kf5//Developer ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d '/usr/share//applications//kf5//*/' ']' >+ for default in `xdg-mime query default "$filetype"` `generic_mime_apps "$filetype"` >++ echo /home/wd/.local/share:/usr/local/share/:/usr/share/ >++ sed 's/:/ /g' >+ for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >+ search_desktop_file Edition-Z1H001.desktop /home/wd/.local/share/applications/ http://ya.ru >+ local default=Edition-Z1H001.desktop >+ local dir=/home/wd/.local/share/applications/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /home/wd/.local/share/applications//Edition-Z1H001.desktop ']' >++ echo Edition-Z1H001.desktop >++ sed -e 's|-|/|' >+ '[' -r /home/wd/.local/share/applications//Edition/Z1H001.desktop ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d '/home/wd/.local/share/applications//*/' ']' >+ for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >+ search_desktop_file Edition-Z1H001.desktop /usr/local/share//applications/ http://ya.ru >+ local default=Edition-Z1H001.desktop >+ local dir=/usr/local/share//applications/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /usr/local/share//applications//Edition-Z1H001.desktop ']' >++ echo Edition-Z1H001.desktop >++ sed -e 's|-|/|' >+ '[' -r /usr/local/share//applications//Edition/Z1H001.desktop ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d '/usr/local/share//applications//*/' ']' >+ for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'` >+ search_desktop_file Edition-Z1H001.desktop /usr/share//applications/ http://ya.ru >+ local default=Edition-Z1H001.desktop >+ local dir=/usr/share//applications/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /usr/share//applications//Edition-Z1H001.desktop ']' >++ echo Edition-Z1H001.desktop >++ sed -e 's|-|/|' >+ '[' -r /usr/share//applications//Edition/Z1H001.desktop ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d /usr/share//applications//kf5/ ']' >+ search_desktop_file Edition-Z1H001.desktop /usr/share//applications//kf5/ http://ya.ru >+ local default=Edition-Z1H001.desktop >+ local dir=/usr/share//applications//kf5/ >+ local target=http://ya.ru >+ local file= >+ '[' -r /usr/share//applications//kf5//Edition-Z1H001.desktop ']' >++ echo Edition-Z1H001.desktop >++ sed -e 's|-|/|' >+ '[' -r /usr/share//applications//kf5//Edition/Z1H001.desktop ']' >+ '[' -r '' ']' >+ for d in $dir/*/ >+ '[' -d '/usr/share//applications//kf5//*/' ']' >+ '[' -n '' ']' >+ '[' x = x ']' >+ BROWSER=www-browser:links2:elinks:links:lynx:w3m >+ has_display >+ '[' -n :0 ']' >+ return 0 >+ BROWSER=x-www-browser:firefox:iceweasel:seamonkey:mozilla:epiphany:konqueror:chromium:chromium-browser:google-chrome:www-browser:links2:elinks:links:lynx:w3m >+ open_envvar http://ya.ru >+ local 'oldifs= >' >+ local browser browser_with_arg >+ IFS=: >+ for browser in $BROWSER >+ IFS=' >' >+ '[' -z x-www-browser ']' >+ echo x-www-browser >+ grep -q %s >+ x-www-browser http://ya.ru >[47862:47862:0227/123906.318187:ERROR:browser_dm_token_storage_linux.cc(92)] Error: /etc/machine-id contains 0 characters (32 were expected). >[47862:47894:0227/123906.428564:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") >[47862:47894:0227/123906.428593:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") >[47862:47894:0227/123906.443682:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") >[47862:47894:0227/123906.443712:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") >libva error: /usr/lib64/dri/iHD_drv_video.so init failed >[47862:47894:0227/123906.618492:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") >[47862:47894:0227/123906.618512:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") >[47862:47965:0227/123906.842329:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files >[47862:47965:0227/123906.842434:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files >[47862:47965:0227/123906.842523:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files >+ '[' 0 -eq 0 ']' >+ exit_success >+ '[' 0 -gt 0 ']' >+ exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45400
: 12619