Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-24-2009, 06:10 AM
|
#1
|
|
LQ Newbie
Registered: Nov 2009
Posts: 8
Rep:
|
Directory List like windows
Hi,
Slowly but surely I am switching to Linux (Currently liking Fedora 11 and my laptop likes it to)
couple of issues I want to solve before I take the plunge, I looked into add software, I did not find everything I wanted:
Does linux have an alternative to the following:
Dirctory List : unique small software that creats a txt list of all the files and subfolders in a directory, along with its size and date created and extension, I hope there is somethig similar in Linux
Daemon tool : to browser CD images
VSO image resizer: a small software to resize pictures and images on the fly and add water marks and frames
Beyond compare : comparing files and folders and syncing them
Duplicate remover: free software to find and manage duplicate files
Recover my files software : after file deletion
Isilo : ebook reader (prc/pdb) formats (mainly palm)
PDF explorer : bulk PDF files management, rename, view, reflow etc.
Good clean syncing software (Palm/Nokia)
More printers support
OK here is the difficult part:
in my work I use Windows specialized software, so currently I have dual boot, is there a better alternative to wine, I can't seem to get the hang of it. although I am skeptical, as many times windows software crash in windows, I think an emulator would be even flakier. or so I think.
and of course the difficult question: iPhone/Ipod touch
best wishes
PRS 700
|
|
|
|
11-24-2009, 07:02 AM
|
#2
|
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 688
Rep:
|
Quote:
Originally Posted by prs700
Dirctory List : unique small software that creats a txt list of all the files and subfolders in a directory, along with its size and date created and extension, I hope there is something similar in Linux
|
Easiest would be from command line, something like
Code:
ls -alR > directorylist.txt
'man ls' will give you more options to specify exactly what you want to see listed.
Quote:
Originally Posted by prs700
Beyond compare : comparing files and folders and syncing them
|
There's 'rsync', there is probably a version with graphical interphase, try Google, and 'man rsync'.
Quote:
Originally Posted by prs700
VSO image resizer: a small software to resize pictures and images on the fly and add water marks and frames
|
Definitely try phatch. I love it.
|
|
|
|
11-24-2009, 08:15 AM
|
#3
|
|
Member
Registered: Mar 2008
Location: NRW, Germany
Distribution: Debian GNU/Linux with XFCE and packages from "testing"
Posts: 377
Rep:
|
VirtualBox is a good GPL'ed (=open source) program to run an operating system inside another (say, Windows in a Linux OS). I haven't managed to get DirectX working properly in there so far, and it's supposed to only work like 'wine' in terms of Direct3D graphics, using the wine libs in order to convert D3D stuff (some DX10 stuff as well, even on xP  ) into OpenGL stuff. Internet and sound just work out of the box with Windows XP inside VirtualBox.
On my machine (currently running Ubuntu), Windows XP boots in like 35 seconds, which is not much (if at all...) slower than direct booting. That's convincing to me.
Wine seems to be the best solution for running win apps under other OS'es these days. One thing I hate about it is that you have to switch to the directory where the *.exe file is you want to execute, otherwise the *.exe program won't find its files (programs that don't need such files like self-extracting installers might still work).
I even coded a little C program that does this automatically (I call it startwine):
Code:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *args[]){
if(argc<2) return 0;
char dir[1024];
dir[0]='\0';
int n=0;
int dirpos=0;
// get the index of the last slash char in the array
while( args[1][n]!='\0' ){
if(args[1][n]=='/')
dirpos=n;
n++;
}
if(dirpos>0){
int i=0;
while (i<=dirpos) {
dir[i]=args[1][i];
// dir is the directory of the program
i++;
}
dir[dirpos+1]='\0';
}
char prog[1024];
n=dirpos+1;
while( args[1][n]!='\0' ){
prog[n-(dirpos+1)]=args[1][n];
// prog gets the file name of the win app in the form of "prog.exe"
n++;
}
prog[n-(dirpos+1)]='\0';
char tcmd[1024];
char cmd[1024];
sprintf(tcmd,"cd \"%s\"; wine \"%s\"",dir,prog);
// possible alternative: ... ; WINEDEBUG=-all wine \"%s\" -dxlevel 71 -opengl", ...
if(argc>2) {
int a=2; //arg
while (a<argc){
if(args[a][0]=='/') { //absolute path
sprintf(cmd,"%s \"Z:\\\\",tcmd);
int c=1; //char
while (args[a][c]!='\0') {
if (args[a][c]=='/') sprintf(tcmd,"%s\\\\",cmd);
else sprintf(tcmd,"%s%c",cmd,args[a][c]);
sprintf(cmd,tcmd);
c++;
}
sprintf(tcmd,"%s\"",cmd);
sprintf(cmd,tcmd);
}
else sprintf(cmd,"%s \"%s\"",tcmd,args[a]);
sprintf(tcmd,cmd);
a++;
}
}
sprintf(cmd,"%s\n",tcmd);
printf(cmd);
system(cmd);
printf("\n\n***\n\tpress enter\n***\n");
getc(stdin);
return EXIT_SUCCESS;
}
|
|
|
|
11-24-2009, 10:27 PM
|
#4
|
|
Senior Member
Registered: Dec 2008
Location: Gurgaon, India
Distribution: OpenSUSE 11.4
Posts: 4,582
|
Quote:
|
Originally Posted by prs700
and of course the difficult question: iPhone/Ipod touch
|
u can try gtkpod for the ipod 4th generation
Last edited by Anisha Kaul; 11-24-2009 at 10:28 PM.
|
|
|
|
11-25-2009, 03:30 AM
|
#5
|
|
LQ Newbie
Registered: Nov 2009
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by LJSBrokken
Easiest would be from command line, something like
Code:
ls -alR > directorylist.txt
'man ls' will give you more options to specify exactly what you want to see listed.
There's 'rsync', there is probably a version with graphical interphase, try Google, and 'man rsync'.
Definitely try phatch. I love it.
|
Great suggestions I particularly like Phatch
I will have to learn the commands (I use GUI for almost everything) I will have to read further
thanks again
|
|
|
|
11-25-2009, 03:42 AM
|
#6
|
|
LQ Newbie
Registered: Nov 2009
Posts: 8
Original Poster
Rep:
|
Thanks,
what do you mean I have to switch to the folder where the exe file is at? I tried to make it out from the script but too little experience here.
I recently saw virtualbox description in a list of open and free software, but I didn't think it would be this awesome.
If it works as advertised, I that will be great, I don't have to SWITCH every time I want to run some of my Win work apps.
To tell you the truth, I am switching from windows because no matter what version I use, no matter what machine, eventually the system becomes bogged down, a press of a button takes ages to elicit a response. (I do not expect Linux to be OS heaven all the way, I am just hoping this never happens with Linux)
and I hope virtualbox does not bring this into Linux
I will have to read more about it and about wine.
thanks again
Quote:
Originally Posted by TITiAN
VirtualBox is a good GPL'ed (=open source) program to run an operating system inside another (say, Windows in a Linux OS). I haven't managed to get DirectX working properly in there so far, and it's supposed to only work like 'wine' in terms of Direct3D graphics, using the wine libs in order to convert D3D stuff (some DX10 stuff as well, even on xP  ) into OpenGL stuff. Internet and sound just work out of the box with Windows XP inside VirtualBox.
On my machine (currently running Ubuntu), Windows XP boots in like 35 seconds, which is not much (if at all...) slower than direct booting. That's convincing to me.
Wine seems to be the best solution for running win apps under other OS'es these days. One thing I hate about it is that you have to switch to the directory where the *.exe file is you want to execute, otherwise the *.exe program won't find its files (programs that don't need such files like self-extracting installers might still work).
I even coded a little C program that does this automatically (I call it startwine):
Code:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *args[]){
if(argc<2) return 0;
char dir[1024];
dir[0]='\0';
int n=0;
int dirpos=0;
// get the index of the last slash char in the array
while( args[1][n]!='\0' ){
if(args[1][n]=='/')
dirpos=n;
n++;
}
if(dirpos>0){
int i=0;
while (i<=dirpos) {
dir[i]=args[1][i];
// dir is the directory of the program
i++;
}
dir[dirpos+1]='\0';
}
char prog[1024];
n=dirpos+1;
while( args[1][n]!='\0' ){
prog[n-(dirpos+1)]=args[1][n];
// prog gets the file name of the win app in the form of "prog.exe"
n++;
}
prog[n-(dirpos+1)]='\0';
char tcmd[1024];
char cmd[1024];
sprintf(tcmd,"cd \"%s\"; wine \"%s\"",dir,prog);
// possible alternative: ... ; WINEDEBUG=-all wine \"%s\" -dxlevel 71 -opengl", ...
if(argc>2) {
int a=2; //arg
while (a<argc){
if(args[a][0]=='/') { //absolute path
sprintf(cmd,"%s \"Z:\\\\",tcmd);
int c=1; //char
while (args[a][c]!='\0') {
if (args[a][c]=='/') sprintf(tcmd,"%s\\\\",cmd);
else sprintf(tcmd,"%s%c",cmd,args[a][c]);
sprintf(cmd,tcmd);
c++;
}
sprintf(tcmd,"%s\"",cmd);
sprintf(cmd,tcmd);
}
else sprintf(cmd,"%s \"%s\"",tcmd,args[a]);
sprintf(tcmd,cmd);
a++;
}
}
sprintf(cmd,"%s\n",tcmd);
printf(cmd);
system(cmd);
printf("\n\n***\n\tpress enter\n***\n");
getc(stdin);
return EXIT_SUCCESS;
}
|
|
|
|
|
11-25-2009, 03:53 AM
|
#7
|
|
LQ Newbie
Registered: Nov 2009
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by anishakaul
u can try gtkpod for the ipod 4th generation
|
Thanks I sill have a 4th gen iPod,
Come to think about it even Win/iTune cannot manage the iPhone and ipod touch well for me (well maybe it is due to the jailbreak) I do not expect linux to support such locked down device, it is not linux style. (actually come to think about installing applications into the iPhone from App store reminds me of the way I install applications into my fedora - there are apps repository and you name the app and install it automatically)
I just hate it when I want to install couple of apps in Fedora and it says queueing or downloading list of packages and it takes SOME time.
thanks again
I notice I have now my Fedora Logo next to my posts instead of windows, now I feel i belong, currently downloading Fedora 12 DVD.
Last edited by prs700; 11-25-2009 at 04:54 AM.
|
|
|
|
11-25-2009, 07:20 AM
|
#8
|
|
Member
Registered: Mar 2008
Location: NRW, Germany
Distribution: Debian GNU/Linux with XFCE and packages from "testing"
Posts: 377
Rep:
|
OK what it means to switch into the directory where an *.exe file is...
Let's assume you have a windows program with this executable file: "/win/Program Files/app/app.exe"
(the "C:" drive from Windows is mounted in /win under Linux, so the Windows path of the program was "C:\Program Files\app\app.exe")
Now if you execute this program with wine (command: wine "/win/Program Files/app/app.exe"), the program won't find its own data and configuration files, which are located in "/win/Program Files/app/".
In order to solve this, you can: - open a terminal
- then switch into the directory of your app (command: cd "/win/Program Files/app")
- and then execute it with wine (command: wine "app.exe")
|
|
|
|
11-25-2009, 07:56 AM
|
#9
|
|
LQ Newbie
Registered: Nov 2009
Posts: 8
Original Poster
Rep:
|
Thanks for the clarification,
I am leaning towards wine, as vistual box will require a full installtion of windows "or at least this is the impression i got"
thnkas again
PRS700
Quote:
Originally Posted by TITiAN
OK what it means to switch into the directory where an *.exe file is...
Let's assume you have a windows program with this executable file: "/win/Program Files/app/app.exe"
(the "C:" drive from Windows is mounted in /win under Linux, so the Windows path of the program was "C:\Program Files\app\app.exe")
Now if you execute this program with wine (command: wine "/win/Program Files/app/app.exe"), the program won't find its own data and configuration files, which are located in "/win/Program Files/app/".
In order to solve this, you can: - open a terminal
- then switch into the directory of your app (command: cd "/win/Program Files/app")
- and then execute it with wine (command: wine "app.exe")
|
|
|
|
|
11-25-2009, 09:53 AM
|
#10
|
|
Member
Registered: Mar 2008
Location: NRW, Germany
Distribution: Debian GNU/Linux with XFCE and packages from "testing"
Posts: 377
Rep:
|
Yes, VirtualBox needs a full installation (a virtual HDD with like 5GB is necessary for Windows+applications). But that's the only way I see for running windows applications under Linux that don't work with Wine.
There is also the possibility of a parallel running of Windows and Linux on one computer (with Xen, I assume), but I don't know how to enable that.
Finally, the last resort is a dual-boot system which lets you choose which OS to boot at startup.
BTW the latest version of wine is 1.1.33, you can check the version of the current installation with the command wine --version. Newer versions usually bring more compatibility.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:08 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|