Debian :: Creating Terminal With Exact X And Y Coordinates

Feb 26, 2010

I remember, long ago when I used Linux, that I was able to launch a terminal, or any other program at that and have the ability to pass exactly where on my desktop I want it to appear. I would do this by placing some arguments in the applications launcher like
--title=TITLE
Does anyone know how to do this, I'd like to be able to launch a few different terminals, with different profiles and have them default to certain locations on my desktop/work area.

View 4 Replies


ADVERTISEMENT

Ubuntu Installation :: Creating An Exact Image Of A Hard Disk?

Sep 8, 2010

this is in the wrong section, but I wasn't sure where to put it. Since the background to my problem is kind of long winded I've split this post into two sections: Short version of problem

I have a PC that has two internal drives: one drive (drive A) is empty, and the other (drive B) has a copy of windows vista installed. At the moment the PC boots from drive A. I'd like to transfer everything from drive A to drive B, so that this new disk will boot and behave nicely and windows will still function.

Is there any easy way to do this in ubuntu? I'm guessing I can use something like dd, but will this copy the boot sector and will I have to mess around with the partition table? Long version of the problem

Today I built a new PC for my dad with two internal drives. He was previously using vista on a laptop which died a few days ago, and I'd like to install vista on one disk of the new PC, and ubuntu on the other disk.

He has a licensed copy of Vista for his laptop, but it came as a "system restore" disk, and so I can't install vista directly onto the new PC. I have an identical laptop to his, so I took out the drive from his laptop, put it in my laptop, and did a "system restore" from the disk that came with the laptop. I then took out the drive from my laptop, and put this inside the new PC. It boots up fine, and I installed all the necessary drivers and etc to make windows work.

Now instead of using a slow/small laptop drive inside the new PC, I'd like to be able to clone the data on laptop disk and this onto one of the bigger/faster internal drives of the new PC. How can I do this from ubuntu, so that the new drive will boot windows?

I'm fairly certain it can be done using dd, but how do I make sure the information in the boot sector (or partition table) is correct for the new drive? I'm asking this because when I put my laptop drive into the new PC initially, I had connected it as an external drive, and when I tried booting from this there was an error, something like "Invalid partition table" (I think). I figured that when I did a "system restore" on my laptop, the drive was the only drive available, so this would be HDA, or SDA in the boot record of that disk. But when I added it to a system where other drives were available, it was no longer at that same location, so the boot loader couldn't find the data it was looking for to load the system.

View 2 Replies View Related

Debian :: Creating Terminal Launched Applications (Shortcuts)

Jun 16, 2011

Just got a problem that I've spent a few days trying to get around. Basically, what I am trying to do is create launchers/shortcuts on my desktop that will
a) Launch a terminal with root or sudo access
b) Launch an application.
For example, an application I might ordinarily use as a super user or root user is 'hping3.'

Basically, I want to be able to click on the launcher, and have it open up a terminal with sudo access and launch the hping3 application. I've tried messing around with the 'create launcher' function, and entering in a command to be launched in a terminal window, but to no avail (e.g. something like "sudo hping3" or "su && hping3"). How to write up a simple script to launch a terminal with su access and launch a given application?

View 2 Replies View Related

Ubuntu :: Search For An Exact String In A Terminal?

Oct 22, 2010

Is there hopefully a way to search for an exact string in Man Pages? I know if I want to search for anything containing -c I can just do this.

Code:
/-c

How would I search for "-c"? I want only "-c" to show up. So I tried this.

Code:
/"-c"

It took me literally and looked for the quotes also.

View 8 Replies View Related

Ubuntu Security :: Exact Message Come Up In The Terminal?

Sep 1, 2011

I was trying to install ubuntu restricted extras, and for some reason this popped up in the terminal. Edit: Quote Removed That exact message come up in the terminal. What to do?

View 8 Replies View Related

Programming :: Drawing A Polygon From Some Xyz Coordinates?

Feb 28, 2010

I would like an easy way to draw a polygon from a load of xyz points that should be on its surface. Can someone help? Ideally using java 3D but I could use something else. Quick and dirty is fine its just to see a shape. I haven't really done any 3D graphics programming.

View 8 Replies View Related

Debian Configuration :: Can't Bind Webcams To Exact Names

Jul 26, 2015

uname
Linux cam01 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) i686 GNU/Linux
debian_version
8.0

I have three webcams and after reboot they change their /dev/videoX names from time to time.

My attempt to add .rules file to /etc/udev/rules.d was unsuccessful.

Code: Select allSUBSYSTEM=="video4linux", ATTRS{ID_SERIAL}=="046d_0825_4EE37780", SYMLINK+="video10"
SUBSYSTEM=="video4linux", ATTRS{ID_SERIAL}=="046d_0825_4B2AC690", SYMLINK+="video11"
SUBSYSTEM=="video4linux", ATTRS{ID_SERIAL}=="HD_WebCam_HD_WebCam", SYMLINK+="video12"
SUBSYSTEM=="video4linux", ATTRS{ID_SERIAL}=="046d_0825_4EE37780", SYMLINK+="mvideo10"
ATTRS{ID_SERIAL}=="046d_0825_4B2AC690", SYMLINK+="mvideo11"
SUBSYSTEM=="video4linux", ATTRS{ID_SERIAL}=="HD_WebCam_HD_WebCam", SYMLINK+="mvideo12"

View 4 Replies View Related

Debian Configuration :: Making A LiveCD To Resemble An Exact HDD Installation?

Nov 13, 2010

I've been trying to make a live CD off an installation with minimalist deviation possible. Purpose is to check the hardware compatibility using the live CD, after which I'll copy the installation to the hard drive (which will probably be a squashed image) and do the necessary edits to make the system bootable. Since the rootfs will be copied over (not dd, but direct cp --preserve=all), the difference from the actual install should be minimal.

If there are any caveats using this procedure, do notify.

I've been succeeded in doing this using Gentoo but it appears the Gentoo kernel uses Gentoo specific kernel parameters which makes things very simple, but I gotta do this with the generic Debian kernel.

If it can be done easily using a script I would also like to know exactly how it's done so I can reproduce it by hand even to make an ro rootfs and possibly reproducing the same with other distros.

View 5 Replies View Related

Debian :: Setup A Squeeze Server For A Friend Of Mine Using Exact Apache2 Settings?

May 31, 2010

I just set up a Squeeze server for a friend of mine using my exact apache2 settings. He has been playing around, having a bit of fun learning HTML, but he ran into a problem where one of his images would not display. I at first figured his HTML was incorrect, but after a very long time of trying to figure out the problem, I still do not know what is going on, so I think it must be an apache2 problem?[URL]..

View 14 Replies View Related

Ubuntu :: Creating New Partition In Terminal ?

Dec 9, 2010

How to create a partition in terminal, like using fdisk.

How to do it in command line,what are the commands to be executed and if there are best practices that I should observe when doing it.

View 5 Replies View Related

Ubuntu :: Creating A Simple Gtk Program Through Terminal?

Jun 10, 2011

I am wanting to try creating a simple program through Terminal. Anything will do. A window or button, etc. I haven't found anything simple enough online yet, but I'm sure they're out there. I just want to expand my knowledge of gtk type stuff. Sorry if this is not the correct category to ask this. I was going to put this on the Community Cafe forum, but chose General Help instead. I am running Ubuntu Lucid. **Edit note: I did try the procedure described at the url (below), but I got all kinds of errors in terminal. [URL]

View 1 Replies View Related

General :: Creating A Terminal Command From Scratch?

Oct 26, 2010

I am looking into creating my own terminal command from scratch. I researched online for some information on this subject was only able to view stuff related to OS X. I understand that they are both Unix based, are they both similar in creating these commands? Basically all I would like is for someone to point me towards the right direction to start or complete this task.

View 11 Replies View Related

General :: Creating DVDs From Terminal (Ubuntu 8.1)

Aug 20, 2010

Trying to COPY some of my DVDs, I've had tons of problems with the various applications such as K3B and Brasero (not putting them down though, just my experience). Recently I found the commands to use dvdbackup, and it worked perfectly. I can copy my DVDs easily and flawlessly. Really happy about that. Is there a command-line way of creating DVDs? I've got to say that using the terminal has been the most reliable and robust for me. Is there a way to create DVDs via the terminal? I'm running Ubuntu 8.1 on a Dell laptop.

