General :: Executing "DOS/Windows Executable" Files From "/media"
Jul 4, 2011
It seems all .exe files work from my /home folder, however as this didn't have enough space I installed a game(World of Warcraft) onto one of the file systems in /media folder. The game worked perfectly when I played it on Linux Mint 9 but when I upgraded to Linux mint 11 it wasn't marked as executable. When I attempt to change the permissions from properties to "allow executing file as program", it instantly deselects the box and double clicking has no effect. I've tried the "chmod +x" command from the terminal and that has no effect either. I can't move the file to my "/home" folder as it's too large.
I use Ubuntu 9.04 exclusively on my own machines, but I have a couple of flash drives that got infected by some corrupt windows executable (*.exe) files, probably by somebody's trojan (they are Cruzer 4GB so came with installed fancy programs that I dont need but didnt remove and Windows keeps installing unwanted ini files and other trash every time I use them in somebody elses machine or in an internet cafe). I deleted quite a few files, but some are stubborn. $ sudo chmod +w-X doesnt seem to work. How do I unprotect and remove them? The filesystem is vFAT.
I suspect the files were created by some kind of a trojan as my work requires my flash to be pretty promiscuous. When I 've backed up all the good files I need, I'd be happy to reformat the flash drives as straight vanilla data storage and retrieval, provided I can still use them on a variety of machines running MS windows as well as on my Linux machines. Any guidance on reformatting?
When I move files from Windows to Linux using a USB drive, all files are marked as executable. Then double clicking on a ".txt" file gets you the ridiculous dialog box asking whether you want to display the file or execute it. (NOTE: The /etc/fstab entry for the USB mount includes the "noexec" option already and it hasn't helped.) Now that my wife and daughters are moving files back and forth between the two OSs, I'm getting pestered for a solution to this and I haven't been able to track anything down. Yet.
What can one do -- presumably on the Windows side of the transfer -- to prevent these files from being marked executable? Or is it a hopeless problem caused by some dainbread decision made by a Windows developer?
I need to instal JDownloader, I downloaded as a linux version and this is the command line output (Archive Manager):
Archive: /root/Downloads/JDownloader/JDownloader.exe [/root/Downloads/JDownloader/JDownloader.exe] End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. zipinfo: cannot find zipfile directory in one of /root/Downloads/JDownloader/JDownloader.exe or /root/Downloads/JDownloader/JDownloader.exe.zip, and cannot find /root/Downloads/JDownloader/JDownloader.exe.ZIP, period.
i have n files and each file has 5-6 .sql files.Now I need to wrie a shell script that executes all the n files in parellel and for each n file the .sql files sequentially.eg
I wanted to use cron to play a media file at a certain time (i.e. use it as an alarm clock). However it seems to do nothing. The contents of my crontab is:
Suppose there is a directory named mydir containing ... aaa.cpp aaa.h bbb.cpp bbb.h Makefile a b Where a,b are executable files. What I want to is to only copy a and b to another location. Is it possible? (other than by manually issuing copy a,b another_dir).
I recently got the information that Windows software do not run in Linux as such. In order to run these software (Running the software also includes installing the software by running the set-up executable file) I need to install 'wine' on my system and then run the set-up files from within this 'wine'. I therefore wish to install 'wine' on my system in order to run the corresponding Windows set-up files (which are executable files). I am running Linux Mint version 10 on my system.
I just bought a new hard drive so that I could convert my XP-only machine into an XP-Ubuntu-Windows 7 triple boot machine.Since the drive is absurdly huge (1 TB) I wouldn't mind throwing ReactOS into the mixtoo.I just found out that master boot records are limited to 4 entries, meaning 4 primary partitions. I had Windows XP set up on my old drive as a boot partition, a program files partition and a media partition. Since I really didn't want to install XP from scratch, I cloned this setup on my new drive.
This leaves me one MBR partition entry for installing Windows 7, Ubuntu and ReactOS. I'd like to avoid having to install XP from scratch like the plague, partly because it's supposed to be a safety net in case things go wrong with my other OS's and because I've invested a lot of time getting it set up exactly the way I like it.Here are the options I've considered and why I don't like them:Install Windows 7 on my media partition. This would work, but I prefer to keep my media partition completely separate from any OS, so that I can reformat an OS partition without affecting my media partition at all.
Use wubi or something to install Ubuntu in the same partition as something else. Again, this is brittle.Move all my media to a logical drive on an extended partition. Create another logical drive on this extended partition for Ubuntu. The problem here is that extended partitions are rather brittle--if you nuke one, it renders the rest useless.Just put the old drive back in my computer and run XP off it. Use the new one for the other OS's. The problem here is that the old drive is slower and uses extra power, generates extra heat, etc.
I have created some text executable files and put them on my desktop. In the way of background I created them in gedit. Then used chmod ugo+x (filename) to make them executable. One of them is a ping test to see if a printer is on. Text in file = ping 192.168.1.5. Others are to turn my laptop touchpad on and off. text in file = sudo modprobe -i psmouse. I have 2 questions about executable text files:
- When I click on an executable text file it present a window with 4 options (Run in terminal, display, cancel, run). Can I set a parameter or do something else so it just runs in terminal? I know I can set an option in Nautilus to run them but when I select run nothing seems to happen. In addition I would want to set this option on a case by case basis not globally in Nautilus. If there is an option or flag where it would run this file in terminal I would use it on my printer ping test.
- When I click on these executable text files to turn my touchpad on and off, the text within the file uses the sudo command so that requires that I input my password. After I click on either of these files a window appears with the 4 options (Run in terminal, display, cancel, run). I select run in terminal, a terminal window opens and requests my password. Subsequent to inputting my password the file executes fine.
Is there a way to set a parameter or do something else so I don't need to not only select the run in terminal option from (run in terminal, display, cancel, run) but also not to enter my password?
I am using Lucid lynx and trying to play a video files with 300++ megs on it but only shows 21 seconds.. and a writing in the screen Codec Error : Use windows media player
I can play all files and already download the ubuntu restriced format .. But why can't i play this one ? Really liked the movie tough ..
I have found that when a shell script having executable permission(+x) is copied to Windows from Linux machine,loses its executable permission when again copied back to Linux from Windows machine
I want to install my favorite player WMP11 in Linux, but the Setup fails in validation! i there a possible to force install wmp11 with wine in linux ? I have a lot of music in WAV + tagged with RIFF Tags, wmp can read riff tags...Amarok can't! is there another player that can read RIFF Tags from WAV files?
I need to strip the executable flag from all files within a certain directory and sub directories. Right now I'm doing it with a 2 step process
find /dir/ -type f -exec chmod ugo-x {} ; find /dir/ -type d -exec chmod ugo+rx {} ;
Is it possible to modify the first line so that I can strip exec flag from all non-directory files? Since this needs to be done on a fairly regular basis across a lot of directories and files, I'd prefer not to use a bash script which would slow it down.
When i try to copy files from my samba server (Ubuntu 9.10) to my windows seven media center, the speed is extremely slow. So slow that is better to download 100mb file from the internet, than from my lan. And on my lan, every card and switch is at 1000 mbps speeds on cat5 cables. And from XP or other linux machine
I have an NTFS volume on my system which I regularly access from within Ubuntu 9.10, mostly to play the plethora of DVD images (*.iso files) stored there. I use VLC Media Player to watch the content. For some reason, VLC's file browser only shows a small subset of the files by default. I have to select "All Files" instead of "Media Files" to see all the *.iso's.
What's this about? Since they're all the same type of file, I don't understand why some would be viewed as "media files" but others not. If the files were on a Linux-type filesystem (ext3 etc.) I would guess it had something to do with permissions, but I'm not sure how file ownership & permissions apply to a mounted NTFS volume.
One of Konqueror's unique features is that i can name a local process as the action in a form. When i submit that form, the local process is executed. Very helpful for certain offline tasks. What would make it even better is if i could find a way to pass some data to that local process from the html page. This could be the content of a hidden input item, etc. Alternatively, if there is a way for Konqueror to create or update a local file with data from the html page, that would acheive the same end.
I just installed the nmap for port scanning and then run ./configure , make , make install command respectively. It works and then I successfully installed nmap under /usr/local/bin . nmap is a executable file not .exe . so my question is how can I open it .
i installed kubuntu enviroment in my new linux version of ubuntu 9.10 and it was playing media files then all oversudden it stopped playing the media files but when i play media files in gnome enviroment they play!!i have tried updating it but there is no change.what do i do?
I cannot seem to find what I need to in either these forums, Ubuntu help, or various Man pages.Issue:When I insert a CD it automounts correctly, but I cannot Use the "Open with Wine" option (even after configuring wine to recognize the executable) due to a "trust" issue within Ubuntu. I have learned that this "trust" is simply the executable bit, but I obviously cannot change that bit on a read only medium. he software requires the CD at both install and run time, so I cannot use a separately mounted ISO.Somewhere there must be a setting where I can turn off the "require trust flag" which I assume must exist.
I have an ipod classic 160gb, that I sync with my machine at home.
I use Linux at work, and want to just plug my ipod and just listen to the tracks, with all the playlists and such. I don't want to sync nothing, I just want to listen to the tracks as if I was using the ipod itself.
Why? Because this way I can use the usb port.
So, I don't want to manage my ipod in Linux, I just want to listen to the tracks on it in Linux, like it was a local library but it's instead in my ipod.
(I've tried gtkpod, it works to show my files, but I can't play, shuffle, etc. It would be interesting to have a complete audio software to handle everything like it was a local library)
How con i install win32 codecs (free)in 0pen suse 11.... I have got gstreamer codec pack but on compiling it says missing packages like c, gcc, glib...etc...how can i get them from where do i get them....
I have a torrentbox. The special thing about this torrent box is that it's custom built, it has Windows 7 installed and I have full control over it using TightVNC. At the moment I'm using uTorrent WebUI and FTP do download the files. But I'm thinking - When I download a 1,5 hour long video in 30 minutes, wouldn't it be theoretically possible to just WATCH the movie directly from the torrentbox? Obviously this can't be dont using FTP since it makes you download the entire file, BUT:
Is there some other way to fool your OS into thinking that this is a local folder, and get media players like VLC or GOM player to play video files directly? This would be a monumental time- and space saver for me.(I have both Windows and Linux Mint on my PCs)
I have a Logitech Wireless Gamepad F710 that I'd like to be able to use as a remote control for a media player on my PC. I currently map the gamepad to certain hot-keys for use with VLC, but I can't say it's ideal.Is there a media player out there that's easy to control with a gamepad and supports a wide range of file types?Bonus points if it has an internal video library.
Is there a way to update my distro with a newer version and not disturb saved media files? Music and pictures etc. Can I move them to another partition. Its there a better way than to save it to disk?