Good to see Jack.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:~$
Something New
- Ed_P
- Contributor
- Posts: 8383
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Something New
Ed
-
- Contributor
- Posts: 1857
- Joined: 09 Aug 2013, 14:25
- Distribution: Porteus and Nemesis
- Location: USA
Something New
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:33Good to see Jack.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:~$
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
- Ed_P
- Contributor
- Posts: 8383
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Something New
Ok 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.
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?
With ncmp's save-session python script saved in your /home/guest/ folder as save-session create this file Save-Session.desktop:
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;
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?
Last edited by Ed_P on 22 Feb 2024, 20:46, edited 1 time in total.
Ed
-
- Contributor
- Posts: 1857
- Joined: 09 Aug 2013, 14:25
- Distribution: Porteus and Nemesis
- Location: USA
Something New
Not sure how to do this Make it classified as Executable.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
-
- Contributor
- Posts: 1857
- Joined: 09 Aug 2013, 14:25
- Distribution: Porteus and Nemesis
- Location: USA
Something New
I have save-session working in the menu now but the Terminal is bigger then Porteus Session Saver but it dose work.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
-
- Contributor
- Posts: 1857
- Joined: 09 Aug 2013, 14:25
- Distribution: Porteus and Nemesis
- Location: USA
Something New
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;
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
- Ed_P
- Contributor
- Posts: 8383
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Root Terminal
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?
Ed
-
- Contributor
- Posts: 1857
- Joined: 09 Aug 2013, 14:25
- Distribution: Porteus and Nemesis
- Location: USA
Root Terminal
Wrong area ED All needs move.
Type: Application
Name: Save Session
Command: /usr/share/applications/Save-Session.desktop Browses to find it.
Comment: Save changes to a module or file.
This for Mate
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.
Type: Application
Name: Save Session
Command: /usr/share/applications/Save-Session.desktop Browses to find it.
Comment: Save changes to a module or file.
This for Mate
Last edited by Jack on 23 Feb 2024, 00:12, edited 3 times in total.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
Root Terminal
hi 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;
[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;
-
- Contributor
- Posts: 1857
- Joined: 09 Aug 2013, 14:25
- Distribution: Porteus and Nemesis
- Location: USA
Root Terminal
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;
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.