Search found 38 matches

by DarknessCrYsiS
Wed May 22, 2019 6:40 am
Forum: Cinnamon
Topic: Don't suspend on lid closed Linux Mint 19.1 Tessa
Replies: 3
Views: 496

Re: Don't suspend on lid closed Linux Mint 19.1 Tessa

I've installed Linux Mint 17.3 and now it says that it's working on software rendering mode. I guess there's no problem in running it like that?

Please let me know if the lid close action works on a future version, I won't be upgrading until then.
by DarknessCrYsiS
Wed May 08, 2019 5:04 am
Forum: Cinnamon
Topic: Don't suspend on lid closed Linux Mint 19.1 Tessa
Replies: 3
Views: 496

Re: Don't suspend on lid closed Linux Mint 19.1 Tessa

A possible workaround that works fine but looks awful is mirrored monitors. Then, after using the previous steps, you can have the not suspend on lid close working and use an external monitor. A pity 17.3 no longer receives security updates, I'm going to have to go back if I can't get the proper mon...
by DarknessCrYsiS
Tue May 07, 2019 4:54 pm
Forum: Cinnamon
Topic: Don't suspend on lid closed Linux Mint 19.1 Tessa
Replies: 3
Views: 496

Don't suspend on lid closed Linux Mint 19.1 Tessa

I want to be able to close the lid of the laptop without the computer suspending. I could do it in Linux Mint 17.3, when I do the steps suggested here I cannot close the computer and connect to another monitor and see the same as I was seen in the screen of the laptop. What would you recommend? I co...
by DarknessCrYsiS
Thu Nov 22, 2018 12:27 pm
Forum: Cinnamon
Topic: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
Replies: 14
Views: 5252

Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19

When I made the changes recommended here the screen doesn't lock but when connecting the computer to another screen and closing it I don't see the same as in the computer. Before updating to LM 19 I could close the lid and let the computer working and when I connected it to another screen and closed...
by DarknessCrYsiS
Thu May 04, 2017 4:38 am
Forum: Software & Applications
Topic: Can't sync system connections
Replies: 0
Views: 120

Can't sync system connections

I want to have /etc/NetworkManager/system-connections in the cloud. I copied the directory to Dropbox and created a symlink. The problem is if the folder is owned by root Dropbox won't sync it. If the folder is owned by the user the system doesn't remember the connections. Is there a way to do this?
by DarknessCrYsiS
Sun Apr 30, 2017 3:29 am
Forum: Scripts & Bash
Topic: Post installation script Linux Mint
Replies: 11
Views: 3269

Re: Post installation script Linux Mint

What would be better? To make the script stop if something goes wrong, or to continue installing, saving the errors to a log and showing it at the end? Which would be the proper way to do the second? Should I add command1 2>&1 | tee ~/log.txt all over the script?
I think this would be a good way.
by DarknessCrYsiS
Fri Apr 28, 2017 11:53 am
Forum: Scripts & Bash
Topic: Post installation script Linux Mint
Replies: 11
Views: 3269

Re: Post installation script Linux Mint

Vim Plug's youcompleteme hook doesn't install in a 32 bit machine. How can I have the script follow this steps for Linux Mint 18 (Ubuntu 16.04)? The thing is I would need a check for bits of the machine in the plugins file but I don't know how to do that, and I would also need to add the proper PPAs...
by DarknessCrYsiS
Fri Apr 28, 2017 9:17 am
Forum: Compiz, Conky, Docks, & Widgets
Topic: Script to setup haxOS Conky in Linux Mint 18.1 Cinnamon
Replies: 12
Views: 3476

Re: Script to setup haxOS Conky in Linux Mint 18.1 Cinnamon

Actually I had already changed the conky files to the lua syntax. #!/bin/bash sudo apt-get -y install task mpd sudo pip install speedtest-cli sudo ln -s /usr/bin/"$(apt-search-cache)" sudo apt-get-latest -y install "lua*" sudo ln -s /usr/bin/"$(apt-cache-search-latest \"lua*\")" /usr/bin/lua killall...
by DarknessCrYsiS
Sat Apr 22, 2017 4:17 pm
Forum: Scripts & Bash
Topic: Parsing command line argument to skip user confirmations
Replies: 3
Views: 713

Re: Parsing command line argument to skip user confirmations

I was calling it like if assertConfirmation "Install this?" "${autoConfirm:?}"; then install fi but know I've changed the function to assertConfirmation () { local promptMsg=$1 if (( autoConfirm )); then return else clear read -n 1 -p "$promptMsg (yes/No) " printf '\n' # Output a newline, because no...
by DarknessCrYsiS
Tue Apr 18, 2017 4:04 pm
Forum: Scripts & Bash
Topic: Parsing command line argument to skip user confirmations
Replies: 3
Views: 713

Parsing command line argument to skip user confirmations

I'm trying to pass a few arguments like ./install.sh -yq but it doesn't work and I don't know where the problem is. It asks for confirmation even when I pass the argument. This is part of a post-install-script that I'm writing for Linux Minx. # http://stackoverflow.com/questions/43364510/prompt-to-c...
by DarknessCrYsiS
Tue Apr 11, 2017 2:38 pm
Forum: Installation & Boot
Topic: Mint 18.1 installer keeps crashing when connected to internet
Replies: 16
Views: 3596

Re: Mint 18.1 installer keeps crashing when connected to internet

I've had this same problem and I'm doing a post-installation script to solve this.
How do you complete the installation from terminal after installing without internet conection?
by DarknessCrYsiS
Sat Apr 08, 2017 7:09 am
Forum: Compiz, Conky, Docks, & Widgets
Topic: Script to setup haxOS Conky in Linux Mint 18.1 Cinnamon
Replies: 12
Views: 3476

Script to setup haxOS Conky in Linux Mint 18.1 Cinnamon

I wan't to setup haxOS Conky to work correctly on Linux Mint 18.1 Cinnamon. I want to have a installation script that copies all the files from my github repository to ~/.config/conky . In the installation script it should ask for the email and password and replace them in the gmail.py when copied, ...
by DarknessCrYsiS
Sat Apr 08, 2017 4:34 am
Forum: Scripts & Bash
Topic: Automatically open files in workspaces
Replies: 8
Views: 997

Re: [Solved] Automatically open files in workspaces

This made it xterm -e "bash -c \"read -n1 -sp 'Press enter to continue...'\"" gxmessage -buttons "Ok" "Press to continue..." if command -v "" > /dev/null 2>&1; then zenity --question --text "Open workspaces" else sudo apt-get install -y zenity zenity --question --text "Open workspaces" fi if [[ $? ...
by DarknessCrYsiS
Thu Apr 06, 2017 4:42 pm
Forum: Scripts & Bash
Topic: Automatically open files in workspaces
Replies: 8
Views: 997

Re: Automatically open files in workspaces

I added the line gnome-terminal -e "/bin/bash -c 'read -n 1 -p \"Press key to continue \"'" but the script doesn't wait till I press a key. I thought it would stop until I closed the new terminal and wouldn't continue if I pressed the key because I'm not moving the terminal to background. It may be ...
by DarknessCrYsiS
Wed Apr 05, 2017 3:14 pm
Forum: Scripts & Bash
Topic: Automatically open files in workspaces
Replies: 8
Views: 997

Re: Automatically open files in workspaces

I want to prompt for confirmation to continue the script in the terminal opened in the first workspace. Related: http://askubuntu.com/questions/473264/shell-script-wont-run-cd-command #!/bin/bash wmctrl -n 8 # si hay menos de 8 entornos de trabajo crea los que faltan #set-desktop-name 0 "Programació...
by DarknessCrYsiS
Tue Apr 04, 2017 11:47 am
Forum: Scripts & Bash
Topic: Automatically open files in workspaces
Replies: 8
Views: 997

Re: Automatically open files in workspaces

Thanks, it's working now when I call it from the command line but it doesn't work properly at startup. It opens more browser windows than it should and some browser windows are in incorrect workspaces. I have put a delay of 10 in the startup application but still has the same problem. Here is the fi...
by DarknessCrYsiS
Mon Apr 03, 2017 3:14 am
Forum: Scripts & Bash
Topic: Automatically open files in workspaces
Replies: 8
Views: 997

Automatically open files in workspaces

I'm doing a post-installation script for Linux Mint that creates this script which currently opens firefox, 2 document viewers (I don't know why) and an ebook viewer. Everything in the first workspace when the ebook viewer should open in the 7th. I've included it in the startup applications with 0 d...
by DarknessCrYsiS
Sun Apr 02, 2017 12:23 pm
Forum: Software & Applications
Topic: Open tmux and send a command from script.
Replies: 0
Views: 132

Open tmux and send a command from script.

Similar to what's asked here I want to send the command <ctrl-r> after opening tmux from a script.
by DarknessCrYsiS
Tue Mar 14, 2017 5:50 pm
Forum: Software & Applications
Topic: Progressively dim screen and warm f.lux color
Replies: 4
Views: 480

Re: Progressively dim screen and warm f.lux color

I want to know how to make that happen. My linux mint is 18.1. I've seen there is a software called redshift that does this transition but I can't find the documentation to make the transition happen when I want. Any ideas?
by DarknessCrYsiS
Mon Mar 13, 2017 4:30 pm
Forum: Software & Applications
Topic: Progressively dim screen and warm f.lux color
Replies: 4
Views: 480

Progressively dim screen and warm f.lux color

How could the light from the screen get warmer using f.lux and dim automatically and progressively every night from 9 to 10pm and kill itself at 6am?

Go to advanced search