View 8 Replies View Related

General :: Creating Some New Short+keys For The Terminal?

Feb 1, 2010

I did something stupid; I think while creating some new short+keys for the terminal, I must have enabled an unknown feature to me. The keypad now acts like a mouse. For example; With NumLock on, I press 7 the mouse goes north+west. I press 6 the mouse pointer goes east.

View 2 Replies View Related

CentOS 5 Hardware :: Creating Partition Using Terminal

Feb 5, 2010

I had configured raid 5 in centos on my testing PC. Recently one of its harddrive fails. So I decided to insert a new in replacement of it.Secondly i would like to know how to create manual partition using terminal. I thought using fdisk /dev/hdb is thw way but it confise me because in this i have to give block size or start and end cylinders which is very confiusing, Any idea how to make fixed size partition like 10GB or more.

View 1 Replies View Related

Fedora :: Error Creating Child Process For This Terminal

Aug 4, 2009

Terminal will not open
Error message: There was an error creating the child process for this terminal
Got this after doing a update to testing repo; to try to fix another issue with my media player sound not working.

Solved
The_Source_HIM
Just add yourself to 'tty' group and relogin

View 5 Replies View Related

Ubuntu :: There Was An Error Creating The Child Process Of This Terminal

Feb 13, 2010

I get the error

Code:
there was an error creating the child process of this terminal

When I run this code:

Code:
gnome-terminal --window-with-profile=Scripts

View 2 Replies View Related

Ubuntu :: Difficulty Creating Launcher For Java Program From Terminal?

Jan 17, 2010

I run a program by executing this command in a terminal screen.Code:coco@coco-desktop:~/Escritorio/MO_1.10/MagnumOpus$ java -jar MagnumOpus.jarSince it is a bit tedious, I tried to create a launcher. I copied the above code into the Command box. The launcher is created, but fails to run the program. Instead I get an error message.

View 6 Replies View Related

Ubuntu :: Creating A Command To Open Multiple Terminal Windows That SSH Into The Same Server?

Apr 7, 2010

Every time I boot up ubuntu I usually open 3 terminal windows and ssh into the same server. I would like to either click a shortcut, or run a single terminal command that will do the equivalent.

I came across the "gnome-terminal" command, but I was unable to get it to trigger an ssh command.

Ideally I would like to have a script that I pass in the number of windows I want to open and the server I would like to ssh into for each window.

View 4 Replies View Related

Ubuntu Multimedia :: Creating ISO File In Terminal - Input / Output Error

Feb 15, 2011

I'm trying to create an iso file in a terminal with the following command:
$cat /dev/sr0 > nameofdisk.iso
I get the following error
cat: /dev/sr0: Input/output error
I already checked and my optical drive is indeed /dev/sr0. I've hunted google a few hours trying to figure it out. Does anyone know why I'd be getting this error?

View 4 Replies View Related

Ubuntu :: Creating A Text File To Start Up Sudo Bash Without Going To The Terminal?

Feb 26, 2011

I just set up apache on my PC and I cant change the permissions by right clicking because "I'm not the owner" and instead of using the chmod command on every file that I would like to edit I would just like to write a script on a text file, save it to my desktop so all I have to do is double click on it and boom I can edit all my files, etc.

View 2 Replies View Related

Debian :: Change Dragora Bash Terminal To Default Jessie Terminal

Feb 29, 2016

I mainly use debian jessie , recently i have installed daragora as my second os to get a feel of gnu/linux . the problem is that dragora uses bash , and it's commands are different from debian jessie terminal is there a way that i can use the same commands here in dragora?

View 4 Replies View Related

Debian Multimedia :: Gnome-terminal Does Not Read Terminal Sizes From Gconf

Jan 24, 2011

gnome-terminal from the Debian squeeze does not use the 'default_size_columns' and 'default_size_rows' from the /apps/gnome-terminal/profiles/Default/ folder of gconf.

