=== gonyere_ is now known as gonyere === Rexodus_ is now known as Rexodus [13:47] hi. how to execute a shell-script via desktop-startet, explicitly via bash (not e.g. zsh)? e.g. xfce4-terminal -e 'bash /home/user/myscript.sh' ?? [13:50] nils17: I thought that was what shebangs were for [13:50] ok.. if the shebang is enough to make shure that it is executed by bash.. then ok.. [13:51] then the question is only: how to create a desktop-starter that starts a bashscript via xfce4-terminal but with root-rights? gksudo or sudo in fron of the path-to-script? you understand? [13:52] 1. gksudo xfce4-terminal -e '/home/user/myscript.sh" or [13:52] 2. xfce4-terminal -e 'sudo /home/user/myscript.sh' ? [13:52] Like, you want an icon on the desktop or in a panel? [13:53] it for a starter I created under /usr/share/applications/ "Desktop-starter" was just an example [13:53] I'm confused. What do you want? An icon that's clickable that starts your script? [13:54] wait I tell you :-) [13:56] please have a look here: http://pastebin.com/vrkAkqu6 [13:56] I created a starter... but the script runs with user's rights. But it should be run with root's rights (sudo/gksudo) [13:56] you understand? [13:57] this starter appears in my menu.. (this part works without any problems) [13:57] its just the rights the script runs with [13:59] since xfce4-terminal is a gui app, then perhaps adding gksudo to the beginning of the Exec command will work? [14:01] ok.. I now try the easiest way... could you tell me how to create a script that shows me who I am? e.g. xfce4-terminal -e 'whoami' (the terminal should not close) [14:02] You could use the "read" command at the end of the shell script to pause and wait for text to be entered [14:03] yes.. alternativly I tried the following: xfce4-terminal -e "whoami && sleep 10" [14:03] but NO xfce4-terminal opens [14:04] do I have to use -e "/bin/bash whoami" ?? [14:06] You can test this by just opening a terminal and typing xfce4-terminal whatever inside the terminal and seeing what happens ;) [14:07] I get error message " gtk-warning unable to locate theme engine in module_path: "murrine" [14:08] The simplest way I can think of is to just save the whoami thing to a separate file and just make xfce4-terminal run that script [14:08] or even in the script do whoami > ~/whoami-out.txt or something [14:08] then you dont even have to deal with waiting to read output [14:09] although maybe that's a bad idea if you don't know who's home folder that may end up in [14:10] It'll either be in yours in /home/bob or /root [14:15] nils17: this might help you http://askubuntu.com/questions/155791/how-do-i-sudo-a-command-in-a-script-without-being-asked-for-a-password [14:43] I have autologin turned on but I still get asked for keyring password [14:43] any way to get rid of that? [15:25] Who's the happy dude around here? [15:26] JohnnyComeL8ly, this is xubuntu support. check your channel. stay on topic. [15:27] Ok. [15:40] I knew which channel I was in, but had forgotten that this is strictly for support.... [16:58] Hi. I have a RAM of 2 GB and 4 GB of my HDD as swap. I want to ask whether I need to decrease my swappiness value . if yes, then to how much? thanks :) [18:22] This topic does not yet exist. :-( http://docs.xfce.org/xfce/thunar/4.10/bulk-renamer/date-time [18:26] http://docs.xfce.org/xfce/thunar/bulk-renamer/date-time [18:34] thanks [18:45] RangerK: welcome :) [21:20] attempting to do a fresh install using 12.04 (old hardware) i get a command line screen that starts with "PID: 6049, comm: modprobe Tainted" and then pretty much everything else is meaningless to me. this happens right at the start of the install. [21:20] I get to selelct language, click continue, click continue and then this. any one have any ideas herE? [21:26] http://askubuntu.com/questions/309782/ubuntu-12-04-fails-modprobe-tainted [21:26] possibly helpful [21:37] Hi, new user fleeing Windows. Having trouble trying to connect to my system. We have a WD USB Drive plugged into a BT Hub 5. I want to connect to it over wi-fi but can't make it work. Any help appreciated. [21:38] i two have a broadcom wireless adapter [21:39] too* [21:39] thanks flocculant [21:39] WerkPlaceDT: lucky guess then :) [21:41] flocculant: my bios allows me to disable the wifi card so i'm see if that works. no time for disessemby right now [21:44] and that fixed that [21:44] thanks again [21:47] Broadcom makes such crap [22:34] Hey I'm trying to install xubuntu onto my computer, but every time I try I get "unrecognized maxwell chipset" [22:34] I'm running a 980 Ti and a pentium g3258 [22:37] xubuntu04w, the free nouveau driver used by default is not supporting nvidia maxwell chipsets [22:38] xubuntu04w, but you can start the live system with the bootoption 'nomodeset' and after system installation add the according nvidia driver [22:39] last comment: https://askubuntu.com/questions/636969/no-support-for-maxwell-gpus-in-nouveau [23:06] Hi I am having problems with my wireless internet adapter constantly disconnecting/connecting. And it making my computer completely freeze. What can I do to figure out the problem and fix this? [23:30] hi [23:30] hello [23:31] i'm new with Xubuntu and wanna to know how to install Emacs &c++ compiler [23:32] AIA, sudo apt-get install emacs build-essential [23:32] AIA, that is, from the command line [23:33] this command to install emacs only or c++ compiler also [23:33] both [23:34] there r any other compiler [23:35] installed [23:35] no, a regular user doesn't need a compiler [23:35] thinx [23:37] is someone able to help me? [23:37] xubuntu11w, what is your wireless adapter? [23:38] Bus 001 Device 026: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter [23:41] im pretty sure this is it http://www.amazon.com/Etekcity-Wireless-Network-Adapter-Antenna/dp/B006JWMOOI === bazhang_ is now known as bazhang [23:51] was that the information you needed knome? [23:51] xubuntu11w, that would help debugging the issue for sure, but i have little experience with ralink adapters [23:52] you can try searching with ubuntu and rt3072 for potential solutions [23:55] okay. the wireless adapter is not the problem. It has to be something else. [23:56] actually, the wireless adapters are often problematic [23:56] like a driver issue. or bug in linux. It used to never give me problems. now it does. [23:57] if manufacturers do not offer drivers or hardware specifications for everybody (including linux), things are unlikely to work ootb [23:59] sometimes Xubuntu, will say a internal problem has occurred. something with the network manager i see in the report. I have sent report each time.