Bug 707733 - F15 XFCE 4.8 : xfrun4 (ALT-F2 or Run Program) opens firefox 4.0.1 to http://"name of command"/
Summary: F15 XFCE 4.8 : xfrun4 (ALT-F2 or Run Program) opens firefox 4.0.1 to http://"...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce-utils
Version: 15
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-25 19:31 UTC by deuno_panopticon
Modified: 2011-05-30 04:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-30 04:21:26 UTC
Type: ---


Attachments (Terms of Use)

Description deuno_panopticon 2011-05-25 19:31:09 UTC
Description of problem:
Typing in any program/command in xfrun4 or "Run Program" by pressing ALT-F2 or opening Run Program will load Firefox 4.0.1, and open the false web page "http://"name of program"/

Version-Release number of selected component (if applicable):


How reproducible:
Persistent

Steps to Reproduce:
1. Press ALT-F2 or open Applications Menu>Run Program...
2. type in any program to run/or command
3. Mozilla Firefox 4.0.1 can be opened or closed
  
Actual results:
Mozilla Firefox 4.0.1 opens with "http://"name of program"/"
Mozilla Firefox 4.0.1 opens a new tab if already opened with "http://"name of program"

Expected results:
Run program as typed in the "Run As" field

Additional info:
Fedora 15
XFCE 4.8.0
xfrun4
Mozilla 4.0.1

Comment 1 Kevin Fenzi 2011-05-25 19:42:50 UTC
What does: 

cat .local/share/applications/mimeapps.list

output? 

Is this a fresh install? or a upgrade? 
Did it work normally at any point?

Comment 2 deuno_panopticon 2011-05-25 19:57:55 UTC
The output in xfburn4:

Nothing...no change no open windows etc.

The output in terminal:

cat: .local/share/applications/mimeapps.list: No such file or directory

This is a fresh install, not an upgrade.
Downloaded spin from main website, used LiveUSBCreator to make a flashdrive of this spin. 

This is my first attempt(10 mins ago) using "ALT-F2"/"Run-as" to run "accounts-dialog". 

No it did not work normally at any point.

Comment 3 deuno_panopticon 2011-05-25 20:11:19 UTC
*forgot to mention:
Fedora 15 XFCE 4.8 was installed directly to the hard drive from the flash drive with no problems.

*Problem extends from Live-CD?
When using the "Live-CD" (from my usb), the same problem with xfrun4 (RunAs/ALT-F2), it runs Firefox and shows "http://"program name"" instead.

Comment 4 Kevin Fenzi 2011-05-26 13:02:12 UTC
how about: 

echo $PATH

and

env

output please.

Comment 5 deuno_panopticon 2011-05-26 21:26:19 UTC
*my user name will be replaced with "user name"

echo $PATH:

/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/"user name"/bin

env:

SSH_AGENT_PID=1439
XDG_SESSION_ID=1
HOSTNAME="user name"
IMSETTINGS_INTEGRATE_DESKTOP=yes
GPG_AGENT_INFO=/tmp/gpg-emkTv2/S.gpg-agent:1460:1
GLADE_PIXMAP_PATH=:
TERM=xterm
SHELL=/bin/bash
XDG_MENU_PREFIX=xfce-
HISTSIZE=1000
XDG_SESSION_COOKIE=6e07d890e54917d455bdf6ad00000017-1306444683.219467-185848619
WINDOWID=48234500
GNOME_KEYRING_CONTROL=/tmp/keyring-7AxvPX
IMSETTINGS_MODULE=none
USER="user name"
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
GLADE_MODULE_PATH=:
SSH_AUTH_SOCK=/tmp/ssh-yNMFbP1323/agent.1323
USERNAME="user name"
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1469,unix/unix:/tmp/.ICE-unix/1469
XDG_CONFIG_DIRS=/etc/xdg
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/"user name"/bin
MAIL=/var/spool/mail/"user name"
DESKTOP_SESSION=xfce
QT_IM_MODULE=xim
PWD=/home/"user name"
XMODIFIERS=@im=none
GNOME_KEYRING_PID=1315
LANG=en_US.UTF-8
GDM_LANG=
GDMSESSION=xfce
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
HOME=/home/"user name"
SHLVL=3
GTK_PATH=:/usr/lib/gtk-2.0
LOGNAME="user name"
XDG_DATA_DIRS=/usr/local/share:/usr/share
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-VkL4crdful,guid=c94502751684a80a97bfd9c300000051
LESSOPEN=||/usr/bin/lesspipe.sh %s
WINDOWPATH=1
XDG_RUNTIME_DIR=/run/user/"user name"
DISPLAY=:0.0
GLADE_CATALOG_PATH=:
LIBGLADE_MODULE_PATH=:
G_BROKEN_FILENAMES=1
COLORTERM=Terminal
XAUTHORITY=/var/run/gdm/auth-for-"user name"-PkrfgP/database
_=/usr/bin/env

