Results 1 to 6 of 6

Thread: Debian: Sublime Text

  1. #1
    Join Date
    Oct 2012
    Beans
    3

    Question Debian: Sublime Text

    Recently, I decided to switch to a Linux distro (Debian 6.0.6) on my laptop. I wanted to get used to using the bash shell since all the websites that are hosted by my employer are on CentOS 5.5, I felt that using a Linux-based OS would be most beneficial (instead of using putty).

    Anyway, I have attempted to setup Sublime Text on my Debian installation. I followed the steps on all the following websites to get the installation working properly:

    http://docs.sublimetext.info/en/late...all.html#linux

    http://mashingwachine.tumblr.com/pos...#disqus_thread

    I get the following error when I run sublime via the Terminal:

    "libgio version is less than 2.26, single instance support disabled"

    I followed the instructions on this following website to manually compile libgio:

    http://www.tipiweb.tk/blog/2012/05/3...tances-worked/

    I know that according to the "mashingwachine" website mentioned earlier, I need to configure the following location "~/bin/st" with the LD_LIBRARY_PATH information. However, when I use vim to edit that location ... I get the following error:

    "bin/st" E212: Can't open file for writing

    What do I do from here to get Sublime to use a single instance to open files?

    All help is much appreciated.

  2. #2
    Join Date
    Dec 2010
    Beans
    Hidden!

    Re: Debian: Sublime Text

    This typically means you don't have permission to edit the file. Have you tried this as root?


    404
    Last edited by sffvba[e0rt; November 4th, 2012 at 01:21 PM.

  3. #3
    Join Date
    Oct 2012
    Beans
    3

    Re: Debian: Sublime Text

    Quote Originally Posted by not found View Post
    This typically means you don't have permission to edit the file. Have you tried this as root?


    404
    I did. When I first installed Debian on my laptop, I added my personal user accout to the sudoers. I used both "sudo" and "su" to perform the task. The problem is that neither "~/bin/st" or "/bin/st" exists in the filesystem. When I try to edit them, I get the error mentioned above.

  4. #4
    Join Date
    Feb 2011
    Location
    Japan
    Beans
    260

    Re: Debian: Sublime Text

    If it is not related to Ubuntu and it is related to debian only, why not posting at Debian forum?
    http://forums.debian.net/

    Quote Originally Posted by skstid2012 View Post
    The problem is that neither "~/bin/st" or "/bin/st" exists in the filesystem.
    Code:
    find / -iname st
    may find out bin/st.
    I wonder if it is not absolute path, but relative path.

    ADDED AT Sun Nov 4 23:42:15 JST 2012:

    I found your post on debian forum:
    http://forums.debian.net/viewtopic.p...ublime#p460045
    Last edited by kiyop; November 4th, 2012 at 03:43 PM.
    OpenBox: Debian Wheezy, Sid, Snowlinux, Aptosid, Siduction, Crunchbang, Ubuntu, Mint, ZorinOS, OS4, Arch, Manjaro, Mageia, Fedora, CentOS, OpenSuSE, PCLinuxOS, Sabayon, Slackware, Win XP/7
    http://kiyoandkei.bbs.fc2.com/

  5. #5
    Join Date
    Oct 2012
    Beans
    3

    Exclamation Re: Debian: Sublime Text

    Based on your response, I'll assume that you didn't read or look into the links I shared initially in my thread. The "~/bin/st" and "/bin/st" locations don't exist in a fresh brand new Debian installation. I ran your command multiple times and I browsed to those locations just to be sure my suspicions about the articles I read were correct. Basically, a shell script needed to be created and placed in the "~/bin/st" location. The "~" represents the home folder for your user account. My username is skstid2012 in my Linux environment. So, I had to manually create the location:

    mkdir /home/skstid2012/bin

    Then, I had to create the shell script using vim

    sudo vim /home/skstid2012/bin/st.sh

    Then, I had to write the shell script as described in the articles I provided. After completing that, I made a symbolic link of the "~/bin/st.sh" to the following locations: "/bin/st" and "/usr/bin/st." However, after completing all those steps and running my new "st" command I found out that my manual compilation of the glib/libgio failed. So, tonight I will have to use git to checkout the glib 2.26.1 and recompile it manually to a specified location. After that is complete, I will go ahead and edit my st.sh file to reflect the proper location to the glib/libgio files. Technically, this should work (although, because I am still new to this ... I expect some issues to arise).

  6. #6
    Join Date
    Feb 2011
    Location
    Japan
    Beans
    260

    Re: Debian: Sublime Text

    I want you to post in debian forum that your problem will be solved.
    http://forums.debian.net/viewtopic.p...460552#p460113
    Anyway, I hope you succeed.
    Last edited by kiyop; November 7th, 2012 at 03:39 PM.
    OpenBox: Debian Wheezy, Sid, Snowlinux, Aptosid, Siduction, Crunchbang, Ubuntu, Mint, ZorinOS, OS4, Arch, Manjaro, Mageia, Fedora, CentOS, OpenSuSE, PCLinuxOS, Sabayon, Slackware, Win XP/7
    http://kiyoandkei.bbs.fc2.com/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •