General :: Change The Default Width For Shell?
Apr 28, 2011anyone knows how to change the default width for shell window in Linux(Ubuntu), so that I don't have to re-size it every time I open it up?
View 2 Repliesanyone knows how to change the default width for shell window in Linux(Ubuntu), so that I don't have to re-size it every time I open it up?
View 2 RepliesWay back from Windows 3.x days to the latest 64bit Windows 7 (classic/standard theme)there is a way to make the window edge border wider then 1 pixel.I often use 3 to 5 pixel to make it easy to grab on hi-resolutions displays and hi DPI monitors.There doesn't seem to be an easy or obvious way to do this with the Gnome X-Windowing system?
View 3 Replies View RelatedI have looked almost everywhere for how to change my default shell prompt. When I open my bash shell, the prompt is [fedora-dev@Fedora-Dev Documents]$. I would like it to open at fedora-dev@Fedora-Dev]$.
Can someone tell me where to change this at. I have looked in .bashrc, etc/profile, and environmental variables.
Which is correct?
Code:
Or
Code:
I got these in two web sites.
From emacs window:
How would to get info about it in emacs documentation/manual?
i'm pretty new to ubuntu. I was "playing" trying to change my default shell and failed. Now, after logging in, i open a terminal window and type "su". Ubuntu asks me a password, i give my password and i get this error "unable to execture /bin/bsd-csh: file or directory does not exist". Any idea on how to solve this problem restoring my old shell.
View 2 Replies View RelatedIn 10.4 I had set my default terminal size to my screen width - I type some long commands. After running an update this morning, my terminal comes up in the install default size. Using the preferences dialog, I cannot find the control to set the default width. Has it been removed? I hope I'm looking in the wrong place, but I have a chilling feeling that it's been dropped or perhaps just accidentally commented out.
View 2 Replies View RelatedA couple of days I started using latex and have still one question about the table width. My table is too wide for a page. How can I adjust it so that it fits on the full width of a page? Can I use a command or do I have to specify each column widths by hand?
My table looks like this;
I did try several commands likeextwidth, esizebox, setlength but didn't found the solution yet.
I use ioctl to get the cosole window size (the SSH window).
I use the following code:
When I debug on linux pc, it gives me the correct window width. But after I try it on router (this is my enventual place where my code shall run), ioctl always give me 0 width, that is, numberOfColumnsOfTerminalWindow == 0. but the returnValue is 0 which means that the function call succeeds.
This has bugged me forever.....and I mean really bugged me. The 'pixel width' is too low, such that trying to get my mouse to line up just perfectly on the window edge to get the resize icon, is very difficult. After a bit of searching, I discovered Alt F8, which, for those that don't know, is a resize shortcut and works very well, however, I will still use the 'edge resizing' option quite a bit, and would like to widen the 'line' a few pixels. Is this possible in a user settings file, or is this hardcoded? I am learning to develop, so I wouldn't mind looking into this one as a beginning project. If that's the case, could someone point me to the appropriate package?
View 5 Replies View RelatedI just started the latest Ubuntu and like Unity a lot but I have a question about the application launcher.I have added a few applications to this launcher but the problem is it now takes up more than the screen. It seems if I scroll through it I can have it scroll down to use more applications.What I'd like to do is either make the application icons smaller so that they can all fit on the screen without me having to scroll or either make it wider so that there can be two vertical rows of application icons.Are there any options to do this or make any other changes to the application launcher?
View 3 Replies View RelatedWhat config file do you change to change default run level???
View 3 Replies View RelatedI want to change my default shell to tcsh. I used
Code:
usermod -s /bin/tcsh username
command as given at url
But if I open a new shell, it is still a bash shell.
How do I make my default shell as tcsh?
I've had my prompt change whenever I :sh (:shell) out of VIM, but can't for the life of me remember how?. The idea is to change the prompt to something like [SH] <your usual prompt here>, so that I know that VIM is running in the background.. I often logout of the shell, because I think VIM is open.
View 3 Replies View RelatedI was trying to change my shell from bash to csh by typing "csh" and got this error "if: Empty if." I figured it is because if and then do show up in the same line in the cshell source file. However there is no .cshrc in my home directory. I looked at the /etc/csh.cshrc and everything seems correct. No "empty if".
View 2 Replies View RelatedI work with a text mode debian6.0 and when I was testing some commands, I changed default shell to ash. System replied that it has not ash shell.so I thought the shell did not change. But when I start the system again and enter root password, I see a message like "can not execute ash. No such file or directory" and then system return to login page again. Root is the only user on that system.
View 11 Replies View RelatedI want to space out an item in an XFCE panel, however I don't want to add a hundred separators Is there a setting I can change to give the empty spaces some width?
View 2 Replies View RelatedI don't know what is up with our servers, but each time I upgrade Linux or switch back to Windows it seems that the default providers have changed,and as such I'm having trouble finding out how to change the default run level from 5 to 3 in Ubuntu 10.4. I had tried the /fstab file, and although the last time I made this configuration was under Suse, I'm not even sure that's how I did it for OpenSuse. I did find how to pass the text argument to the kernel but I don't want to disable GDM so that I have to renable it everytime I login. I'm unsure of how this will affect the startx command, at which point I'll be stuck sifting through books for random commands that might perform the task I would like.To elaborate, the reason I'd like to switch my default run-time level is so that I can configure an nvidia proprietary driver, which requires that the x server not be running and I could switch tty's but that doesn't shutdown the x server and although someone had given me a key combination to the effect of ctrl-alt-backspace,backspace I was advised against using it as it might cause damage to the integrity of the data used to load gdm.
View 1 Replies View RelatedI'm running Redhat 5 Enterprise (Nautilus 2.16.2) with Gnome and am having trouble changing the default application for PDFs. No matter what I do, it seems to always come up as evince.
First I tried browsing to a PDF file using Nautilus, right clicking on a PDF file, selecting properties, open with, and then changing the radio button. However, the radio button is selecting "Document Viewer" and clicking on the other buttons doesn't do anything. The button is stuck on "Document Viewer" (I'd like to use Adobe Acrobat).
I thought I'd do it manually then. Running `gnomevfs-info file.pdf" shows code...
So now xdg-mime and gnomevfs-info are showing different default applications for this file type. I've tried updating the mime database using update-mime-database ~/.local/share/mime as well as updating my desktop database using update-desktop-database ~/.local/share but nothing seems to be working.
Changing a default application really shouldn't be this difficult. What should I try next to change my default application?
, however, shows something different
My .local/share/applications/defaults.list file, however, shows the following:
application/pdf=AdobeReader.desktop
I am using Puppy Version 430.I want to change the default prompt from # to the current working directory followed by one space. I can do this by opening a console window and entering PS1="w " How do I force this to persist when I restart the computer.
View 1 Replies View RelatedI want to make my system load in GUI to login. I set Login Manager in KDE, and found in google inittab. There maybe I have to change run level from 3 to 4 (X11 with KDE), but I am not sure to change the file. I am afraid to broke my system. Do I have to change run level in inittab to boot in GUI?Other way is to make image of the partition and to try it...
View 7 Replies View RelatedHow can I change the default port of ssh that is 22? Because of security issue I just want to give some other port.
View 3 Replies View RelatedHow is it possible to change the default text that is displayed on the default BASH logon (attached)?
View 1 Replies View RelatedI want to change my default terminal in Ubuntu to ZHS. What's the command to do this?
View 3 Replies View RelatedIs there any way to specify which monitor the console is displayed on in Linux?
Details: I have a 3 monitor setup with 2 video cards. When I boot the computer, the BIOS displays on the PCI graphics card (which has a small monitor). When starting Linux, the console is displayed on the same monitor. Is there a way to have the console output on a different monitor? I'm using the vesafb framebuffer.
I don't see a way in my BIOS to change the default video card.
How can I change the default text editor for console programs in Ubuntu.When I run mutt and send a message, it currently loads up Joe and I would prefet to load Vim.I know I can change $EDITOR for me only, but would prefe to do it system wide.
View 2 Replies View RelatedHow can I change default boot order in Ubuntu 10.04 from Ubuntu to Windows7? However, I already checked sudo gedit /etc/default/grub and modify the grub file to be GRUB_DEFAULT=4 and update the grup sudo update-grub I even install graph software to re order the book sudo startupmanager But still after restart the default choose for boot is Ubuntu ...
P.S: I am using Ubuntu 10.04 with grub version 1.98
In my laptop, if I type below
$ which vi
alias vi='vim'
/usr/bin/vim
Now I want to change the vi alias to another bin, e.g. vim_wrapper a script created in /usr/bin/, I type this line:
alias vi="vim_wrapper"
in ~/.bashrc or /etc/bashrc, but take no effects. So How to change the default vi alias vi='vim' to vi='vim_wrapper'?
I would like to run Windows (XP preferred) games and Linux on my MacBook Pro I got from school. However, there are some rules I have to follow. If I need to I will try to further clarify the rules, since they are in Swedish and there isn't a perfect translation. I cannot use Boot Camp. This is because Windows machines get viruses 24/7 and there are no viruses on Mac. Furthermore, we are using Visual Studio for about half the things we do through a virtual machine. Perfect for debugging, performance and "virtual machines don't get viruses", right? At least that's what my teachers think. I cannot change the default setup of the computer. In Swedish this basically tells me I cannot even start it up because then I will mount the drive, and make changes in RAM, and use the processor, and move electrodes from the battery and so on. They're telling me that that's way to specific, though, and that we aren't allowed to change the operating system files. I think we break that rule with each update, install or setting we ever touch. I may not use any program without first showing a receipt. The original casing, CD and the CD key isn't enough. A license like GNU is ok, though.
I basically need a way to boot into a USB drive or CD, with the ability to use network and DX9 to play games on Windows. Linux support isn't as crucial since OS X does have a lot of Linux support already. I've tried other ways of working around the rules like running games in Wine but I can't get DX9 based games to work and the FPS is terrible. They have the right to check the computer at any time to see if there is something bad there. Swapping a harddrive will definately be noticed.
I''m new to Debian 5 so please be gentle
When I use 'adduser' it states 'Enter the new password (minimum of 5, maximum of 8 characters)' - how can I enforce password complexity?
I would like to have a minimum of 10 characters and also have numbers, certain special characters etc.
I have a dual booting set up with Ubuntu as default O/S and Windows 7. wish to have Windows 7 as my default O/S. I tried by clicking Alt+F2 and entering 'Sudo gedit/boot/grub/menu.lst' but nothing happens.
View 8 Replies View Related