Author Topic: How to autostart Skype in P7(SOLVED)  (Read 2618 times)

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1232
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
How to autostart Skype in P7(SOLVED)
« on: August 15, 2016, 09:38:05 am »
Hello Peppermint people, I need a refresher course on how to configure skype to auto stat with a slight pause after system start up. I tried to enable autostart in LXSessions configurations but that doesn't appear to do anything. Thanks guys.

Code: [Select]
albert@albert-desktop ~ $ inxi -F
System:    Host: albert-desktop Kernel: 4.4.0-34-generic i686 (32 bit)
           Desktop: N/A Distro: Peppermint Seven
Machine:   Mobo: ASRock model: AM1B-M
           Bios: American Megatrends v: P1.50 date: 04/29/2015
CPU:       Dual core AMD Sempron 2650 APU with Radeon R3 (-MCP-) cache: 2048 KB
           clock speeds: max: 1450 MHz 1: 1450 MHz 2: 1450 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Kabini [Radeon HD 8240 / R3 Series]
           Display Server: X.Org 1.18.3 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1024x768@60.00hz
           GLX Renderer: Gallium 0.4 on AMD KABINI (DRM 2.43.0, LLVM 3.8.0)
           GLX Version: 3.0 Mesa 11.2.0
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller
           driver: snd_hda_intel
           Card-2 Cubeternet driver: USB Audio
           Sound: Advanced Linux Sound Architecture v: k4.4.0-34-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: enp1s0 state: up speed: 100 Mbps duplex: full
           mac: d0:50:99:90:40:7e
Drives:    HDD Total Size: 250.1GB (22.9% used)
           ID-1: /dev/sda model: WDC_WD2500AAKX size: 250.1GB
Partition: ID-1: / size: 48G used: 14G (29%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 3.69GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 18.4C mobo: N/A gpu: 19.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 172 Uptime: 28 min Memory: 509.2/3472.4MB
           Client: Shell (bash) inxi: 2.2.35
« Last Edit: August 17, 2016, 12:13:01 pm by alynur »
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: How to autostart Skype in P7
« Reply #1 on: August 15, 2016, 11:44:43 am »
Go to

menu > Preferences > Default Applications for LXSession > Autostart tab

In the box next to the "Add +" button enter

bash -c sleep 10 ; skype

or

bash -c sleep 10 ; skypeforlinux

(depending on the command to start skype)

then click the "Add +" button
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1232
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: How to autostart Skype in P7
« Reply #2 on: August 16, 2016, 07:29:29 am »
Go to

menu > Preferences > Default Applications for LXSession > Autostart tab

In the box next to the "Add +" button enter

bash -c sleep 10 ; skype

or

bash -c sleep 10 ; skypeforlinux

(depending on the command to start skype)

then click the "Add +" button

Hi PCNetSpec, niether of these commands work. I have skype installed through Software Manager so I imagine the skype for linux should be the correct command but it didn't work so I tried the other. I had this working in P6 but for the life of me, I din't remember howI got it to. Any other ideas?
What was I thinking?

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: How to autostart Skype in P7
« Reply #3 on: August 16, 2016, 08:10:11 am »
Hi alynur, try this command:
Code: [Select]
bash -c "sleep 10 ; skype"You need the quotation marks.  Remember to click on: Add after you've filled in the blank space.  Then close the Default Applications for LXSession.  Skype should now open after a 60 10 second delay  ;).

Edit: 60 seconds is the delay on my machine  ;D.
« Last Edit: August 16, 2016, 08:55:32 am by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: How to autostart Skype in P7
« Reply #4 on: August 16, 2016, 08:32:00 am »
10 second delay ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1232
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: How to autostart Skype in P7
« Reply #5 on: August 16, 2016, 11:25:24 am »
Hi alynur, try this command:
Code: [Select]
bash -c "sleep 10 ; skype"You need the quotation marks.  Remember to click on: Add after you've filled in the blank space.  Then close the Default Applications for LXSession.  Skype should now open after a 60 10 second delay  ;).

Edit: 60 seconds is the delay on my machine  ;D.

Hi AndyInMokum, That didn't work either. I was reading about location of autostart scrips and I tried to enter into /etc/*** and received a message that /etc is a directory and to check address or something like that. Could that be preventing the script from actually being installed somewhere?
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: How to autostart Skype in P7
« Reply #6 on: August 16, 2016, 01:09:54 pm »
Okay, let's start from the beginning .. open a terminal and run:
Code: [Select]
skypedoes that start skype ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1232
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: How to autostart Skype in P7
« Reply #7 on: August 16, 2016, 04:47:22 pm »
Okay, let's start from the beginning .. open a terminal and run:
Code: [Select]
skypedoes that start skype ?

Yes it does, for as long as the terminal is open.
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: How to autostart Skype in P7
« Reply #8 on: August 16, 2016, 05:04:45 pm »
Okay, open a terminal and run:
Code: [Select]
pluma ~/.config/autostart/my-skype-autostart.desktopwhen a BLANK file opens, make it read:-
Code: [Select]
[Desktop Entry]
Type=Application
Name=My_Skype_Autostart
Comment=Autostart Skype at login
Exec=bash -c 'sleep 10 ; skype'
SAVE the file and exit pluma.

Log off/on to test.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1232
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: How to autostart Skype in P7
« Reply #9 on: August 16, 2016, 05:35:31 pm »
Okay, open a terminal and run:
Code: [Select]
pluma ~/.config/autostart/my-skype-autostart.desktopwhen a BLANK file opens, make it read:-
Code: [Select]
[Desktop Entry]
Type=Application
Name=My_Skype_Autostart
Comment=Autostart Skype at login
Exec=bash -c 'sleep 10 ; skype'
SAVE the file and exit pluma.

Log off/on to test.

That did it! Working like a champ, I didn't think it would because after closing pluma the terminal had this:

Code: [Select]
albert@albert-desktop ~ $ pluma ~/.config/autostart/my-skype-autostart.desktop

** (pluma:4912): WARNING **: Could not write pluma state file: Failed to create file '/home/albert/.config/pluma/pluma.ini.XOO6LY': Permission denied

Thank you PCNetSpec, you are appreciated tremendously.  :)


What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: How to autostart Skype in P7
« Reply #10 on: August 16, 2016, 05:49:27 pm »
That warning isn't really important, but if you don't wish to see it again, run:
Code: [Select]
sudo chown -R albert:albert /home/albert/.config/pluma
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1232
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: How to autostart Skype in P7
« Reply #11 on: August 17, 2016, 10:56:04 am »
That warning isn't really important, but if you don't wish to see it again, run:
Code: [Select]
sudo chown -R albert:albert /home/albert/.config/pluma

Thanks
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: How to autostart Skype in P7
« Reply #12 on: August 17, 2016, 12:06:34 pm »
Do you now consider this topic (SOLVED) ? .. if so, can you remember to mark it so please ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec