← Back to team overview

desktop-packages team mailing list archive

[Bug 848253] Re: Gedit won't let me edit binary files to look for text

 

Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Gedit is a text editor, therefore it stands to reason that it tries to
"protect" users from accidentally opening a binary file in the editor,
which might result in a less-knowledgeable user damaging it.

In order to get the functionality you need, may I suggest using a full-
blown binary/hex editor such as ghex or bless. These are much better
suited to the task.

Also, if all you need is to look at strings contained in a binary file,
the "strings" command might be of help. You can use it to generate a
text file without extraneous characters and then analyze that using
gedit.

Please let me know if some of the programs I described help in
fulfilling your requirement.

Thanks!

** Changed in: gedit (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/848253

Title:
  Gedit won't let me edit binary files to look for text

Status in “gedit” package in Ubuntu:
  Incomplete

Bug description:
  Gedit won't let me view/edit text files it cant figure out the charset
  of files it cannot work out the charset of.

  All other editors let you open binary files, and see if you recognise
  any strings etc.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: gedit 2.30.4-2ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-11.48-generic-pae 2.6.38.8
  Uname: Linux 2.6.38-11-generic-pae i686
  Architecture: i386
  Date: Mon Sep 12 21:27:48 2011
  ExecutablePath: /usr/bin/gedit
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  ProcEnviron:
   LANGUAGE=en_GB:en
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: gedit
  UpgradeStatus: No upgrade log present (probably fresh install)
  XsessionErrors:
   (nautilus:1315): Gdk-CRITICAL **: IA__gdk_window_get_screen: assertion `GDK_IS_WINDOW (window)' failed
   (nautilus:1315): Gtk-CRITICAL **: IA__gtk_drag_set_icon_pixmap: assertion `!mask || gdk_window_get_screen (mask) == screen' failed
   (nautilus:1315): Gdk-CRITICAL **: IA__gdk_window_get_screen: assertion `GDK_IS_WINDOW (window)' failed
   (nautilus:1315): Gtk-CRITICAL **: IA__gtk_drag_set_icon_pixmap: assertion `!mask || gdk_window_get_screen (mask) == screen' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/848253/+subscriptions


References