Jack wrote: ↑21 Feb 2024, 03:48I will just run in Mate Terminal and do this at lease it works.
Code: Select all
guest@porteus:~$ save-session You must be root to run this! guest@porteus:~$



Jack wrote: ↑21 Feb 2024, 03:48I will just run in Mate Terminal and do this at lease it works.
Code: Select all
guest@porteus:~$ save-session You must be root to run this! guest@porteus:~$
Thanks it works now if my changes miss up and I have to delete it for some reason I won't have to start all over with setup my setting.Ed_P wrote: ↑21 Feb 2024, 04:33Jack wrote: ↑21 Feb 2024, 03:48I will just run in Mate Terminal and do this at lease it works.
Code: Select all
guest@porteus:~$ save-session You must be root to run this! guest@porteus:~$
Good to see Jack.
![]()
![]()
Code: Select all
[Desktop Entry]
Name=Save-Session
Comment=Save changes to a module or file.
Exec=/home/guest/save-session
Icon=document-save-symbolic
Terminal=false
Type=Application
Name[en_US]=Save-Session
StartupNotify=false
Categories=GTK;System;Utility;
I fixed the code and without a Terminal.Ed_P wrote: ↑21 Feb 2024, 07:05Ok Jack, now lets try this.
With ncmp's save-session python script saved in your /home/guest/ folder as save-session create this file Save-Session.desktop:Make it classified as Executable then as root copy it to the /usr/share/applications/ folder.Code: Select all
[Desktop Entry] Name=Save-Session Comment=Save changes to a module or file. Exec=/home/guest/save-session Icon=/usr/share/pixmaps/porteus/porteus-logo.svg Terminal=true Type=Application Name[en_US]=Save-Session StartupNotify=false Categories=GTK;System;Utility;
Added in 26 minutes 21 seconds:
Now a problem.Save-Session shows up in the Porteus menu's Administration menu
but when selected it opens a terminal window briefly then disappears. Obviously I screwed up a setting, which I assume is tied to the root requirement. Anyone got a solution/recommendation?
![]()
Code: Select all
[Desktop Entry]
Name=Save-Session
Comment=Save changes to a module or file.
Exec=save-session
Icon=porteus-logo.svg
Terminal=false
Type=Application
Name[en_US]=Save-Session
StartupNotify=false
Categories=System;Utility;
Clicking on the Save-Session option? Mine doesn't work from the menu either, even with your change made to the script I posted. So, adding all those modules you posted solved your problem?
In Control Center run Main Menu go to System Tools go to Save Session then run Properties now when it open look and see what shows should look like this.
Your in the wrong message area this is Root Terminal and your should be in Something New area. Beside all had to do fix Save-Session.desktop.beny wrote: ↑22 Feb 2024, 23:40hi jack put the script into the /usr/local/bin and mark executable work on my system the desktop launcher you can place everywhere
[Desktop Entry]
Name=Save-Session
Comment=Save changes to a module or file.
Exec=python /usr/local/bin/changes-saved.py
Icon=document-save-symbolic
Terminal=false
Type=Application
Name[en_US]=Save-Session
StartupNotify=false
Categories=Application;System;Utility;