Ubuntu :: Customize AUCTeX View Command In Emacs?

May 20, 2010

I've been using Emacs with the AUCTeX package to edit and compile my .tex documents lately, but there's something that's been bugging me. First, here is the short question:How can I costumize the default view command emacs runs when I type C^c C^c <enter>?I've read that it's done with the tex-view-dvi-command variable, but I've had no luck getting it to work at all.Now the explanation:It bugs me that whenever I type C^c C^c to compile, and then C^c C^c to view dvi, emacs doesn't automatically give focus to the dvi viewer (xdvi). Digging a little, I found out that the command "wmctrl -a main" gives focus to xdvi ("main" is the title of the xdvi window). So, if I can only customize AUCTeX's standard view command to include "&& wmctrl -a main" at the end, than my problem would be solved

View 2 Replies


ADVERTISEMENT

Ubuntu :: Patch Emacs Auctex Preview-latex (invalidfileaccess)

May 28, 2011

I'd like to use emacs auctex and its preview-latex feature. However I get an error

Code:
gs -dOutputFile=(_region_.prv/tmp3086MfS/pr1-3.png) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sDEVICE=png16m -r94.1897x94.1727
GS>{DELAYSAFER{.setsafe}if}stopped pop/.preview-BP currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if def<</BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1 get 1 ne
code....

View 1 Replies View Related

Ubuntu :: Emacs -- Run Shell Command W/o Output?

Jul 12, 2011

I write LaTeX in Emacs and then run a shell script to process the LaTeX code. I used to run a subshell buffer with M-x shell and then execute the script from within there, but this results in a lot of switching between buffers, which seems unnecessary. Then, I found out about executing shell commands with M-! cmd RET, as described here:[URL]The problem with this is that the output from the script splits my screen. It's a nuisance, and I would like to run the script without any output. I've tried appending > /dev/null to the command, but it doesn't work.For example, when from within Emacs I enter M-! followed by

Code:
sh make.sh > /dev/null
it splits my screen so that one portion displays output from the make.sh script. I want it to run silently, and leave my Emacs buffers alone

View 3 Replies View Related

General :: Executing A Shell Command In Emacs?

Dec 17, 2010

I tried to execute a shell command by M-! cmd RET but it did not work.M-! does not turn up in the microbuffer no matter how many times I press Alt+!.But if I go to Tools menu and select Shell Command... option then it writes M-! to the microbuffer and everything works fine.What is the problem here?

View 2 Replies View Related

General :: Bash: Emacs: Command Not Found?

Oct 18, 2010

i am using scientific linux, fedora 12accidentaly i changed LD_LIBRARY_PATH of the root profile to a different location. so terminal cannot understand any command as i type. is there any other ways to access .bashrc file exept using editors emacs, vi, nedit. my own profile works fine but i dont have permission to access the root folder. only commands the terminal responds to are pwd, cd, echo. i dont have any clue how to restore the library because it locates here:

[root@localhost ~]# echo $PATH
/usr/local/src/root/bin:
[root@localhost ~]# nedit .bashrc

[code]....

View 4 Replies View Related

Ubuntu :: Code In Emacs File To Start Emacs Maximized?

May 17, 2010

I was using the following code in my .emacs file to start emacs maximized:

Quote:
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32

[Code]...

View 2 Replies View Related

Ubuntu :: Continuous View Of Ls Command Output?

Feb 14, 2010

My server is currently copying a large amount of date. I periodically check how much has already been copied by using the "ls" command in the destination folder. Is there a way so that ls kind of self updates itself? Like in a log or so? Or like when using cp -v?

View 9 Replies View Related

Ubuntu :: Cut Command Netcat - View The Foreign Ip Addresses?

Dec 28, 2010

So I opened a terminal and fired up netcat.I only wanted to view the Foreign Ip Addresses so I used

Code:
netstat --tcp --numeric | cut -c 45-65
and that gave me[code]...

There are two things that I am trying to accomplish here. The first is that I would like to "cut" the first three horizontal lines so that the output is only ip addresses.I tried tail but the number of different IPs changes so it still gives me those top lines. I tried head but that doesn't seem to give me any output at all.The second thing I would like to do is to filter out duplicate values. For example the output above has 2 duplicate entries of 66.102.7.101:80

View 5 Replies View Related

General :: Command To View HBA Information?

Feb 4, 2011

What is the command to view HBA information?

View 2 Replies View Related

General :: Ls Command To View Page One By One

Dec 22, 2010

I want to see files and directories which are in /etc directoty. When i write # ls command it scroll all files at a once and i can't see the files whic starts from a or b .Is there any combination in ls command by which i can view files as per page by pressing spacebar of enter key to see next files.

View 4 Replies View Related

Ubuntu :: Command To View Disc Space Consumption By Dirs?

Jan 28, 2010