Comment 6 Kevin Fenzi 2011-05-27 13:39:20 UTC
Can you also attach: 

~/.cache/xfce4/xfrun4/history

Comment 7 deuno_panopticon 2011-05-27 19:42:20 UTC
~/.cache/xfce4/xfrun4/history as seen in Mousepad.

0:accounts-dialog
0:run-dialog
0:cat .local/share/applications/mimeapps.list
0:a

------------------

1st line is what I was originally trying to run, to create an "auto-log in"
2nd line was just to test if I could run "auto-log in" another way (mis-read instructions)
3rd line is from your post (mistake on where to type your code)
4th line was a final check , and even "a" will open firefox as http://www.a.com/

Comment 8 Kevin Fenzi 2011-05-29 13:17:49 UTC
Well, it falls back to treating the thing as a web address if the command is not found. 

What happens if you run something that _does_ exist? Say "Terminal" ?

Does that work, or do you get 'http://www.Terminal.com/' ?

Comment 9 deuno_panopticon 2011-05-29 22:42:02 UTC
Terminal works. It does not open Firefox, but opens terminal as normal.

I did not know xfrun4 works that way. 

I would suggest if possible, to have this coded saying "command not found" when running this command, it was slightly confusing to see firefox open it as such.

-----------
Below is not directly related to xfrun4 but shows what I was trying to accomplish, if this section needs to be moved/changed please do so: 

The purpose of using xfrun4 and/or the run program command was to enable "auto-log in" from these steps found on this website: http://jorge.fbarr.net/2010/06/09/fedora-13-on-the-acer-aspire-one/#Enabling-autologin

Quoted from site:(worked on Fedora 14 XFCE)
"As of Fedora 13, enabling automatic login on XFCE is a LOT easier. First, we need to have the packages accountsdialog and accountsservice installed. So execute the following command as root:

yum -y install accountsdialog accountsservice"

These both were already installed and shown as the latest version in terminal.

Contining on:
"Once the packages are installed, press Alt-F2 to get the run-dialog, and enter accounts-dialog.

You will get up a little box with your current user listed. Click on the shield-icon to the bottom left to allow changes to details. Enter your root-password, and proceed to click Login Options.

Now you have a new box up. Click on the shield again, enter the root-password again, and select the user you want to automatically log in as under Automatic login.

That is pretty much it. Exit the program, reboot, and you should be able to log in automatically as the user you specified."

typing in accounts-dialog in xfrun4 opened firefox, 
I'll try to find a work around.
 
Thank you Kevin Fenzi.

Comment 10 Kevin Fenzi 2011-05-30 04:21:26 UTC
Yeah, I admit it can be confusing... 

Accountsdialog is depreciated in f15, so that explains why it didn't work. ;( 

The wiki page there should be updated to reflect that it won't work with f15. 

http://projects.gnome.org/gdm/docs/2.24/configuration.html

should explain how to setup autologin with gdm. 

I guess we can close this out now? I'll talk to upstream about making this all more clear...


Note You need to log in before you can comment on or make changes to this bug.