LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-24-2006, 01:20 PM   #1
ForYouAndI.com
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 82

Rep: Reputation: 15
Suse - like everything except the inability to doulble click and run executables


KDE is my file browser. I cannot double click to run executables even as root. Is this the way Suse is set up? Can I change it? How?
 
Old 01-24-2006, 01:31 PM   #2
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Rep: Reputation: 30
don't think there's a reason to change the "doubleclicking" thing

what you can do is to Right click your RPM package and the select "action" and then choose "install with yast"

after that it will ask for your root password etc.. and it will install automatically
 
Old 01-24-2006, 01:49 PM   #3
ForYouAndI.com
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 82

Original Poster
Rep: Reputation: 15
Actually, I'm not talking about just installing things. I'm talking about sh scripts and binary executables also.

In Mandriva and Xandros you can just double click on executables to run them. It's very annoying having to use the console all the time.

And I can't even use the console for binary files like my programs I built:
error is: cannot execute binary file.

Please help me resolve these two issues.
 
Old 01-24-2006, 03:29 PM   #4
ForYouAndI.com
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 82

Original Poster
Rep: Reputation: 15
I should also mention that on Xanadros and Mandriva I did not have to type:
sh to execute a file but with Suse I do. That could be part of the problem.
 
Old 01-24-2006, 09:50 PM   #5
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
I don't know what to tell you about double-clicking (are you running Windows? ) but I just browsed to /usr/bin in konqueror (I was curious if click-and-run was removed from KDE 3.5 for some reason?), double-clicked audacity and it launched just fine. Are you sure that:

1. You are actually clicking a binary file or shell script

and

2. that shell script or binary has the "executable" bit set properly? (if all else fails, as a test, chmod a+x)
 
Old 01-24-2006, 10:04 PM   #6
ForYouAndI.com
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 82

Original Poster
Rep: Reputation: 15
Yes, I'm sure on all points.
 
Old 01-25-2006, 07:50 AM   #7
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
Have you changed the settings in the Kcontrol to allow mouse to select on single click, run on double click? Cause by default, single cliking runs in KDE on SuSE.

That said, even then, I cannot doublt click on scrips to get them to run even with my mouse set up for double clicking rather than single. I didn't know about the right click action either, but I would really like to double click run scripts. Perhaps I will dink around more in kcontrol later, it is probably in there.(As an aside, if you use the gnome viewer instead of KDE it does double click install, so it has to be a KDE setting SuSE sets to off when other distros set it to on).

But in the terminal I can run things with ./ or sh, I don't need or normally use sh though, so perhaps that is something off on your machine... or maybe mine is non default somehow, I dunno.
 
Old 01-25-2006, 03:36 PM   #8
ForYouAndI.com
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 82

Original Poster
Rep: Reputation: 15
Some output:
LinuxPc:/data2/LinuxTest/aChOwn # ls -l
total 80
drwxr-xr-x 2 andrew users 4096 Jan 24 14:49 .
drwxr-xr-x 7 andrew users 4096 Jan 24 13:48 ..
-rwxr-xr-x 1 andrew users 66 Jan 24 14:49 Build.sh
-rwxr-xr-x 1 root root 70 Jan 21 20:41 Build.sh~
-rwxr-xr-x 1 andrew users 22007 Jan 18 21:27 aChOwn
-rwxr-xr-x 1 andrew users 30010 Jan 21 23:34 aChOwn_gcc3
-rwxr-xr-x 1 andrew users 4035 Jan 21 23:39 main.cpp
-rwxr-xr-x 1 andrew users 4018 Jan 21 23:36 main.cpp~
LinuxPc:/data2/LinuxTest/aChOwn # sh aChOwn
aChOwn: aChOwn: cannot execute binary file

As you can see, binary files don't execute AT ALL. Non binary files execute ONLY from the command line.

Let me know what you find out please.
 
Old 01-25-2006, 05:08 PM   #9
ForYouAndI.com
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 82

Original Poster
Rep: Reputation: 15
Here is what I found out. This is EXTREMELY annoying!

LinuxPc:/data2/LinuxTest/aChOwn # sh ./aChOwn
./aChOwn: ./aChOwn: cannot execute binary file
LinuxPc:/data2/LinuxTest/aChOwn # ./aChOwn
bash: ./aChOwn: Permission denied
LinuxPc:/data2/LinuxTest/aChOwn # chmod aChOwn
chmod: missing operand after `aChOwn'
Try `chmod --help' for more information.
LinuxPc:/data2/LinuxTest/aChOwn # file aChOwn
aChOwn: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped

/data2/LinuxTest/aChOwn is actually:
media:/hda7/LinuxTest/aChOwn

and I can't even open up terminals in media:/
It's a separate partition on the hard drive. I checked to make sure all the file permissions for all the sub dirs were executable, and they are. Apparently, you're not allowed to run executables from any media:/ in Suse. To prove it, I copied the file to the partition where Suse is installed and the program ran from the console. Double clicking still does not work there though.

2 annoying things:
1) can't run executables from other drives
2) can't double click to run executables, no matter where they are.

I'll probably go back to Mandriva if this continues.
 
Old 03-14-2006, 03:27 PM   #10
persev
LQ Newbie
 
Registered: Mar 2005
Location: Georgia USA
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by Randall Slack
don't think there's a reason to change the "doubleclicking" thing

what you can do is to Right click your RPM package and the select "action" and then choose "install with yast"

after that it will ask for your root password etc.. and it will install automatically
I have tried this with Suse 9.3Pro, 10.0 OSS, and 10.0 full version and it never works. Sometimes Yast will open but won't show the RPM I want to install, I have to search for the package and yast still won't install it. I have tried this on many packages and Yast has worked a few times but it is not consistant. Very frustrating that a distro with the corporate power of Novell behind it is so buggy compared to some "one man" distros. Other issues I have had with Suse9.3,10.0, 10.0 OSS- when using Gnome and opening multiple windows (such as when using yast) the 2cd, 3rd, etc windows open part way off screen, right click menu has no options for "move to", "copy to", etc and no wasy way to add them, drag and drop of device and file icons to desktop causes said icons to crash, not open, give errors, etc; KDE problems- right clicking and rpm to "install with yast" hardly ever works, clicking on "MY Computer" icon on desktop by default does NOTHING, no errors, just nothing, etc...dependency hell with RPMs still an issue even with yast. OH well even with these bugs Suse is still far better than Windows.
 
Old 03-14-2006, 04:14 PM   #11
darkhatter
Member
 
Registered: Dec 2005
Distribution: Slackware 12.1/Current
Posts: 159

Rep: Reputation: 30
I know what you mean, there is a program in the non ra**d kde that lets you can the settings, its like desktop setup or something. but it gave you the option to make in windows style, kde style, mac osx style, etc. I guess they removed it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If you run a Linux server for any game, click here! LavaDevil94 Linux - Software 32 03-15-2008 08:51 PM
error: "c compiler cannot create executables" when trying to run ./configure fedoraemu Linux - Software 2 04-24-2007 07:43 PM
Lindows: block Click-N-Run lectraplayer Linux - Newbie 2 03-06-2004 08:37 PM
How do I run executables without the ./ part? Abdul Linux - Newbie 9 10-06-2003 12:40 AM
Lindows Click and run. Any alternatives??? raid517 Linux - Software 0 08-01-2003 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration