Restart shell without reboot?

Forums for the KDE Edition
Forum rules
Before you post please read this

Restart shell without reboot?

Postby Sam Poison Oak on Tue Feb 14, 2012 4:39 pm

Using the final Mint12KDE version! Is there any way like a shortcut or command I could execute for restarting the shell(plasma-desktop) without rebooting or losing the active processes?
Something like the alt+F2+r+enter thing on gnome?
Already readed the online guides on KDE.org and searched across the forum and can't find any clue about this useful feature that appears to don't exist :/
Linux Mint FTW!!
Image
User avatar
Sam Poison Oak
Level 1
Level 1
 
Posts: 24
Joined: Sun Feb 12, 2012 4:57 pm
Location: GuayaKill

Linux Mint is funded by ads and donations.
 

Re: Restart shell without reboot?

Postby Knusperkeks on Tue Feb 14, 2012 9:56 pm

STRG+ALT+Backspace
Knusperkeks
Level 1
Level 1
 
Posts: 13
Joined: Tue Feb 07, 2012 8:55 pm

Re: Re: Restart shell without reboot?

Postby Zalbor on Wed Feb 15, 2012 7:51 am

Knusperkeks wrote:STRG+ALT+Backspace

I assume you mean CTRL and not STRG? In that case, it's not the same at all. This will restart the X server, while the "r" command in GNOME only restarts GNOME itself and leaves your programs running.
Zalbor
Level 2
Level 2
 
Posts: 52
Joined: Tue Apr 19, 2011 11:53 am

Re: Restart shell without reboot?

Postby Knusperkeks on Wed Feb 15, 2012 9:35 am

sudo /etc/init.d/kdm restart

and yes i meant CTRL-ALT-Backspace...STRG is CTRL its the german keyname...sorry
Knusperkeks
Level 1
Level 1
 
Posts: 13
Joined: Tue Feb 07, 2012 8:55 pm

Re: Restart shell without reboot?

Postby Sam Poison Oak on Thu Feb 16, 2012 1:25 am

that command ended the session and the workspace too -_-
too bad!! I want something like the gnome r command on KDE!
Linux Mint FTW!!
Image
User avatar
Sam Poison Oak
Level 1
Level 1
 
Posts: 24
Joined: Sun Feb 12, 2012 4:57 pm
Location: GuayaKill

Re: Restart shell without reboot?

Postby braingateway on Sat Feb 18, 2012 5:34 am

????
Last edited by braingateway on Sat Feb 18, 2012 10:20 am, edited 1 time in total.
braingateway
Level 2
Level 2
 
Posts: 56
Joined: Thu Sep 29, 2011 4:21 pm

Re: Restart shell without reboot?

Postby braingateway on Sat Feb 18, 2012 10:20 am

Sam Poison Oak wrote:Using the final Mint12KDE version! Is there any way like a shortcut or command I could execute for restarting the shell(plasma-desktop) without rebooting or losing the active processes?
Something like the alt+F2+r+enter thing on gnome?
Already readed the online guides on KDE.org and searched across the forum and can't find any clue about this useful feature that appears to don't exist :/

First, I think there is no way to restart entire KDE or X without relogin.
Then I think what u wanna do is just reload the plasma-desktop.
Here is the classic way:
Alt-F2
then
kill plasma-desktop (kill the process)
then
plasma-desktop (restart the process)

More neat way is to use kquitapp:
kquitapp plasma-desktop
plasma-desktop
will do it
braingateway
Level 2
Level 2
 
Posts: 56
Joined: Thu Sep 29, 2011 4:21 pm

Re: Restart shell without reboot?

Postby BostonPeng on Sun Feb 19, 2012 11:37 am

braingateway wrote:More neat way is to use kquitapp:
kquitapp plasma-desktop
plasma-desktop
will do it

I'll have to remember this tomorrow. I leave my laptop on overnight and when I get back to it in the am I notice that my RAM usage gauge it so high I have to do a reboot to clear it out. And checking my System Activity monitor tells me it's all being used by the plasma desktop. For those who are curious I'll post whether or not it worked when I try it.
J.M. "BostonPeng" Hardin
Now very happily running SolydK
My new Linux blog: Tux + Me
It's time for Dodgers baseball!
User avatar
BostonPeng
Level 5
Level 5
 
Posts: 619
Joined: Mon Aug 02, 2010 8:50 am
Location: Boston, MA

Re: Restart shell without reboot?

Postby BostonPeng on Mon Feb 20, 2012 1:54 pm

This seems to have helped me. My System Viewer plasmoid showed a ton of memory being used so I opened a konsole and ran these commands and while my plasmoid doesn't show much change I am finding my system running along nicely with thy following info revealed in Yakuake
$ uptime
12:46:37 up 21:38, 3 users, load average: 0.06, 0.19, 0.27

I'm not sure why there are three users since I'm the only one who uses the laptop but I like the 21 hour uptrime. I owe you a brew, braingateway. Now to throw the lines into a batch file I can run easily without needing to tie up a konsole window.
J.M. "BostonPeng" Hardin
Now very happily running SolydK
My new Linux blog: Tux + Me
It's time for Dodgers baseball!
User avatar
BostonPeng
Level 5
Level 5
 
Posts: 619
Joined: Mon Aug 02, 2010 8:50 am
Location: Boston, MA

Re: Restart shell without reboot?

Postby Sam Poison Oak on Sun Feb 26, 2012 12:33 pm

Then I think what u wanna do is just reload the plasma-desktop.
Here is the classic way:
Alt-F2
then
kill plasma-desktop (kill the process)
then
plasma-desktop (restart the process)


Hope that helps after applying updates!
Does that close my running apps?
Linux Mint FTW!!
Image
User avatar
Sam Poison Oak
Level 1
Level 1
 
Posts: 24
Joined: Sun Feb 12, 2012 4:57 pm
Location: GuayaKill

Re: Restart shell without reboot?

Postby BostonPeng on Sun Feb 26, 2012 3:44 pm

It doesn't on my system, Sam.
J.M. "BostonPeng" Hardin
Now very happily running SolydK
My new Linux blog: Tux + Me
It's time for Dodgers baseball!
User avatar
BostonPeng
Level 5
Level 5
 
Posts: 619
Joined: Mon Aug 02, 2010 8:50 am
Location: Boston, MA

Re: Restart shell without reboot?

Postby ibm450 on Tue Feb 28, 2012 6:11 am

BostonPeng wrote:This seems to have helped me. My System Viewer plasmoid showed a ton of memory being used so I opened a konsole and ran these commands and while my plasmoid doesn't show much change I am finding my system running along nicely with thy following info revealed in Yakuake
$ uptime
12:46:37 up 21:38, 3 users, load average: 0.06, 0.19, 0.27

I'm not sure why there are three users since I'm the only one who uses the laptop but I like the 21 hour uptrime. I owe you a brew, braingateway. Now to throw the lines into a batch file I can run easily without needing to tie up a konsole window.


strange, mine also shows more then one user....mine is stating two users logged in?? :?: :?: :?: :?: :?:
Image
Asus UL50VT laptop ~ LM10 - Unity 12.04 - Win 7
Image
User avatar
ibm450
Level 5
Level 5
 
Posts: 604
Joined: Sun Jan 11, 2009 6:56 am
Location: Kwinana, Western Australia

Re: Restart shell without reboot?

Postby BostonPeng on Tue Feb 28, 2012 11:09 am

ibm450 wrote:strange, mine also shows more then one user....mine is stating two users logged in?? :?: :?: :?: :?: :?:

I'm guessing one may be root from any system-level processes. If I'm right there's nothing to be concerned about.

@all:
Does anyone else have any info on this situation?
J.M. "BostonPeng" Hardin
Now very happily running SolydK
My new Linux blog: Tux + Me
It's time for Dodgers baseball!
User avatar
BostonPeng
Level 5
Level 5
 
Posts: 619
Joined: Mon Aug 02, 2010 8:50 am
Location: Boston, MA

Linux Mint is funded by ads and donations.
 

Return to KDE

Who is online

Users browsing this forum: No registered users and 10 guests