Linux Commands Examples

A great documentation place for Linux commands

kde4



Sorry, no description

... the author of this command may not have provided any manuals


Once you know what this command is about, feel free to add a description in the input "add an example + trick and tips" below
 help other Linux-fans !




add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
create_group kde4 &&
default_pre_build &&
patch -p0 -d $SOURCE_DIRECTORY < $SPELL_DIRECTORY/terminate-server.patch
0
source
            
optional_depends kalgebra "" "" "kde4 mathematics: editor and plotting" &&
optional_depends kalzium "" "" "periodic table of elements" &&
optional_depends kstars "" "" "desktop planetarium for kde4" &&
optional_depends ktouch "" "" "Touch Typing Tutor" &&
optional_depends kturtle "" "" "Educational Programming Environment" &&
0
source

Thunderbird, chat extension, what about notification

FiltaQuilla is an add-on that enables the user to properly and precisely configure notifications, based on built-in filters or enhanced filters. Maybe one could try to extend its functionality to filter/notify chat messages. I don't have a full answer here, but it might be a good start. I would not be surprised if the developer of this add-on would make something for chat.

0
source

How can I tell kate to use CSS highlighting for .less files by default?

The syntax highlighting definition files are located at:

~/.kde/share/apps/katepart/syntax/
/usr/share/kde4/apps/katepart/syntax/

Editing files in the first directory requires root permissions, and the syntax highlighting file will be available to every kate user in your environment. When the directory does not exist, create it in order to place the file.
Find the <language> tag, and modify the extensions attribute, as follows:

<language name="CSS" ... extensions="*.css" ... >
<language name="CSS" ... extensions="*.css;*.less" ... >

Instead of modifying css.xml, I recommend to get the definition file for less css, so that less-syntax is also highlighted correctly. See mtorromeo / kate-syntax-files / less.xml on GitHub.

Copy-paste the following commands, then restart Kate.

mkdir -p ~/.kde/share/apps/katepart/syntax
wget https://raw.github.com/mtorromeo/kate-syntax-files/master/less.xml
0
source

How can I map Win + L to lock screen in KDE4?

I imagine that man xmodmap will help with the keybinding part of it.

I don't know enough of KDE to help with what keysequence already locks the screen.

0
source

Set device for program in PulseAudio?

I don't know if there is a setting or configuration file for this anywhere but it can be done with environment variables. I've based my answer on this entry in the PulseAudio FAQ about setting the recording source. I've tried this with output (a sink in PulseAudio) but it should work for both input and ouput.

The first step is to get the internal name of the source and sink that you want to use. To do that you need to use the pactl list command. That command will return a pile of data, but the following will list just the source names:

LANG=C pactl list | grep -A2 'Source #' | grep 'Name: ' | cut -d" " -f2

That list will probably include the names for both regular sources and PulseAudio's monitor sources (which on my system have "monitor" in the name). You'll want to use the regular source name of the device you want to target.

You can do the same thing to get the sink names:

LANG=C pactl list | grep -A2 'Sink #' | grep 'Name: ' | cut -d" " -f2

Once you've got the names you can run something like the following from your terminal:

PULSE_SINK=<sink_name> PULSE_SOURCE=<source_name> <command_to_run_skype>

Of course, if you want to run this from a menu you'll probably need to create a shell script and use that instead of the default command. Something like this should work:

#!/bin/sh
set PULSE_SINK <sink_name>
set PULSE_SOURCE <source_name>
<command_to_run_skype>
0
source

keyboard mappings are totally screwed after updating to kde4

Virtual consoles (tty) are completely unrelated to X11 and use a different keyboard mapping mechanism. Did you try starting a different desktop (twm/icewm/gnome whatever)?

0
source

How to get font smoothing to work in Firefox under Linux?

Does the article Enable Smooth fonts on Ubuntu Linux apply to your case ?

It is also possible that your problem relates to Bug 660448 - Subpixel antialiasing too strong/incorrect everywhere, which was marked fixed on 2011-07-05. If so, then a future version of Firefox will fix the problem. You could also verify against Firefox Nightly Builds.

0
source

Unicode characters display improperly in KDE and on the console in Arch Linux

It's possible that your locale is configured improperly; the most likely reason is that, even though the file names are stored in UTF-8, your terminal (I'm guessing Konsole) still expects a legacy ISO-8859-* encoding.

I don't know the rest, but here are a few steps to ensure the basic configuration is correct.

This script may also help.

  1. Edit /etc/locale.gen, ensure that your preferred .UTF-8 locale (e.g. en_US.UTF-8) is uncommented.

    (By default, Arch does not enable any locales.)

  2. Run locale-gen to generate the locales, if they haven't been generated yet.

    (Currently generated locales are listed by locale -a.)

  3. Edit /etc/locale.conf and add LANG=en_US.UTF-8.

    (The LOCALE= variable in /etc/rc.conf does the same thing, but is, in a way, deprecated in favor of locale.conf.)

  4. Log out completely, then log in again, in order to refresh the environment variables.

  5. Run env | egrep '^(LANG|LC_)' | sort to see what locale settings are in your shell's environment.

    Run tr \\0 \\n < /proc/$PPID/environ | egrep '^(LANG|LC_)' | sort to see the terminal's environment.

    Both commands should return identical output. If not, they both must at least have ".UTF-8" in LANG values. (".UTF-8" and ".utf8" can be considered identical.) Also, neither command should list LC_ALL.

0
source

How can I control in KDE on which desktop an application started from commandline will appear?

kstart --desktop <number> application

e.g.

kstart --desktop 2 konsole
0
source

Xorg compose key without losing valuable key / bypass mode?

lv3:ralt_switch_multikey is what I was looking for:

# But here it is: /usr/share/X11/xkb/rules/xorg.lst
# Anyway... what this is doing:
# lvl3:ralt_switch_multikey
#   right alt = AltGr = choose third shift level
#   shift + right alt = compose key aka Multi_Key

(via http://ndim.fedorapeople.org/stuff/radeonhd/xorg.conf)

I have this set via the KDE system settings (Keyboard => Advanced), so that I have the following in my ~/.kde/share/config/kxkbrc:

Options=ctrl:nocaps,lv3:ralt_switch_multikey
0
source

How to remap AltGr key in KDE 4.3.2?

You could use xmodmapto do this.

At a terminal, try entering:

xmodmap -e "keysym Super_L = Alt_R"

This command says: "When I press the key on the left (SuperL in this case), make it do what the key on the right does (AltR)." For that to work I'm assuming that the Windows key has the keysym Super_L; however it may not on your computer.

To find out the exact keysyms on your system, run xev from a terminal, and then press your Windows key and your Alt Gr key.

You should see part of the output along the lines of:

KeyRelease event, serial 33, synthetic NO, window 0x2800001,
    root 0x6a, subw 0x0, time 24394571, (-167,-89), root:(384,232),
    state 0x48, keycode 115 (keysym 0xffea, Alt_R), same_screen YES,
    XKeysymToKeycode returns keycode: 113
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

The part with keysym in brackets is what you're after. This tells you what keysyms to use in the xmodmap command.

Once you have determined the xmodmap command you want to use, you might like to put it in your .bashrc file so that it is executed automatically every time you log in to KDE.

0
source

How to change wallpaper from command line in KDE 4.3?

Code:

*dcop kdesktop KBackgroundIface setWallpaper /home/crouse/Wallpapers/skull.jpg 5

Just don't use my file;)

0
source

How can I acquire decent quality audio with my webcam?

Had similar issues on different computers and different OS's (Ubuntu 12.04, 13.04, 13.10). Installing PulseAudio Volume Control (pavucontrol) did the trick for me. Can't post images, though you might want to try one of the suggestions on following site: record internal sound

0
source

Remembering last window position by window manager or force it via xorg option parameters

This surely is an application problem. When it's shutdown, the application should save its size and position and use those arguments to position itself when next launched.

0
source

Is it possible to configure Kde 4 to resize windows to half desktop size when moved to the side of the screen?

it is a feature in the upcoming kde4.4 out february 9th. http://linuxology.wordpress.com/2009/12/08/yes-we-can-kde-aero-snap-like/

How can this site be more helpful to YOU ?


give  feedback