Ubuntu :: Hiding The JAR File Extension?
May 5, 2011
I installed Minecraft and I want to hide the .JAR extension on the file on my desktop. I tried just renaming it and deleting the ".jar" from the name, but when I tried opening it, it opened as an archive, rather than an executable, even though I had the "Allow executing file as program." box checked off. What can I do to hide the extension?
View 1 Replies
ADVERTISEMENT
Feb 1, 2011
While googling for soft link and hard link i found this part
Code:
{
FILE *fp;
fp = fopen("some.hidden.file","w");
unlink("some.hidden.file"); /* deletes the filename part */
/* some.hidden.file no longer has a filename and is truely hidden */
fprintf(fp,"This data won't be found
"); /* access the data part */
[Code]...
View 9 Replies
View Related
Mar 16, 2011
10.04 LTS: Is there a way to hide an icon of a mounted file system from the GNOME desktop?
View 8 Replies
View Related
Sep 12, 2010
I'm using zenity 2.28.0 in a bash script (under kde4) to select multiple files in a directory. It works fine, but always defaults to showing hidden files. How can I get it to hide hidden files by default?
I know about toggling them on and off with Ctrl-H, but I would prefer not to have to use that. I have my options set so that dolphin and konqueror do not show hidden files by default. I even tried adding shopt -u dotglob to my script. zenity invocation (extracted from a more complex statement): zenity --title "Select Print Files to Delete" --file-selection --multiple
View 5 Replies
View Related
May 6, 2010
Anyone know how to compress a file to extension z?not tar.gz , zip, 7zip
View 6 Replies
View Related
Oct 20, 2010
I have a considerable number of files in a subdirectory (some fascinating old military clips from archive.org - search on Big Picture if interested). Anyhow, I am downloading them using Internet Download Manager running in an XP virtual machine in VMWare on my Ubuntu 10.04 PC (due to the queuing, restart and speed capabilities of IDM). But I digress - the files are being saved on the host (Samba share) without a file extension. So I have a collection of files with names like
Quote:
The Douglas MacArthur Story
THEY WERE THERE (1960)
I wish to add the extension ".mp4" In Windows this is simply done with the command
Quote:
rename *. *.mp4
This of course does not work in Linux. I have researched the Linux rename command and reviewed a lot of examples. However, I have not found a way to add an extension to a batch of files which are named with no extension to start with. The spaces in the file names also seem to present an issue. At the moment I am renaming them from the Windows VM while they are sitting on the Samba share using the ancient File Manager program from Windows NT which works great on XP. I have experimented with the file rename facility in Gnome Commander however, it does not seem to want to do something so simple.
View 10 Replies
View Related
Jun 26, 2010
How to open and run file with extension nds in ubuntu linux?
View 1 Replies
View Related
Apr 2, 2010
How to make sure that when I save a pdf file, the file extension .pdf appears in the filename? Its a silly little thing, but annoying. The file browser recognises it afterward as a pdf file though, it opens with document viewer ok.
View 9 Replies
View Related
Apr 24, 2010
I am running 10.04 beta2 and have installed cups-pdf printing. I can print to the PDF printer and it works fine saving the file to ~/PDF. It saves it with the PDF extension as expected. I am trying to save the file by default to a windows share. I changed the DEVICE URI line to smb://HOME/SERVER/PDF. When I print, the job shows up on the windows share but without a PDF extension
View 8 Replies
View Related
Jul 8, 2010
I have received a file in CDF V2 format (.pub file extension).
Is there any software available to read this file in Linux (Ubuntu)?
View 2 Replies
View Related
Aug 2, 2010
When trying to play videothe extension .vob,the following message :pa_stream_writable_size () failed. Connection terminated. I tried to follow the tread associated with that error message with little luck. Following that thread led to the following command:sudo pulseaudio --killWhen I executed that command I got the following:E: core-util.c: Home diectory home/username not oursE:main.c: failed tokill daemon: permission denied
View 6 Replies
View Related
Mar 6, 2011
I am trying to move files from one folder to another based on their file extension. I can do it with a single extension, but I want to match multiple.
Example:
This works, but I want it to not only match mov, but also mpg, flv, mp4, etc. I would think something like [mov,mpg,flv] would work, but it doesn't.
View 4 Replies
View Related
Sep 21, 2010
When trying to play a MP3 file without extension, mplayer shows this message:
Quote:
$ mplayer file
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
[code]....
It does not happen with all the files I've tested, but only some of them, is there an option to indicate mplayer that the file is actually in mp3 format?
View 2 Replies
View Related
Nov 10, 2010
At the moment, when I rename a file in Nautilus it highlights the full file name including the file extension. How can I make it only rename the first part of the file and ignore the extension (as it always did)? The odd thing is that if I rename a file on the Desktop directory, it does not highlight the extension.
View 9 Replies
View Related
May 30, 2011
I have made the simple mistake of using dolphin to rename several picture files of types jpg and png. I have no problem viewing them and Ubuntu still knows which is which (if i view their properties it will state File Type: JPEG or PNG) but unfortunately Ubuntu Tweak does not allow you to chose them without the extension (I am trying to change my login background using this) So what i need is something that can scan several files, determine the file type, and add an appropriate extension to it. I have found several to do so for music files but none for images. I am using Ubuntu 11.04 at the moment.
View 5 Replies
View Related
Mar 26, 2010
I need to find a Broadcom BCM4312 driver that has a .inf file extension. I cannot find one anywhere. I need to atleast once use wireless inside of ubuntu.
View 2 Replies
View Related
Sep 10, 2010
I trying to read a file with an .odc extension.Using openOffice Calc, However there is a of garbage and irreadable characters, I found out it is a Microsoft office data connection file. Is there a way around it?
View 4 Replies
View Related
Mar 2, 2010
I am trying to access a .dd file extension. Do I have to mount it?
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd
# fdisk -ul VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd
Blocks Id System
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd1 8192 1535999 763904 5 Extended
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd4 * 32 8191 4080 4 FAT16 <32M
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd5 8224 106495 49136 6 FAT16
[Code].....
I am trying to grab some files off this file to create a PXE vmware boot.
View 2 Replies
View Related
Aug 8, 2011
#!/bin/csh -f
source /xxxx/
set $spicedir = `sim_${1%.*}`
printf "Output folder is %s
" $spicedir
toolcommand -i $1 -o $spicedir
(-o output directory, -i =input)
I got spicedir: Undefined variable in my xterm
How could I match a file name without extension in csh
View 1 Replies
View Related
Apr 26, 2010
How will I open a file with extension .pmd in linux ?
View 7 Replies
View Related
May 22, 2010
how can I rename all files in a directory up to the first dot (there by leaving the file extension alone) to the same thing? Im trying to rename all my media files and associated files in a directory to (preferably) the name of the directory it self. if I have
Code:
A Clockwork Orange -
wzzyfg.cd1.avi
wzzyfg.cd2.avi
wzzyfg.nfo
ACO.fanart.jpg
orange.tbn
Id like to automatically mass rename them all to
Code:
A Clockwork Orange
A Clockwork Orange.cd1.avi
A Clockwork Orange.cd2.avi
A Clockwork Orange.nfo
A Clockwork Orange.fanart.jpg
A Clockwork Orange.tbn
I have rename on my server which I used to remove underscores from file names, but I dont know how I would use it to rename everything up to the first period. Bonus points for renaming stuff to the name of the parent folder!
View 5 Replies
View Related
Jun 30, 2011
I want a list of all my mp3 files (or any other kind of file, actually) telling me HOW MANY OF THEM I have in my computer.I tried with both find and locate commands in terminal, but they don't tell me how many files I have.
View 2 Replies
View Related
Aug 23, 2011
I would like to ask if someone knows a command or a script on how to rename a multiple file in the directory starting at the end of the filename or at the .extension( i would like to remove the last 11 character before the extension) for exampleBelow is the result of my command ls inside the directoryQuote:
BBC_In_footsteps_of_Alexander_the_mountain_20-v3veN2U__3I.mp4
BBC_In_the_footsteps_of_Alexander_Afghanistan_17-thAS28SWKKU.mp4
BBC_In_the_footsteps_of_Alexander_Alexandria_7-rQcjjpRwqw4.mp4
[code]....
View 9 Replies
View Related
Mar 4, 2011
Trying to get the basename of a file without the extension, I found this snippet but it just returns command not found twice:
[Code]....
Also tried (with and without the quotes on input and file_ext):
input=$1
file_ext=.${input##*.}
base=`basename "$input" $file_ext`
executed: convert.sh /path/music.wav But it echoes base as music.wav
View 14 Replies
View Related
Jan 4, 2010
As we have executeable file extensions .exe , .msi and .msp for Windows. What is the file extension that is executable in Linux RHEL 5
View 3 Replies
View Related
Apr 18, 2011
I am playing with my LAMP server1. why can i access a php file on the server only by typing http://serverip/file with no .php extension on?2. later i tryed to play with .htaccess, but when i uploaded it to the server it just disappeared, why is that
View 4 Replies
View Related
Dec 9, 2009
how to use a variable in a sed command, but I can't get the output into a variable.
FILE=readme.txt
now i want to remove the extension of filename
so file woud be:
FILE=readme
my script:
NFILE=`echo $FILE | sed 's/.txt//'`
mv ../out/$FILE ../out/$NFILE
FILE=$NFILE
now when i run my script. i get this unknown character extensions in my new file(NFILE).
View 14 Replies
View Related
Feb 8, 2010
All files I save, now have to have the OTS file extension, and I cannot open them directly. I have to go through Open Office Org. My computer has also slowed down. Whether this is associated I don't know. Could this be a Bug, and if so how can I correct this problem?. My OS is Fedora 10.
View 2 Replies
View Related
Aug 15, 2010
I downloaded an ISO of some nes roms and used the archive manager to extract the files. It extracted them but it added a ;1 to the end of the extension. I don't want to go through 3500+ rom files and delete the added ;1 to the nes extension. How can I prevent this in the future?
View 3 Replies
View Related
Sep 15, 2009
Platform information:
Fedora 11
HP a1250n PC w/3Gb RAM and 2Ghz (?) CPU
PHP v5 and Apache 2.2
The situation I've got is that my PHP and Apache installs do not recognize files with the .php5 file extension. I can successfully open .php files in my browser just as I have designed them. However, when I try to open a .php5 file in my browser, it simply outputs the code and not the web page (as it should). I've pasted (what I believe to be) the relevant parts of the output from phpinfo() command below. Any help correcting this is greatly appreciated as I have searched the forums and the Internet fairly exhaustively with various different keywords and still have come up empty. I think if I could figure out how to add ".php5" to the list of "Registered PHP Streams" then I would be all set, but I can't figure that out. I also tried copying /etc/php.ini to /etc/php.d/ and re-naming it php5.ini, but this did not work.
Clem
Configure Command
'./configure' '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--
[code]....
View 3 Replies
View Related