I am searching a GUI based "tree view utility" which shows me which directories consume how much hard disc space (cumulative, including recursively the sub directories; including hidden files). Is there such a tool fur Ubuntu/Linux and how do I install it? Is there at least a cmdline command which does the same job in terminal window?

View 1 Replies View Related

General :: View Cookies From Command Prompt?

Mar 11, 2011

I was curious if I would be able to view cookies from a command prompt when ssh'd into a machine. On a test machine running fedora 13, I found that the cookies were stored in a cookies.sqlite. I made sure that all instances of Firefox was closed and attempted to view the file running the following command

sqlite3 cookies.sqlite

It loaded but I was unable to run view any of the information because the database was locked? There were no instances of Firefox running and I check to make sure there were no services of Firefox running as well. Am I doing something wrong? Is this not the correct way to view cookies from the command line ? I have tried google searches and has since been unable to come up with anything.

View 4 Replies View Related

Ubuntu :: Open A Terminal And Start The 'top' Command To View The Running Processes

Oct 18, 2010

When I open a terminal and start the 'top' command to view the running processes, in the summary view I get 4 users. I guess that in addition to my account the root runs in the background but who are the other 2??

View 1 Replies View Related

Fedora :: View A User's Group In The Command Line ?

Mar 23, 2011

I am learning about group and user management with Fedora and can change the user's group using the usermod command but did not know if there was a command to see the group currently associated with the user.

View 3 Replies View Related

General :: Command Line - How To View More Of My History In Screen

Jun 28, 2011

I was running scripts overnight from the command line (inside Screen on a Linux EC2 instance) and some errors that I was not tracking occurred. I want to "scroll up" or view more of the history in Screen, but I cannot seem to find any commands that will work. I need to see the onscreen output "further up" than I can on my current screen. CTRL + a is supposed to put me into scroll mode inside Screen, but it's not working.

View 4 Replies View Related

General :: Administration - View Command History Of Another User

Jul 11, 2011

Can anybody show me how to view command history of another user? I am an admin on my machine. I can see normal history by viewing /home/user_name/.bash_history but i can't see commands of that "user_name" when they were doing sudo. Is there a way to view all command executed by one user?

View 3 Replies View Related

General :: Administrator - Command Used To View Processes Running

Nov 9, 2010

The command used to view processes running on the Linux machine is?

View 8 Replies View Related

SUSE / Novell :: Vncviewer Command Line For View Size?

Aug 8, 2010

I use vncviewer command line to remote access my pc from my notebook.
Is there any option to resize the view like windows client can by percentage?
my notebook screen size is 1280x800, while I use bigger resolution for my pc 1280x1024 if not mistaken.
already look here: http://linux.die.net/man/1/vncviewer but I don't see any option to do that.

View 9 Replies View Related

Software :: Failed To Install Oracle - Command To View Current DISPLAY Environment Variable Setting

Jun 28, 2010

How to install oracle? I have been tried many times but seems can't resolve the DISPLAY issues.

All installer requirements met.

Use the following command to view the current DISPLAY environment variable setting:

View 2 Replies View Related

Software :: Html And Php Editor That Supports Both The Design View And Code View As Like In Dreamviewer?

May 30, 2011

I have been working in macromedia dreamviewer for editing html and php files, Just now I moved to linux system by installing xampp , my question is that I need a best html and php editor that supports both the design view and code view as like in dreamviewer.

View 7 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: View CD Shortcut Link / List Link Name By Using Any Command?

Jun 8, 2010

Whenever we insert CD,it creates a shortcut link in desktop.Can we list this link name by using any command? I am using Oracle Enterprise Linux 5.0.

View 10 Replies View Related

Ubuntu :: Customize Panel In NBR?

Mar 3, 2010

How do I customize the panel in NBR 10.04?

Right click brings up the menu allright...

but all the essential options are grayed out. Same goes for moving, unlocking and removing existing applets and so on.

I tried all the standard config, looked in gconf, searched in ~/.gnome, found nothing. I can change the session to Gnome and customize Gnome panel just fine, but if I switch back to NBR (Maximus), the panel returns to default and the entries are disabled again with a truly microsoftish persistence...

View 9 Replies View Related

Ubuntu :: How To Customize Wmii

Aug 14, 2010

Does anyone know of a beginners guide to wmii? I saw this picture, and thought it looked pretty cool. I was wondering if someone knew how to make the currently playing last fm song to show up on the bar like it does in that picture. Also, does anyone know of a way to display the amount of charge left in my laptop battery?

View 1 Replies View Related

Ubuntu :: AWN Customize Icon Bug?

Sep 22, 2010

I have Ubuntu 10.04 with AWN 0.4 I have two applications that I have given custom icons because they have no default icon. I have both icons' .png files stored in an icons directory in my home folder. At first everything seemed to work fine, but then I noticed one day that one of the apps icons had changed to the same icon as the other app... So I tried switching it back, but when I changed the icon of one app, the other one changed also! Now I can't seem to assign more than one custom icon to multiple AWN launchers. What is the deal?

