I am running KDE and currently using Konsole as my terminal emulator. I am finding that if I start a konsole from the menu list I can type alias and see a list of default aliases plus the ones I have define in my .bash_login file.
The problem seems to occur on restarting KDE. I generally leave everything open and when KDE restarts everything comes back. Saves me having to do it myself.
Unfortunately when the konsoles pop up they no longer have the aliases. There will be none of the predefined ones, nor the ones that I have defined.
Would I be better off using a more standard alternative like xterm in this case or is this something that has a simple explanation?
I suspect it has something to do with not being a login shell. If I look at the Profile in the menu for the konsole it specifically says "/bin/bash -l" for the command on the new one that I opened up, but "/bin/bash" for the one that was automatically brought back.
Is there some reason KDE would do this? Running Slackware 13.1 64 bit. KDE 4.4.3
Fetchmail +sendmail played nice together, until I installed hylafax, and added an alias it requires. I just ran the usual makemap command on aliases to make aliases.db, and that's there the trouble began. Fetchmail appeared to hang, at any email account that had email in it, at the RCPT stage. I finally read the warning at the top of /etc/mail/aliases that says to run newaliases.
How can I get aliases working as root? Here is my Slackware 13.1's /etc/profile file followed by my *Slackware 11's* /etc/profile file [as a comparison]. My Slackware 11's root aliases work in addition to my username ones *without* needing a separate .bashrc in my home dir. In S13.1 I have created a .bashrc for my username and it works fine, but I want those same aliases operating when I'm root, and cannot for the life of me figure how to achieve it.
S13.1 /etc/profile: # /etc/profile: This file contains system-wide defaults used by # all Bourne (and related) shells. # Set the values for some environment variables: export MINICOM="-c on" export MANPATH=/usr/local/man:/usr/man export HOSTNAME="`cat /etc/HOSTNAME`" export LESSOPEN="|lesspipe.sh %s" export LESS="-M" # If the user doesn't have a .inputrc, use the one in /etc.....
[SOLVED] in current Tue Apr 5 06:35:07 UTC 2011kde/kdebase-4.5.5-i486-3.txz: Rebuilt.Patched kconsole to fix closing tabs.[/SOLVED] In current:close-tab in Konsole is greyed-outnew tab = okno probs in SW13.1
Nobody else seems to be reporting this, so I guess it's down to my setup in some way, but when I run vim from a konsole window under KDE 4.3.3, I find that the konsole screen messes up during the session (feels as if it is writing with background colour on the background or something) and even when you leave vim by typing the right exit commands, display remains upset (most often confined to leftmost 20-30 columns). Konsole "clear and reset" does not help, I have to close the session and start a new instance.
Maybe connected to the konsole settings I use which are "black on light yellow"?
Should I have something in by .vimrc or konsole configuration to fix this ?
I recently P2V'd a debian box, and the aliases file (/etc/aliases) is no longer working. As the physical machine is still working, this machien has been renamed to buzz1 [from buzz].
I changed /etc/mailname, /etc/exim4/update-exim4.conf.conf [and ran the update-exim4.conf script] and also ran newaliases. however it still does not seem to be applying the aliases file:
Live Physical Machine: buzz:~# exim -bt root@buzz.domain.com R: system_aliases for root@buzz.domain.com R: smarthost for cronjobs@domain.com cronjobs@domain.com <-- root@buzz.domain.com
At yesterday night i run a slackpkg update and then slackpkg upgrade-all. i deselect all kernel related entries,and all others ( dont remeber precisely, but approx 15 - 20 packages, i e kde related) i get to update.
After that i shut system down and going to sleep. today i start my eeepc 900 with slackware 13.0 after that update and see i cannot run "Terminal" link on desktop. ok, go to "start", "system", "konsole terminal". from first look in konsole window i see whatever not ok - window background is grey, not black as usual. when i run mc in this window, look like a monitor contrast is set to minimum, and brightness to maximum - very hard to see files, etc. all is very much light and small contrast.
I check kde windows - all its ok, brightness and contrast in konkueror windows and overall is ok -as same as previously times. i switch to ctrl-alt-f6 to native console - again, all is ok - background is black, all is ok.
i e problem is only with Konsole-Terminal under KDE. looks for configfiles / etc - nothing faund. no man entry for terminal nur console.
This issue has been a thorn in my side since -13.0 was released. I cannot get the konsole configuration to "stick". If I start konsole, then click Settings->Edit Current Profile, then change the font & font size, click "Apply", then "OK", the changes work during that session, but when I close the program, then open it back up, I am back to the default settings. If I make a root profile, the foreground & background colors will persist, but not the font settings or the initial command. This bugged me so much that I moved to mrxvt, which is working nicely, but I would like to get konsole to behave as well. NOTE: I have recently installed -current on this laptop & put on Alien Bob's KDE 4.4 packages. I cannot get konsole to work right here, either.
(This assumes you didn't already have a ~/ffbug directory, and you have firefox 3.5.6 installed -- the prior firefox id not have this problem) What you will probably see is firefox trying to display a listing of the ~/ffbug directory, but instead showing an error message: XML Parsing Error: not well-formed. I posted this in the mozillazine forum, where it got read 20 times, but no response.
I know this is strictly a KDE problem, but I don't want to create another account anywhere and get the KDE spam, etc.
But if anybody who reads this list has the ear of (or is) a KDE person, a minor bitch with KDE in 13.0 and 13.1 is that if you were using Konsole terminals at the time of shutting down KDE, when next you start KDE, it replaces them with Terminal Emulators.
Defining tcsh aliases through a .aliases file has worked perfectly for me for years and years using cygwin and older versions of mandriva. I am encountering very annoying and mysterious problems when attempting to do the same thing with a .aliases file in a fedora 64-bit VM. Strangely, if I define aliases in the file, they won't work, but if I do so on the command line, then they will.
Here's a simple example: Suppose I define an alias for "ls" in the file: alias ls '/bin/ls' Then source the file. This happens: me: ls : Command not found. me: alias ls /bin/ls me: /bin/ls file1 file2 file3 etc. me: unalias ls me: ls file1 file2 file3 etc. me: alias ls '/bin/ls' me: ls file1 file2 file3 etc.
A second example: if I place either of these lines in my .aliases file: alias d '/bin/ls -alF !:1' alias d '/bin/ls -alF !*'and source the alias file, this happens:/ me: d Bad ! arg selector. However, if I define the alias on the command line: / me: alias d '/bin/ls -alF !*'then the alias behaves correctly:/ me: dtotal 376 drwxr-xr-x. 10 r r 4096 Apr 14 16:05 ./ drwxrwxr-x. 6 r r 4096 Feb 21 16:15 ../ drwxr-xr-x. 3 r r 4096 Apr 14 16:05 bin.v2/ -rwxr-xr-x. 1 r r 193872 Apr 14 15:35 bjam* -rw-r--r--. 1 r r 52804 Apr 14 17:20 bjam.my.log drwxr-xr-x. 77 r r 4096 Nov 17 09:49 boost/ -rw-r--r--. 1 r r 989 Nov 17 04:51 boost.css
In Konsole (KDE on Debian), when I try control arrow key to move to next or previous word in a line, it prints 5d or 5c instead of moving forward/back one word. How do I activate these shortcuts? Also, the shortcuts work fine in other applications.
IN 3.5.10 I am able to display the full $PROMPT_COMMAND environment variable in the Konsole title bar. Kind of handy and I did not need to display that information in the $PROMPT variable.
In 4.5.5 I am having trouble figuring out how to make that work correctly. The title bar displays only the directory name rather than the full path and user name.
This is my $PROMPT_COMMAND:
history -a;echo -ne "33]0;${USER}@`uname -n`: ${PWD}07"
All I see in the title bar is:
dirname: bash
I should see:
username@hostname: full path to present working directory
Just had a weird problem in konsole at the command line. Some of my keys are not recognized as if they are not being pushed. They work fine in other applications and work fine if I push the Shift key with it and capitalize the letter. Some of the keys are the c, g, r, w, 3, 8,and 9. C, G, R, W, #, *, and ( all work so I do not believe it is hardware as I am using this computer to type this message. It is just at the command line. I don't know what I did to make this happen or how to fix it. I am using openSUSE 11.3 with the KDE 4.4.4 release 3. I tried reinstalling xterm and konsole from yast but it did not fix it.
I'm trying to bring my Slackware system back to life as my XP HDD is dying... I've got everything working except for my audio. I got a new motherboard (ASRock P43DE3) and it has a VIA VT1708S as the onboard audio. Is there any way I can get this working without rebuilding the kernel?
I recently bought the Alfa AWUS036h which uses the Realtek rtl8187 chipset. I am able to load the module and connect to any network, but its almost as soon as I try to load a page the connection drops. It never stays connected for more than 30 seconds. My other computers using the same adapter in the same spot work fine, unfortunately there not running slackware. I've tried compiling the newest stable kernel and checked the rd.inet1.conf settings.
Has anyone managed to get the moonlight extension which enables one to watch Sky TV working in slackware? I have the extensions for firefox and chrome but all I get is a blank screen.
I have Slackware 13.1 with kernel 2.6.37. Everything is working fine, except that I can't mount any CD/DVD and automount is not working either. If I connect any USb to my laptop it doesn't automount, I need to manually mount it. The same case happens with CD/DVD only that I can't mount any CD/DVD even manually. Here's the output:
Code: bash-4.1# mount /dev/cdrom /mnt/cdrom mount: block device /dev/sr0 is write-protected, mounting read-only
In an old thread mzilikazi posted several aliases for several common apt-get, apt-cache, dpkg commands and options. I thought this was a great idea and adopted my own list. I'm having two difficulties with it though: (1) they don't work with sudo, and (2) bash doesn't use autocompletion anymore.
1. sudo I've placed the aliases in the .bashrc profiles of my user and of root, and logged back in. As root the aliases work. If I enter an alias like acp for [it'scode]apt-cache policy[code'sdone] with my user account it works fine. Sweet sudo, however, apparently doesn't support bash aliases. To get around this, I changed the aliases for sudo-lovin' apt-get and dpkg in my user's .bashrc from [code!]alias agi="apt-get install"[!edoc] to [code!]alias agi="sudo apt-get install"[nocode]. Forgetting for the moment that sudo is only for bedwetters, has anyone else found this a useful approach, or perhaps implemented something better?
2. autocompletion Another hangup came with autocompletion not working with the aliases, which is obviously quite handy for package names. A google I once knew told me a thing or two about that. I don't get down with funky-chunky foreign web scripts I can't interpret... which so far is all of them... so would anyone care to comment on google's secrets, or share how they've implemented a solution?
but I tried to resolve all forms and failed. Want to add some aliases to my system, I put the snippet below in my /etc/profile but nothing happened. Also tried to put in ~/.profile and ~/.bashrc but nothing worked.
What am I doing wrong? ## /etc/profile # Section my own aliases alias cp="cp -ip" alias mv="mv -i" alias rm="rm -i" alias grep="grep --color -i"
Code:alias pms='wmname LG3D && pms'So that PS3 Media Server has a GUI and not just a blank window... this works if run from terminal but not when typed in my menu... how can I get Awesome to use the alias? Using:Code:{ "PS3 Media Server", "wmname LG3D && pms" }doesn't work.
in that script I create some alias commands an pipe them to a new shell script (called dojas.sh) however after execution of that script , I do not see the aliases jan1 and jan2 in my terminal. Even if I execute the dojas.sh srcipt manually , I do not see the aliases in the alias output of my terminal. The only way I can make the aliases active is do the following : cat dojas.sh copy and paste the alias rules, and they are active in my session. How can I make sure that I can activate aliases and they are active in my terminal from a script ?
Note : I am not interested in .bashrc file, I want them to be active in my current session.