Tag Info

Hot answers tagged

33

I'm not entirely sure if by compiler you want something that will automatically compile your less files on the fly or on the server. Because otherwise you can $ sudo apt-get install node-less yui-compressor (On Ubuntu 12.04, the node-less package is called node-less.) and then, $ lessc example.less > compiled_example.css $ yui-compressor -o ...


22

Bryan here. Developer of Less.app. I highly recommend AGAINST using the older version of LESS (the Ruby-based one). Less.js isn't just a javascript port of LESS, it's a ground-up rewrite that improves a ton of stuff, adds support for things that the old Ruby version doesn't have, and increases compiler speed by about 84%. Rather than install the Ruby gem, ...


12

npm install -g less That installs Less.js globally. Maybe you tried this already but it's not in the documentation on http://lesscss.org/; I had to ask around in #node.js on FreeNode.


7

Most simple way is to install nodejs with its package manager npm. Nodejs is in the repositories, but that one is a bit outdated, instead you could use this ppa: sudo apt-add-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs ( https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager ) Especially if you're ...


7

Are you using it client-side (in the browser)? If so, it's a single JavaScript file, just download it. If you're using it server-side (from a NodeJS application), or want the lessc command-line tool, the recommended way to install is using npm (the Node Package Manager): npm install less If you don't have npm, it's in the Ubuntu 11.10 repositories: sudo ...


7

You can't be sure that you will be able to read every DVD. libdvdcss2 will allow you to play, copy and rip DVDs encrypted with CSS (Content Scramble System). This is by far the most commonly used DRM on DVDs. However there are other methods which are much more nasty. The ones I have come across were where some sectors of the DVD were deliberately corrupted ...


6

For legal reasons, DVD decryption is not provided by a standard Ubuntu installation However, you can install libdvdread4 which has a script that allows to install DVD decryption sudo apt-get install libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.sh OR Add the medibuntu apt repository sudo wget ...


6

First of all, there are a few things that need to be said: Ruby on Debian (and therefore by extension, Ubuntu) has a horrible setup with ruby. As such, the "recommended" solution is to compile and install your own version of ruby - this is made fairly painless with railsready. wget --no-check-certificate ...


5

One way to do this is using the Fluendo DVD Player available (for $24.95) in the Ubuntu Software Centre. This would ensure you can always play all DVDs as it is software supported by a company. NB: Purchasing this also has the side effect of protecting you from any legal issues. NB2: I'm sure someone else with more knowledge than me will be able to give ...


5

In Ubuntu and other distributions, you should prefer the distribution packages instead of manually installing packages. So, first of all, you should remove the recess installed via npm: sudo npm uninstall recess -g Also remove the node-less package installed via apt-get, so that we can start with a clean environment: sudo apt-get remove node-less After ...


4

After a lot of head-hitting-desk moments I managed to solve this one. Originally I had installed lessc using: sudo apt-get install node-less yui-compressor This gave me lessc 1.2.1 from the command lessc -v Had to manually download the Quantal version from a repo http://www.ubuntuupdates.org/pm/node-less (this gave me ...


4

About the best I know of is css-mode: Package: css-mode Description: A Cascading Style Sheets (CSS) editing mode for Emacs This is a simple Emacs mode for editing CSS style sheets. It adds font-locking and some basic auto-indentation support to Emacs. It works with Emacs 19.34, but should also work with both older and newer versions as well as XEmacs. ...


4

Where is the "lessc" executable? Do: type -p lessc and take note of the directory, and figure out where that directory is added to your PATH. I think that bash and incron do not source your setup files (.bashrc, etc) the same way. Reading the Bash man page, the INVOCATION section describes how bash finds its startup files. A quick grep through the incron ...


4

https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/


4

There's a great extension called Stylish that does exactly what you're looking for. It allows you to add custom CSS to the pages you visit.


4

So far, only Webkit browsers support CSS3 3D Transforms. Chrome/ium is probably the most popular option, so if the version you tried wasn't working, you may want to update to the very latest -- something like the Chromium Daily Builds. If even that is too buggy to work with, you might want to try a different Webkit browser for Linux. Midori and Epiphany ...


3

Vim, or Vi IMproved, provides all of the features you've mentioned (and more) at a relatively low performance hit. I highly recommend the program vimtutor to get you started. It always comes with Vim, and you can run it from a terminal. I've used Vim for about a year now, and it's saved me loads of time. There's a wiki, too. After you pick up on the ...


3

Note Read Bryan's answer. He knows what he's talking about. ;-) You can just install less. Install rubygems and less sudo apt-get install rubygems sudo gem install less The official documentation remarks: To make gem work properly you should write gem's path to PATH add to ~/.bashrc: export PATH=/var/lib/gems/1.8/bin:$PATH You can then ...


3

All “programming” text editors (gedit, scite, jEdit, …) support syntax highlighting and features like code folding. More advanced editors that have specific CSS/HTML features (e.g. a colour picker) in the Ubuntu repos: cssed : http://cssed.sourceforge.net/ (GTK application. development seems to have stopped, though) Quanta Plus (package name quanta): ...


3

Check the content of /etc/lightdm/lightdm.conf. To get back to the Xubuntu config, make sure the greeter-session parameter is set to 'lightdm-gtk-greeter', ...like this: greeter-session=lightdm-gtk-greeter To edit the file, run gksu leafpad /etc/lightdm/lightdm.conf.


3

On Ubuntu 12.04, the LessCSS version in the repository is 1.2.2. To get LessCSS 1.3.3, you could use Node Package Manager : sudo apt-get install npm and then npm install less After that you'll have to change your PATH or use full path to the less compiler: ~/node_modules/less/bin/lessc


3

To put it bluntly, you're doing it wrong. You need to copy the GTK theme into /home/yourname/.themes/ Then you should be able to edit it, rename it and then select it in the appearance settings. Related question.


3

If lessc 1.3.0 is too old for you, the alternative is to use npm, the package manager for node.js modules. This leads to the second issue: the node.js packaged in Ubuntu only provides a "nodejs" binary, not "node". The "proper" way to fix this is to use Chris Lea's PPA to avoid using Ubuntu node packages entirely. If at some point your node.js is too old for ...


3

If I understand it correctly, you want to style the form elements on a web page using CSS, not the alert box itself, right? By default form controls in the touch browser have the default QtWebKit look’n’feel, not the Ubuntu SDK’s one. Form controls can be fully styled using CSS (there are some limitations, this article is a good read on the topic). The ...


2

Simply put, the -w argument doesn't exist. $ lessc --help usage: lessc [option option=parameter ...] <source> [destination] If source is set to `-' (dash or hyphen-minus), input is read from stdin. options: -h, --help Print help (this message) and exit. --include-path=PATHS Set include paths. Separated by `:'. Use `;' on Windows. ...


2

html5 and css requires web rendering engine in the background . So you have to use one of the web rendering engine . Webkit is the most commonly used web rendering engine because of its perfomence and portability , You can also try Gecko from firefox but it is very hard to implement when compared to webkit


2

I also had faced the same problem but I got a solution. The solution is: <link href="./css/stylesheet.css" rel="stylesheet" type="text/css" /> Note that the "." before "/css" is indicating the current working directory on Ubuntu. I hope this will help you.


2

Menus with rounded corners are not possible yet with gtk+


2

An em is the width of the character M. Well, that's the etymological reason, anyway. It is a measurement of size in relation to your font size. Gnome Shell uses CSS, which is the same language that most all webpages use. This means there are buckets of places to find information about how it's used. This link has examples, for example (: ...



Only top voted, non community-wiki answers of a minimum length are eligible