Warning: session_start(): open(/tmp/sess_upk5kcjc7um83g0gto5rj0bsj1, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
running the program from the current pat openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  . 

running the program from the current pat

  

KDE4 Brainstorm

Score 45%
Link:  http://
Downloads:  94
Submitted:  Jul 18 2006

Description:

In KDE when you "double click" on application icon is equvilant to typing the following commands
cd ~
/path/to/app
This way is very bad and should be changed to be something like that
cd /path/to/
./app
Windows uses the second approch and it has many advantages over the first one

Lets take wine for example
when I try to run and windows game using wine
direct double clicking on its exe fail
and to make the game work i need to open the command line and then type
cd /pth/to/the/
wine game.exe




LicenseGPL
Send to a friend
Subscribe
Other  Content  from Xman
Report inappropriate content



-
.

 uhh ok?

 
 by dragons on: Jul 18 2006
 
Score 50%

ok ... how is cding straight to the app bad? and what r the advantages of the other way ? you never fully explained this


Reply to this

-

 Re: uhh ok?

 
 by Xman on: Jul 18 2006
 
Score 50%

Hey cding to the Application's path before running it is GOOD

But KDE don't do that
KDE cd to the home directory ~ before runng any application

so that in case of wine
Thats what KDE do when opening exe with wine
cd ~
wine /path/to/app.exe
This is bad, the application may not work properly that way

so what should KDE do?
cd /path/to/
wine app.exe


Reply to this

-
.

 Interesting but...

 
 by ibc on: Jul 18 2006
 
Score 50%

I think you should report this issue to the developers in bugs.kde.org. It's really interesting and it's really possible that your idea is better than the actual way. So, report it to developers. ;)


Reply to this

-
.

 Re: Interesting but.

 
 by Xman on: Jul 19 2006
 
Score 50%

Thank you, I reported it


Reply to this

-

 Re: Re: Interesting

 
 by Xman on: Jul 19 2006
 
Score 50%

http://bugs.kde.org/show_bug.cgi?id=131048


Reply to this

-

 Use .desktop files.

 
 by sirtalon on: Jul 28 2006
 
Score 50%

If you use a shortcut (.desktop file) you can specify the work path (aka Current Working Directory) that it will use instead of your home directory.


Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team