Change or delete obsolete system file type
location: ubuntuforums.com - date: May 23, 2010
I use Markdown to store all of my source documents. Unfortunately, the .md extension maps to application/x-genesis-rom under Ubuntu. I'm not sure why that would be a system default MIME type, but I'd like to change it.
I've tried using:
to modify my file type cache. Unfortunately, even as the SU, I can't modify the entry for this file type. The "Remove" button is inactivated for the entry. (See attachment.)
How can I get rid of this (obsolete?) file association? Alternatively, how can I make my new one (text/x-markdown) take precedence?
Change permissions on a system file or use sudo?
- date: September 6, 2008
I have a newbie question:
When someone wants to install a program in Ubuntu without 'sudo' then the output seems to be the following:
:~$ apt-get install <package-name>
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Is it safer to run as 'sudo' or to change /var/lib/dpkg/ permissions?
Change time zone through system file
location: ubuntuforums.com - date: October 8, 2014
I can't change time zone. I tried: sudo dpkg-reconfigure tzdata, but it doesn't change
Current default time zone: 'Europe/Moscow'
Local time is now: Ср. окт. 8 05:42:06 MSK 2014.
Universal Time is now: Wed Oct 8 01:42:06 UTC 2014.
Ср. окт. 8 10:45:00 IRKT 2014
The last time I wanted to change the time zone I opened some system file (I don't remember the name) and cut one symbol (#). Now I can't find either the file or the site with an advice to work with it.
Cannot change folder permissions, "Readonly file system"
location: ubuntuforums.com - date: January 6, 2013
OS Version: Maverick 10.10 x64.
Screenshot (includes hard-drive information and such) -
Whenever I try and change the permissions of a folder, it gives me this error. What can I do to fix this?
I tried Googling, and discovered that chmod wasn't working because it 'writes' data in some shape or form.
In addition, I thought I might be able to remount it, but I'm not sure how to do this safety, as I do not have physical access to the machine, and only have terminal access (I have a VNC server set-up, but it's a pain to use for me).
What can I do?
Thanks and best regards,
Get file icon from extension, file type, or mimetype
location: linuxquestions.com - date: April 17, 2008
Is there any way to get a file's icon from its extension? I'm currently making a FTP program in Qt and I want to be able to have the correct file type icons. I'd prefer some way is cross-DE and is capable of working on most linux systems.
Windows or Linux interface and file system
location: ubuntuforums.com - date: April 16, 2011
Not sure where to post this other than the cafe has it is not a Linux question but a question about windows and linux.
My question is why does windows use so many files just to keep the OS going ? And why does windows still use DLL and Exe and the registry when most Unix,Linux and Mac OSx do not.
It is true windows may be more user friendly than Linux do to Linux and Unix use alot of command line and was built more for security where by windows for the average person.
The under line of files of windows is messy and loads self every where. Any Mac user where tell you that you just drag and drop one appliication from one Mac computer to other and works.Where windows you must run the install or unstall program and most 90% of the time need a reboot
Also no idea why windows vista or windows 7 GUI interface started to use KDE Fedora interface the KDE Fedora interface is not easy to use ,it well may be splashing interface the way it looks but windows 95,98 or windows Me interface
The attempt to mount a file system with type ext4 in SCSI1 (0,0,0), partition #1 (sda
location: ubuntuforums.com - date: October 15, 2010
Unable to install Ubuntu 9.10 on a new internal harddrive. The hardrive contains no operating system. This hardrive is the only drive present in the system.
Whenever the installation trys to mount the ext4 partition the following error appears:
The attempt to mount a file system with type ext4 in SCSI1 (0,0,0), partition #1 (sda) at /failed
Iv'e tried over and over to get past this error to no avail.
Can't copy or move to ntfs file system
- date: December 6, 2011
Hello. I have a laptop with two hdds, the first has Windows xp and the second has ubuntu 11.10. I'm not sure when this started happening, but I can now copy things from my windows hdd to my ubuntu hdd, but not the other way. I've tried changing permissions on files, but it doesn't matter. I don't know if this is related, but I tried running "sudo nautilus" and got the following results:
:~$ sudo nautilus
[sudo] password for mike:
** (nautilus:2625): DEBUG: Syncdaemon not running, waiting for it to start in NameOwnerChanged
[Nautilus Terminal] I: Initializing the Nautilus extension
Initializing nautilus-gdu extension
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
How to change an extension and file type of an actual file.
location: ubuntuforums.com - date: March 21, 2013
I could easily do this inside of windows.
eg. I want to send an *.dll file with a different extension to send over yahoo.
When trying via dolphin properties of the file, it only changed the name and not the file type
I used *.doc and it wouldn't work.
How do I use Awk or SED used to change information in a text file?
location: ubuntuforums.com - date: March 10, 2014
I recently downloaded software to export text from a ".PDF" file to a ".txt" file
When viewed the .txt file shows the following
Billing address: 1234 W4 Case: 1011111
New York NYC 10011-1014
I would like to change it to........
Billing address: 1234 W4
New York NYC 10011-1014
Checked a few sited, but was only to found a couple of commands to got close.
# Remove space and/or tab characters at the end of line
sed -i 's/[ \t]*$//' file
/\ from commandlinefu.com
Page: 1 2 3 4 5 6 7 8 9 10