Split view for gedit [linux]

To enable split view functionality for gedit, you’ll need to install a plugin available for download here.
Place the extracted content in gedit’s plugins directory (create it if it hasn’t been already):

~/.gnome2/gedit/plugins

Open Preferences from the Edit menu. Then, select the plugins tab and enable the entry entitled “Split View 2″.

script obtained from http://www.psyguygames.com/SplitView2.01.tar.gz via http://live.gnome.org/Gedit/Plugins

Important Notes:

  • The compressed file has a wrong file extension and might cause problems if the extracting program used depends on filenames to determine compression type. Rename the file without extesnsions to avoid problems: SplitView2.01.tar.gz → SplitView2.01
  • You can’t split your workspace unless the document in focus has been saved.

لتقسم منطقة الكتابة في gedit إلى قسمين، تحتاج إلى الملف الموجود هنا. نزل الملف ثم فك الضغط، وانقل المحتوى الى:

~/.gnome2/gedit/plugins

إنشئ الدليل “plugins” ان لم يكن موجود، ثم إفتح نافذة الأعدادات (Preferences) من قائمة التحرير (Edit) ثم فَعِّل Split View 2 الموجود في قائمة “Plugins”.

جُلِبة مخطوطات بايثون من الموفع http://www.psyguygames.com/SplitView2.01.tar.gz على http://live.gnome.org/Gedit/Plugins

ملاحظات:

  • يوجد خطأ في تسمية الملف المضغوط. للتعامل مع المشكلة، أعد تسمية الملف من SplitView2.01.tar.gz إلى SplitView2.01 (دون tar.gz) لتفادي أي مشاكل مع البرامج التي تعتمد في تحديد نوع الملف على الإسم.
  • لن تقسم المنطقة مالم يتم حفظ المستند اولا.
About these ads
Post a comment or leave a trackback: Trackback URL.

Comments

  • Anxious Nut  On May 15, 2010 at 9:40 am

    Every time i download it and try to extract it i get this error
    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Exiting with failure status due to previous errors

    can you please paste the content on http://paste.ubuntu.com/ and provide me the link?

    • sigtermer  On May 15, 2010 at 4:24 pm

      It has the wrong file extension. Rename it without any extensions and file-roller (a.k.a. “extract here”) should be able to determine it from the file’s content-type. I think it’s a normal tar (without compression).

  • hex  On June 1, 2010 at 3:35 pm

    Hey…I can’t get this to install in Windows.. I am using gedit under windows…does it need a special version or something? Thank you.

    • sigtermer  On June 1, 2010 at 4:35 pm

      Sorry, but this post targets gedit for linux specifically. The windows version stores its python plugins in ‘c:\Program Files\gedit\lib\gedit-2\plugins (not sure though).

  • Mark  On February 15, 2011 at 3:04 am

    Yes, use tar -xf and it unzip’s fine…
    Works as advertized, i.e. splits the screen.
    Many thanks.

  • Atif  On June 8, 2011 at 2:27 am

    awesome plugin!

  • elwoode  On June 21, 2011 at 12:44 pm

    LIked your statement on Islam, I agree with it but sometimes wonder where all the reasonable muslims were when they radical Imams were preaching their hate outside and inside mosques in the UK. Were they afriad?

  • milosz  On July 23, 2011 at 6:53 pm

    put it in the given directory and nothing new showed up in the gedit’s plugin list. i’m using ubuntu and really missing this feature.

    • sigtermer  On July 23, 2011 at 8:59 pm

      Which version are you using? Version 2.30.3 here and it’s working just fine.
      It appears near the bottom of the list under the name “Split View 2″.

      What version of python do you have installed?

  • milosz  On July 25, 2011 at 3:26 pm

    I have the same version of gedit and python 2.6.6. It works fine, I made a mistake putting folder into the direction instead of sources. Thanks for quick reply and concern though.

    • sigtermer  On July 25, 2011 at 4:54 pm

      any time :)

  • nencio  On July 31, 2011 at 4:58 pm

    Hey, thanks a lot for the plugin, it works pretty well!!!

    One thing that took me a while to figure out was that I had to place the two files (SplitView.py and SpltView.gedit-plugin) directly inside the ~/.gnome2/gedit/plugin, and not the SplitView folder with the fies in it.

    I think this could be explicitly stated in the instructions, to avoid others making the same mistake.

    Good job again!!!

    • sigtermer  On August 6, 2011 at 2:29 pm

      Updated the post to address this issue. Thanks for the feedback :)

  • Mike  On January 27, 2012 at 8:54 am

    It’s crashing for me with version 2.30.4. To reproduce:

    Open gedit and open a document.
    View->Toggle Split View
    // Now you’ve got two views open on the original document
    Click in right pane, then hit “View other file”
    Select another file from the dialog
    // Not you’ve got a different document open in each view
    Click in the left pane
    Gedit crashes and dumps error to the console: “sys:1: GtkWarning: IA__gtk_widget_get_accessible: assertion `GTK_IS_WIDGET (widget)’ failed”

  • seininn  On January 27, 2012 at 11:58 am

    Hello mike. I didn’t write the plugin myself (which is why I’m not hosting the plugin on this site). Try contacting the guys running http://www.psyguygames.com , they might be able to get you in touch with the developer.

    On a different note, it seems that the plugin is no longer compatible with newer versions of gedit (3.2). I also tried searching for the plugin on the plugins page and it no longer is featured there. It’s also not featured on (http://www.psyguygames.com/index.php?page=plugins). Can someone else confirm this so that I can update this post?

  • ilham  On August 19, 2013 at 11:05 pm

    Thanks a lot!
    The plugin is very helpful. :D

    I’m a muslim too.
    Salam :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: