You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

dimitri

Trainee

  • "dimitri" started this thread

Posts: 156

Occupation: Engineer

  • Send private message

1

Saturday, August 9th 2003, 7:51am

Usefull Tips for KDE

Hi,
try this: http://www.linux-magazine.com/issue/34/KDETricks.pdf

Dim

PS: Perhaps this could become a thread where more little but very usefull tips and tricks are posted :D

This post has been edited 1 times, last edit by "OhReally" (Jul 28th 2008, 12:18am)


2

Sunday, August 10th 2003, 3:03am

So let it begin :)

Shortcuts for new Sessions in Konsole:

After reading this nice article i started to configuring new profiles for my Konsole. For quick access without movin my hand *this long way* to the mouse i added some new items in kmenu with something like

[code:1]
Name&#58; <NiceKonsoleProfile>
Command&#58; dcop `dcop|grep konsole|head -1` konsole newSession <NiceKonsoleProfileName>
Shortcut&#58; Ctrl+F9
[/code:1]

Note that the command greps the first konsole found by the dcop call and i had to delete the shortcuts for the switching of the virtual desktops 9-12 *i really have no use for*.

Update: Forgot to mention that konsole has to be started with the --script option.

Hope it's usefull,
Pascal

3

Wednesday, September 3rd 2003, 9:35am

KDE Tricks

I read the original article and followed LS Texeira's trick related to KGPG problem with passphrases - a problem I have been struggeling with for some time.

The trick is to extend .xintrc with a given script. The result was that the passphrase problem was solved, but KDE became unstable. It seem to boot-up twice. When you loged-off it would imediately boot-up again, and you would have to log-off again. Also the graphics became increasingly unstable, and some things worked on one boot-up and not on at other times. I have deleted the script from .xintrc and KDE is workin fine agian but the problem with KGPG is of course back.

The trick is to extend .eintrc with the following script:

eval $(gpg-agent --daemon)
startkde
killall gpg-agent

Any ideas as to why this script would cause the problem with KDE itself?

I am looking to implement the answer to the KGPG passphase problem without causing the trauma with KDE itself.
Alec

4

Friday, November 28th 2003, 4:04am

For some reason that link only takes me back to the thread. Got a better address?

5

Friday, November 28th 2003, 5:41am

Quoted

Original von sofasurfer

For some reason that link only takes me back to the thread. Got a better address?

The link works for me, even after all this time
(the original post is from 2003-08-09).

Maybe something on your system is misconfigured?

Try downloading the PDF (e.g. with Shift-Clicking the link)
and see if you can view it.

6

Friday, November 28th 2003, 10:58am

Re: Usefull Tips for KDE

Quoted

Original von dimitri

Hi,
try this: http://www.linux-magazine.com/issue/34/KDETricks.pdf

Dim

PS: Perhaps this could become a thread where more little but very usefull tips and tricks are posted :D


Excellent, fantstic that has got allot of very usefull stuff! :D
The Best Games are for Download @ GCCLINUX

7

Saturday, February 14th 2004, 11:04pm

cool thx......where can I find more tricks

8

Wednesday, April 28th 2004, 12:38am

Having root file manager while still logged in as normal use

Having root file manager while still logged in as normal user

I'm sure this has been thought of by someone already, but I haven't come across it anywhere......................a revelation I came up with to allow you to have root access when needed without having to logout as current user and login as root.

This involves the use of the app 'kdesu', which take the format of:

kdesu command [command args]

Using kdesu still requires you to login with the root passwd when the popup window appears, but is much quicker than logging out and logging in again to a different session, and is still secure since the root passwd is required.

Anyway, the idea I came up with is to add entries to the KDE menu for the file manager and Control Center as a superuser. These two should be adequate for most configuration purposes.

