Software :: Convert A TextPad Syntax Definition To Gedit?
Jun 25, 2010
There is anyone here that can say if there is an application that could convert a TextPad Syntax Highlighting File(*.syn) to Gedit one(*.xml), or anyone here that is interested to convert this?
Here is the file that I want to be converted: ARM Assembly
View 3 Replies
ADVERTISEMENT
Jun 5, 2010
I've been trying to extend gedit with a syntax highlighting capability for GAMS (http:url....). I googled about it and could only find it for vim and I didn't quite like it.Here's what I've done:
(1) I created a file "gams.lang" and placed it in "/usr/share/gtksourceview-2.0/language-specs/"
(2) I created a file "gams.xml" and placed it in "~/.local/share/mime/packages"
(3) I ran the command "update-mime-database ~/.local/share/mime/"
I observed that a test file names "test.gms" was correctly identified as a GAMS source file when I opened it in gedit; however, no highlighting is done.I believe there must an error in my gams.lang file,The files are given below:
"gams.lang"
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--[code]......
View 5 Replies
View Related
Nov 9, 2010
I've been battling with this weird problem for a while now and since I can't seem to find a decent answer I'm hoping one of you guys can steer me in the right direction. The problem is simple... syntax highlighting is not working consistently on ".rb" files.
My user name on my Ubuntu 10.04 LTS is jean-marc. So if I do
touch /home/jean-marc/testing.rb
and then
gedit /home/jean-marc/testing.rb
The file comes up as "Plain Text"
If I copy the file into /tmp/ and do gedit /tmp/testing.rb
the file comes up as "Ruby"
If I do
gedit /home/jean-marc/afile.rb
and the file does not exists the file comes up as "Ruby"
If I manually set the Syntax Highlight mode on my file gedit seems to remember it. Since most of the files are generated through scripting they all come as "Plain Text" and it's definitely not the best way to edit them. Also, the files, no matter where they are show up as "Ruby script (application/x-ruby)" when showing the attributes through nautilus. Now, before someone tells use, use this software or that software instead of gedit, well I'm happy with the tool and its plugins. I'm efficient with it and I'd rather stick to it.
View 4 Replies
View Related
Feb 8, 2010
I set-up my Sudo it works but when I use Gedit I get the following message
Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers
If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?
View 9 Replies
View Related
Jan 12, 2010
I am trying to make wine work for explorer. I followed some instructions on this link [URL] To follow this link, I am supposed to
cd ~/ies4linux/ie6
cp user.reg ~/user.reg.old
gedit user.reg
1st and 2nd line went well 3rd line when I try to execute the command gedit user.reg (gedit:2573): Gtk-WARNING ** cannot open display I then /ies4linux/ie6# ls dosdevices(in blue) drive_c(in blue) system.reg(in white) userdef.reg(in green) user.reg
View 3 Replies
View Related
Oct 29, 2010
When scrolling down in nano with keyboard (holding "down" key), nano scrolls several lines at once each time. Is there any possibility to configure it so it will scroll one line each time like gedit does when scrolling in gedit?
View 3 Replies
View Related
Mar 7, 2011
When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.
Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.
But still i keep getting the same error. I am not too sure where this file is mentioned.
Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.
View 1 Replies
View Related
Apr 20, 2011
I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:
filter f_local4debug { level(debug) and facility(local4); };
When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.
View 1 Replies
View Related
Mar 25, 2009
I have an Olympus VN 4100PC voice recorder. It does not work with linux. I found odvr, but the instructions on how to use it are rather general. I haven't found an rpm or a yum definition for odvr, so I'm compiling it from source. how to use it though.
View 8 Replies
View Related
Nov 15, 2010
what is a variable file?
View 2 Replies
View Related
Mar 25, 2010
I see the term used all over the place of course, just wondering *exactly* what it's used to describe....? Is it just the next hop on your ISP's internet connection?
View 1 Replies
View Related
May 24, 2011
I would like to automate a definition process. I have 11,581 to define. :|
I would like to read each word, copy the definition(s) and append it next or below the word or save definitions to file.
The word list has one word per line.
Python script?
Bash?
Perl?
Its an interesting project but I cant seem to figure it out. Lack of programming skills.
View 2 Replies
View Related
Nov 3, 2010
I have the following header file in /usr/include/test.h:
Code:
#ifndef TEST_H
#define TEST_H
const int test_version = 1;
#endif
[Code].....
View 3 Replies
View Related
Oct 15, 2010
I have recently graduated from uni and during my time there I have developed an interest in HDL, specifically Verilog. As my current job doesn't lend itself to doing anything in verilog so I decided to keep myself sharp by designing a 32 bit processor that is similar to (but not the same as) the MIPS processor it will certainly be RISC. While starting work on it I have decided to start a blog detailing what I have done including the source file as I am entering my work into the wide world I think it needs a licence but I am not looking to make any money or even to derive any fame from what I'm doing. Like I said the main reason to do it is to keep me active in using HDLs.
I hope to gain from the blog suggestions for alternative(better) ways to do what I am doing, for people to use what I have done as an example of a medium sized project in verilog and to force me to have some form of documentation on my project. That's enough self publication to the question. Is the GPL (either version 2 or 3) applicable to work in HDL as it is not a traditional programming language but shares many of the same features? It certainly does not feel like I should use a CC license. I'm not sure this is the correct forum for this question but it seems most applicable.
View 5 Replies
View Related
May 27, 2011
I am having hard time playing a high definition video file (.mp4), the video initially plays fine, but after 5 mins, it starts to skip and stutter, (I use Movie Player with some codes that Ubuntu installed when I first tried to play file) I have a Dell XPS M1330 Intel Core Duo @2.20 GHz with 4 GB RAM.
View 4 Replies
View Related
Mar 1, 2011
As part of an assignment, our class was given a small set of c++ classes which are compiled using a makefile. As part of the assignment, I have created a namespace and saved in it a .cpp file. The functions, constants and typedefs from the namespace are now used in one of the original files, and so I added an <#include MyFile.cpp> to the file I modified, in addition to a using MyNamespace;
When I try to use the original makefile, the compiler gives a lot of errors about multiple definitions of every function in the namespace. What do I need to do to resolve this? Do I need to change the makefile or one of the files themselves? I am new to Linux programming and makesfiles.
View 2 Replies
View Related
Jul 17, 2011
I'm having trouble getting my microphone to work. Here is my sound card:
:~$ lspci | grep Audio
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
I've installed pulseaudio but I still cannot get any sound through the mic.
View 1 Replies
View Related
Feb 25, 2010
I am like almost everyone, watching videos on ..... and I am having problems with flash. When I put a video on - even if high definition or not I still get a studder from flash. The video plays but it keeps chopping up and you can see on some frames how the next frame moves on the bottom of the screen and the previous frame is still stuck on the top. Flash does not run smoothly at all - that is on every video. I am suppose to be on the latest flash version for linux off of addobe.
View 4 Replies
View Related
Nov 5, 2010
I have run a CD/DVD burner program (cdrecord) on a blank DVD and I got the following message.
Code:
WARNING: Phys disk size 1823462 differs from rzone size 0! Prerecorded disk?
WARNING: Phis start: 196608 Phys end: 2020099
What can the program be referring to with "prerecorded disk"?
View 2 Replies
View Related
Jul 18, 2011
I'm using VSFTPD on my office LAN for one simple task: to receive-and send - installation images created with Ghost4Linux. Until recently, my main LAN server ran on CentOS, but I decided to migrate it to Slackware (nicer release policy ).
What I usually do is create an 'install' user who can login to FTP, but not on the system. Here's an example of what I used to do on my CentOS setup:
Code:
# mkdir -p -m 0700 /home/ftp/install
# groupadd install
# useradd -d /home/ftp/install -g install -s /sbin/nologin install
# chown -R install:install /home/ftp/install
# passwd install
The relevant bits in vsftpd.conf looked like this on the CentOS server:
Code:
...
anonymous_enable=NO
...
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd/user_list
...
Then I only had to create the /etc/vsftpd/user_list file and put a single line in it to allow the newly created user:
Code:
install Now I've tried to get the same behaviour on Slackware, and I succeeded more or less, except for one thing. There's no way my 'install' user can login to FTP when his default shell is set to '/sbin/nologin' (or '/bin/false'). Only when I change the 'install' users' default shell to a "real" shell like '/bin/bash', he's able to login.
Here's a little practical demonstration of what's happening:
Code:
$ lftp localhost
lftp localhost:~> user install
Mot de passe :
[code]...
View 1 Replies
View Related
Apr 20, 2010
I'm on 5.4 with a Shuttle X50 and am having a lot of trouble getting sound working on this box. In Gnome the card is detected properly and nothing is muted, but no sound comes out of the speakers when I do the test. Checked in the bios and the audio is enabled so I'm stumped... heres some info for reference:
[Code]...
View 3 Replies
View Related
Jan 27, 2010
can't seem to get my Linux AntiVirus Live update to download virus defs from my Windows Symantec Update Server?Windows workstations can update and download without a problem?When I run LiveUpdate from the side it errors out with "an error has occurred (code=-2,001)" Also, I'm not sure where the Linux defs are to be placed on my windows side for download from my linux workstations? I've found a couple good articles but everything I've tried hasn't fixed my problem? If I download the virus defs locally to each linux box I can update the virus defs without a problem, not a good option when I have several Linux boxes.
View 1 Replies
View Related
May 4, 2010
if this is log spam or significant stuff, and what I should do about it? I grabbed the latest build of [URL] the new fork of OO (git download) and ran ./autogen.sh
bash-3.1$ ./autogen.sh
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
/usr/share/aclocal/nspr.m4:8: run info '(automake)Extending aclocal'
/usr/share/aclocal/nspr.m4:8: or see http://sources.redhat.com/automake/a...ending-aclocal
configure.in:13: installing `./install-sh'
configure.in:13: installing `./missing'
I then get a string of poor guesses, of which I enclose a few
bin/piece/Makefile.am:1: wildcard inst-*: non-POSIX variable name
bin/piece/Makefile.am:1: (probably a GNU make extension)
bin/piece/Makefile.am:1: wildcard post-inst-*: non-POSIX variable name
bin/piece/Makefile.am:1: (probably a GNU make extension)
desktop/16x16/Makefile.am:1: wildcard ooo-*.png: non-POSIX variable name
desktop/16x16/Makefile.am:1: (probably a GNU make extension)
It leaves little confidence that I am getting a good setup. My distro is slamd64-12.2 (An excellent first attempt) I did check the redhat page, but it may have as well been in Fortran or Perl.
View 2 Replies
View Related
Jan 19, 2010
I am trying to use 'convert' in command prompt to convert image file format.I get the following error.
convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
convert: NoDecodeDelegateForThisImageFormat `airplane.jpg' @ constitute.c/ReadImage/530.
convert: MissingAnImageFilename `airplane.ppm' @ convert.c/ConvertImageCommand/2838.
View 3 Replies
View Related
May 3, 2009
I have Ubuntu 9.04 and just installed Sound Converter. I am trying to convert a bunch of .ogg files to mp3 to play on my iPod and it's not working so well. In the Sound Converter options I have is set to convert to high quality mp3. I choose the folder that the files are in and after a moment (slow laptop) Sound Converter populates, I hit 'convert' and it shows that the conversion completes in two seconds. All that it did was create the new folder structure of artist/album but there is nothing in there. Not sure what I am missing. I used Sound Converter before and it worked fine.
View 2 Replies
View Related
Oct 30, 2010
It always fails when I try the sound card test. It says like the system cant detect the sound card.
Sound Card: 5 series / 3400 series chipset high definition audio
Module: snd-hda-intel
After searching about the issue, I found the information that installing kmod-alsa-PAE-1.0.20-1.el5.elrepo.i686.rpm and kmod-alsa-1.0.20-1.el5.elrepo.i686 would solve the problem.
But even I downloaded and installed them, nothing changed.
== BEGIN uname -rmi ==
2.6.18-194.17.1.el5PAE i686 i386
== END uname -rmi ==
== BEGIN rpm -q centos-release ==
centos-release-5-5.el5.centos
== END rpm -q centos-release ==
== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Media.repo
elrepo.repo
epel.repo
epel-testing.repo
mirrors-rpmforge
rpmforge.repo
rpmfusion-free-updates.repo
rpmfusion-free-updates-testing.repo
rpmfusion-nonfree-updates.repo
rpmfusion-nonfree-updates-testing.repo
== END ls /etc/yum.repos.d ==
== BEGIN lspci ==
~
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
~
== END lspci ==
== BEGIN lspci -n ==
~
00:1b.0 0403: 8086:3b56 (rev 05)
~
== END lspci -n ==
View 13 Replies
View Related
Jul 18, 2010
I'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault
View 5 Replies
View Related
Mar 16, 2010
An easy way to convert wav files into mp3 (or ogg).
$ sudo-apt-get install nautilus-script-audio-convert mpg321 vorbis-tools lame nautilus-script-manager.
after that run
$ nautilus-script-manager enable ConvertAudioFile
Now, when you right click on audio file, under 'scripts', you will see ConvertAudioFile option.
View 3 Replies
View Related
Feb 17, 2010
I was reading this article on how to fix the sound in Ubuntu 9.10 after upgrading from 9.04 [URL] and when I open GNOME ALSA Mixer, nothing shows up (I have included a picture). I typed in:
[Code]...
View 8 Replies
View Related
Dec 24, 2010
I have a lot of .flac files downloaded from several sites. Most of them come with a .cue file, and the .jpg with the cover, etc. It seems it is the intention of the uploader that one rebuilds the original CDDA. However, if I had a stand-alone CD/DVD player with flac I would hardly see the point of converting the flac to cdda. Furthermore, I could even play the flacs with a software player although, in this case, the audio quality would not be so good due to the noise picked up by the signal from the PC digital circuits.
View 2 Replies
View Related