You are not logged in.
I could use some help installing Sublime Text from here:
I have downloaded the stable version and run the included python script. But I don't see it in my OpenBox menu after refreshing. What I would like is to have on my menu (which I can add by hand) and have it open .txt files automagically (i.e. file type association).
Thanks in advance.
Last edited by Temetka (2015-10-31 15:50:26)
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
Does it start if you try to invoke in a terminal?
Does it show up in dmenu?
/Martin
"Problems worthy of attack
prove their worth by hitting back."
Piet Hein
Offline
can you start it manually by typing 'subl' in terminal (iirc)?
then it's just a missing .desktop file.
once you have that in one of the standard locations (/usr/share/appliocations, ~/.locals/share/application) it will also show up in thunar's "Open with..." dialog.
Offline
I just downloaded & extracted the tarball & put it all in /usr/local/bin and sublime_text shows up in dmenu
That's probably not what you're supposed to do but it works
Then open up galternatives from the main openbox menu → System → Edit Debian Alternatives
Select "bl-text-editor" from the list in the left-hand pane ("Alternatives") then click on "Add" and use "Browse" to find the sublime_text binary and set the priority to "50" (or so, ie, higher than geany).
For more on this go to Main Menu → System → About Bunsen Alternatives
Offline
I copied both the extracted folder and the tarball to /usr/local/bin
I pointed it to the tarball. I pointed it to the executable. Nothing happens. It just takes me back to the first window with geany set as a priority of 40.
I know the editor is running with root priveleges because it asks for and accepts my password. Do I need to modify the permissions of the files inside /usr/local/bin?
Also someone asked if the program runs. Yes, if I extract it to my downloads folder then run it by double clicking, it opens just fine.
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
Also pressing Alt+F2 and typing in sublime_text does nothing.
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
you will have to describe your situation better, preferably with palpable terminal output.
i guess HoaS's way works, too, but seems a little dirty to me, esp. when it comes to installing addons later on.
searching "install sublime text debian" unfortunately brings one very quickly to ubuntuland...
i compiled the three best-looking search results for you:
http://www.sublimetext.com/forum/search … mit=Search
https://gist.github.com/vshvedov/1370650
http://forums.debian.net/viewtopic.php?t=87681 (that last one basically points to a ubuntu forums thread containing a working solution afaiu).
from my viewpoint, you probably should make a debian package from a ubuntu package, a process HoaS has been advertising.
SublimeText is a really good text editor, but I never felt like paying for it, so evtl. stopped using it.
Offline
I normally follow the information here for sublime install.
http://docs.sublimetext.info/en/latest/ … tributions
I normally install the beta version 3 to /opt and then create a symlink to /usr/bin;
http://docs.sublimetext.info/en/latest/ … tributions
I guess this approach should work for the stable version 2...
Offline
I normally follow the information here for sublime install.
http://docs.sublimetext.info/en/latest/ … tributions
that makes the most sense to me so far.
Offline
I found a solution:
http://www.technoreply.com/how-to-insta … -04-unity/
I followed everything. However I changed the last part of Step 4 and removed this:
[NewWindow Shortcut Group]
Name=New Window
Exec=sublime -n
TargetEnvironment=Unity
I saved the file and it works.
After that I modified my Tint2 config to add sublime.desktop as a launcher item and restarted Tint2. This worked fine.
Finally, I right clicked on a random .txt file I had laying around and had the system open all .txt files using sublime text.
The only issue left is I have four icons on my tray: IceWeasel, Sublime, terminall, pithos. I seem to have lost the file manager icon. Here is my Tint2 config.
#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------
# For more information about tint2, see:
# http://code.google.com/p/tint2/wiki/Welcome
#
# For more config file examples, see:
# http://bunsenlabs.org/topic/3232/my-tint2-config/
# Background definitions
# ID 1
rounded = 0
border_width = 0
background_color = #000000 40
border_color = #828282 0
# ID 2 - task active
rounded = 1
border_width = 0
background_color = #d8d8d8 30
border_color = #d8d8d8 30
# ID 3 - task
rounded = 1
border_width = 0
background_color = #000000 0
border_color = #000000 0
# ID 4
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #ED2323 60
# ID 5 - taskbar
rounded = 0
border_width = 1
background_color = #000000 0
border_color = #000000 0
# ID 6 - active taskbar
rounded = 0
border_width = 1
background_color = #d8d8d8 8
border_color = #d8d8d8 0
# ID 7 - tooltip
rounded = 3
border_width = 0
background_color = #222222 90
border_color = #222222 90
# ID 8
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #888888 20
# Panel
panel_monitor = all
panel_position = bottom center horizontal
panel_items = LTSC
panel_size = 100% 30
panel_margin = 0 -1
panel_padding = 0 0
panel_dock = 0
wm_menu = 1
panel_layer = bottom
panel_background_id = 1
# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 1.5
autohide_height = 6
strut_policy = follow_size
# Taskbar
taskbar_mode = multi_desktop
taskbar_padding = 6 0 6
taskbar_background_id = 5
taskbar_active_background_id = 6
taskbar_name = 0
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font = Liberation Sans 9
taskbar_name_font_color = #828282 100
taskbar_name_active_font_color = #828282 100
# Tasks
urgent_nb_of_blink = 20
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 40 40
task_padding = 2 2
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 4
task_iconified_background_id = 3
# Task Icons
task_icon_asb = 80 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 80 0 0
# Fonts
task_font = Liberation Sans 06_55 6
task_font_color = #828282 60
task_active_font_color = #828282 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #d8d8d8 60
font_shadow = 0
# Launcher
launcher_padding = 8 4 4
launcher_background_id = 0
launcher_icon_size = 24
# Specify icon theme names with launcher_icon_theme.
# if you have an XSETTINGS manager running (like xfsettingsd), tint2 will follow your current theme.
launcher_icon_theme = Faenza-Dark-Bunsen
# Each launcher_item_app must be a full path to a .desktop file
# this will have to be made:
launcher_item_app = /usr/share/applications/bl-www-browser.desktop
launcher_item_app = /usr/share/applications/bl-file-manager.desktop
launcher_item_app = /usr/share/applications/bl-terminal-emulator.desktop
launcher_item_app = /usr/share/applications/pithos.desktop
launcher_item_app = /usr/share/applications/sublime.desktop
# System Tray
systray = 1
systray_padding = 4 2 3
systray_sort = right2left
systray_background_id = 0
systray_icon_size = 24
systray_icon_asb = 100 0 0
# Clock
time1_format = %I:%M%p
time1_font = Liberation Sans 11
#time2_format = %A %d %B
#time2_font = Liberation Sans 6
clock_font_color = #b5b5b5 100
clock_padding = 12 4
clock_background_id = 0
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal
# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 7
tooltip_font_color = #d8d8d8 100
tooltip_font = Liberation Sans normal 9.0
# Mouse
mouse_middle = none
mouse_right = toggle
mouse_scroll_up = toggle
mouse_scroll_down = iconify
# Battery
battery = 1
battery_low_status = 20
battery_low_cmd = notify-send "battery low"
battery_hide = 96
bat1_font = Liberation Mono 8
bat2_font = Liberation Mono 8
battery_font_color = #b5b5b5 100
battery_padding = 2 0
battery_background_id = 0
# End of config
In the comments of this site:
http://askubuntu.com/questions/172698/h … e-text-2-3
People mention installing to the home folder vs installing into /opt as the article in the top of this post I linked to had me do. So I guess my solution isn't as clean. But it works minus my Tint2 issue.
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
It would be nice if the developer could just make a .deb file for installing this. Oh well.
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
I found a solution:
http://www.technoreply.com/how-to-insta … -04-unity/
that is basically the same that mrneilypops posted, plus some stuff that's most probably ubuntu-specific (no /usr/share/applications/defaults.list on bunsenlabs).
good you got it [Solved] (<= take the hint?).
Offline
It would be nice if the developer could just make a .deb file for installing this. Oh well.
i think they're more interested in ios and windows development, and linux just sort of happens to work because it works on ios.
anyhow, it's their own fault if they're missing out on potential customers.
Offline
I would love to mark it solved. Once I get the Tint2 issue taken care of....
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
what's tint2 got to do with sublime text?
did you do what i suggested in post #3?
Offline
It has nothing to do with it. I was trying to no clutter things up. But I'll create a new thread.
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
It would be nice if the developer could just make a .deb file for installing this. Oh well.
You could try to backport it using the WebUpd8 PPA, they have both version 2 and the beta installer available...
https://launchpad.net/~webupd8team
Instructions for creating the backport...
https://forums.bunsenlabs.org/viewtopic.php?id=58
If there is a demand for this editor, I'd be glad to try backporting it myself.
I don't care what you do at home. Would you care to explain?
Offline
This thread:
https://forums.bunsenlabs.org/viewtopic … 5661#p5661
and the current thread are related to the same issue.
I am posting the above link for documentation purposes.
tl:dr
Got the program installed after a LOT of help and built a .deb file.
In the spirit of communal sharing, here it is:
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
It is a really nice text editor, I must admit.
Still prefer vim though...
]:D
@hhh -- isn't it a licensed product?
From the website:
Sublime Text 2 may be downloaded and evaluated for free, however a license must be purchased for continued use.
Offline
just a small point re: sublime
you will get a subscribe reminder for sublime 'from time to time' but the app will continue just fine
Offline