The file manager is for moving copying, editing, changing permissions, etc, all the files and folders as root using Konq as a file manager. The Control Center is for configuration which may require root access. I know some of the applets in Control Center have a button at the bottom that may let you login as root, but when you switch to another applet then come back, you will need to login as root again. (NOTE: If you make changes in the Appearance or Desktop applets, these changes will apply to the root's appearance and behavior, not the current user's session. You will still need to open up the Control Center as the normal user to change the user's looks and behavior in KDE.)

The procedure is simple. Right-click on the menu button (the big K) in the task bar and choose Menu Editor. In the popup window, highlight Home and then hit Ctrl-C (copy) and Ctrl-V (paste). A new "Home" will appears called "Home-2" which will have the identical configuration as 'Home". Now, in the Command: box of "Home-2", type kdesu followed by a space. It should look something like this:

Quoted

kdesu kfmclient openProfile filemanagement
Then you can rename the copy to your liking. I've renamed it as Home - Root. Also, I changed the icon to make it easier to identify at a glance. Click on the icon button to the right of the Name: box at the top, and in the drop-down menu at the upper right of the popup window choose "Filesystems". Now you can choose from the different icons for a new home folder icon.

Do the same thing for the Control Center (which should be in Settings). Although here I didn't bother to choose a different icon. I just renamed the copy as "Control Center - Root".

NOTE: Instead of using 'kdesu' in the command line box, you can accomplish the same thing by simply adding a check in the box at the bottom of the menu editor, where it says Run as a different user, then type in root in the Username box below as it appears.........................I like to use the command line option, just a personal preference. ;)

Hope you find this as useful as I have. :)
---thegeekster
How long a minute is depends on which side of the bathroom door you're on.

9

Wednesday, April 28th 2004, 1:29am

*** SAFETY PRECAUTION***

I must add this footnote to my tip above...

When you open up the file manager in superuser mode - make the necessary changes and then CLOSE THE FILE MANAGER IMMEDIATELY when you're done to avoid fubar'ing your system. Do the same for any other app you've configured for superuser mode............................If you leave it open and do other tasks, then come back much later, you might forget you're in superuser mode and make an accidental deletion, or something similar, that can have catastrophic consequences. (Something I might easily do ;))....................File permissions are in place for a very good reason.

:)
---thegeekster
How long a minute is depends on which side of the bathroom door you're on.

10

Wednesday, April 28th 2004, 5:01am

Quoted

Original von Suselinux

cool thx......where can I find more tricks

More tricks can be found in the KDE Wiki:
http://kde.ground.cz/tiki-index.php?page=Tips+and+Tricks
... and you can even add your own.

Some of them are for more or less advanced users
wanting to write shell scripts,
but there are also little tweaks or commands
that can be used as-is.

There are also some pointers to more thorough
documentation in case someone wants to learn more.

Cheers,
cmbofh.

11

Sunday, April 24th 2005, 1:29am

Quoted

Originally posted by thegeekster
*** SAFETY PRECAUTION***

I must add this footnote to my tip above...

When you open up the file manager in superuser mode - make the necessary changes and then CLOSE THE FILE MANAGER IMMEDIATELY when you're done to avoid fubar'ing your system. Do the same for any other app you've configured for superuser mode............................If you leave it open and do other tasks, then come back much later, you might forget you're in superuser mode and make an accidental deletion, or something similar, that can have catastrophic consequences. (Something I might easily do ;))....................File permissions are in place for a very good reason.

:)
---thegeekster


I would recommend setting the color scheme for root to be a different color than your current user, which is what I have set up (also different widgets & icons). This allows you to instantly notice if the QT/KDE application is running as you, or root.

Also I find it is very useful to press alt+f2 to open KDE's "Run Command" box (win+r if you set KDE to use Window's shortcuts in first run thing) then you can type any command and it will run the command. You could do something like: kdialog --msgbox "`$command`" (replace $command with the command, and make sure to leave in the "`", notice they aren't " ' ") and it will run a command and it will show the output in a message box, try kdialog --msgbox "`ls /`" to see all the folders in the root directory.

Another useful thing you can do with the Run Command box is math (unfortunately floats aren't supported, so decimals can't be used :-(), try open the Run Command box and putting in "2+2" or "2*2", I find this very useful when I have to do simple math stuff but I'm too tired/lazy to do it in my head, and I find kcalc to be a pain.

Also in any shortcut (*.desktop files), if you go into Properties->Application->Advanced Options you will get several useful options, such as setting it to run as a different user, run in a terminal, enable/disable the launch feedback (will show the bouncing icon next to your cursor while launching), different dcop registrations, and putting it in the System tray.


If I can think of more tips later I'll post them, its amazing what you can discover if your not afraid of totally trashing your system.