View 6 Replies View Related

Debian :: Termcap And Terminfo - Terminal And Terminal Emulator Not Available

Jan 15, 2011

I'm looking for some information about termcap and terminfo... I've got some, but the problem is that some things confuse me... I thought every terminal and terminal emulator should be there, but many of the terminal emulators I use are not there.. Is this different between distributions?

View 14 Replies View Related

Debian Multimedia :: Xcompmgr 'master' - Rounded Window Borders Don't Draw And Redraw Properly When Using The Terminal (gnome-terminal And The LXDE And Xfce Ones)

Aug 26, 2011

I find xcompmgr more than adequate for making a desktop look pretty modern, and I don't like the more extravagentCompiz gimmicks - but there is one thing that irritates when using xcompmgr which someone here might have worked round.

Rounded window borders don't draw and redraw properly when using the Terminal (gnome-terminal and the LXDE and Xfce ones) or system monitor and moving them from their default place. You get this little white botch at the corners. I'm not massively technical and I'm ambivalent about how much more I want to learn as I have plenty of creative outlets already, but I would like to solve this. Somehow xcompmgr is treating these programs as a different class? It's capable of drawing the window borders properly as it is just these two programs that get botched. Possibly this doesn't get noticed as maybe people usually use xcompmgr with openbox and LXDE and their square window borders. I did do a search but there was nothing matching what I saw.

View 3 Replies View Related

Debian :: Creating A Debian Live CD For The Base System

Feb 10, 2010

I am thinking about creating a Debian Live CD with only the base system. I would like to know how to make the CD bootable so that it can load the kernel and continue with the booting sequence.

View 12 Replies View Related

Debian :: Creating A .deb Packet?

Mar 24, 2010

I have to do a .deb packet which will be placed in the repositories of the company.When this packet is installed, it only have to copy a plain text archive i've wrote before, to a path where it's being installed.The other requisite is that it have to watch if there's a program (vim) installed, if it's not installed, then the packet i have created shouldn't install.example:

# ls /home/loopin (as we see, this directory is empty)
# apt-get install mypacket
...

[code]...

View 14 Replies View Related

Debian :: Creating Debian Packages

Jan 30, 2010

I am going to start reading about how to create Debian packages. Yet I would appreciate a simple overview about the process.Specifically, I would like to start with something simple: building a package with the Firefox 3.5.7 tar.gz pre-compiled binaries.If I understand correctly, the source files from Debian are modified in some way from the upstream provider, but my little Firefox project is not dealing with sources at all. The binaries are already compiled. So I'll appreciate a simple overview about creating a package from those Firefox binaries.

I realize the Firefox binaries can be installed as is, along with needing to create three sym links. That is not my goal. I figured starting with pre-compiled binaries will be an easier start into the Debian packaging process. Further, I prefer to install software with a package manager as that provides a system that is easier to maintain long-term.I suspect that an aide to my learning would be to extract the Iceweasel package and then draw similarities from that.

View 2 Replies View Related

Debian :: Creating A Shortcut For Gedit?

Feb 9, 2011

as I found an easy way to create a shortcut for the terminal on the net, I was trying to apply the same method to create a shortcut for gedit, which is a great text editor that I use very often.I don't know what when wrong but I must miss something because it obviously doesn't work.Here is what I did:1.ran: sudo gconf-editor2. went to /apps/metacity/keybinding_commands3. Set "command_2" to "gedit" (I also tried with "gedit-2" as it is the name of it in the list of the applications in the apps folder)4. went to to /apps/metacity/global_keybindings5. set "run_command_2" to the key I wanted, <Control><Shift>g(I tried as well with other combinations such as <Alt>g, <Shift>g, no successAnyone knows what I didn't do or did wrong?(I suppose that it comes for the name of the command on step 3, but I don't know what could be the name to put (if you guys could also tell me where to find a kind of list for the names to put in, like for others programs, it would be nice)

View 5 Replies View Related

Debian Installation :: Creating Disk From ISO?

Feb 16, 2010

I have downloaded 4.37 gigs of Debian yesterday and have unzipped it. How do I create a bootable disk?

View 5 Replies View Related







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