View 4 Replies View Related

Ubuntu :: How To Customize The Appearence

Oct 5, 2010

is there any way we can customize like we can customize in xp (desktop properties > appearance > advanced)i want to customize things like title bar height etc.

View 7 Replies View Related

Ubuntu :: Way To Customize My Desktop

Feb 24, 2011

I'm trying to customize my desktop now and it says that i don't have permission to add or change the files

i went in to properties and it say root owns it!?

how do ya get to change it?
the screen shot Ive got attached!

View 3 Replies View Related

Ubuntu :: How To Customize Unity Bar

Apr 1, 2011

I upgraded from 10.10 to natty(11.04 alpha-beta). I am using russian translation and will change menu name.

Unity is usefull for me.

But my childrens and my wife have a questons:

1. Childrens so cartoons or films Click on MainMenu->Bookmarks->Cartoons( this is bookmark for folder with avi files). Chose file and see film.

On Unity bar all folders avialble only by Home or Find Files.

Can I add link to folder on unity bar? Or Desktop?

2. How use two or more profiles in firefox?

on desctop edition I use to shortcut
firefox -p profile1
firefor -p profile2

now from unity firefox start with default profile

View 4 Replies View Related

Ubuntu :: Cannot Customize Desktop?

Apr 25, 2011

I think this is the most commonly asked question.I'm unable to customize my desktop. It gives me error saying "cannot customize desktop".As far as I know i was able to customize when i was using ubuntu 9.04.Right now its Ubuntu 10.10 and its a clean install.I have Intel Corporation Mobile 945GME Express Integrated Graphics Controller. What do I need to do so that I can customize my desktop using visual effects.

View 4 Replies View Related

Ubuntu :: Customize The Installation For Distribution?

Jan 17, 2010

How to customize the Ubuntu Installation for your Distribution - TUTORIAL I have looked a lot in almost every page in Ubuntu, Google and some other Linux Distributions Forums, Help Guides and Tutorials, and have never been able to customize, or even find a valuable source on customzing the Ubuntu Installation, also known as Ubiquity. Now if you are planning on creating a LiveCD or Ubuntu-based Distribution using Remastersys or some program like that, then you will love this tutorial, as do I. First of all, make sure you have Ubiquity installed.Quickly goto Synaptic now, and check. Once you have that, go inside a terminal and type sudo nautilus.Then goto /usr/share/ubiquity. You will see some system files which I will now mention again in this tutorial for the sake of my tiredness.

Here you will see the images that are presented when you select your region in the installation process. You may customize it, but I hardly recemmond it as the areas I tell you to customize are far more rewarding. Now, just go inside the "ubuntu" folder and see the "logo.png". Customize it to have your own Logo and Distribution Name. After you finish that come out of it, all the way back to /usr/share. Now we go inside the big area, where we customize a LOT. Go inside "Ubiquity-Slideshow" folder. In this folder you will see the images and text that pop up during the installation of Ubuntu. Do you remember?

Now just go into Slides/icons and here you will see the beautiful icons of all the slides. You may notice the extroadinary graphics and input the Ubuntu team has put into most of these, and so I have decided not to customize this, but you can surely go ahead. However, for legal sake, I had to customize the logo which I have changed it to be mine (that is I deleted the Ubuntu logo and replaced it with a High-Quality version of my logo). Once you feel you have done enough, please go out of that folder and scroll straight down to customize the writing on the slides in the installation.

Here you will see 13 .html files. HTML is simple, you do not have to know anything in HTML to customize these files, however you must understand to not go out of the boundaries. Stay in the templates, because saying too much will look un-Professional and dodgy when it comes to size issues. I prefer Cutting huge paragraphs of writing in between the "" and starting to type about the subject in My Distributions way. Making sure that I do not exceed the previous 3-4 sentence that Ubuntu already had. Ok, to customize these .html files I will quickly show you one of them and customize it before I fall asleep on my keyboard. Right-click "accessibility.html". Click OPEN WITH and select GEDIT.

You will see something like this, however where it says Gosalia, that is my operating system, it used to say Ubuntu. CAUTION - Do not copy my work, there will be severe consequences, considering I took 5 minutes to write it and the rough work your Operating System installation will look...

Quote:

<h1 class="title">Accessibility in Gosalia</h1>
<div class="main">
<div class="content"><ul>

[code]....

Enjoy, do this to all of them remembering to only write in between the <li> and the </li> Remember one thing, where it says "UBUNTU" you can change it, unless it is a file name, then DON'T CHANGE IT! Oh yes, and now when you create your ISO with Remastersys (or equivalent) then you will have your customized Installation ready in the LIVECD process, check it out! It worked for me, and it is spectacular. Making a Video about this now...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved